Home
last modified time | relevance | path

Searched refs:acl_buf (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/lib/krb5/kadm5/srv/
H A Dserver_acl.c142 static char acl_buf[BUFSIZ]; local
148 for (i=0; ((i < sizeof acl_buf) && !feof(fp)); i++ ) {
149 acl_buf[i] = fgetc(fp);
150 if (acl_buf[i] == (char)EOF) {
151 if (i > 0 && acl_buf[i-1] == '\\')
155 else if (acl_buf[i] == '\n') {
156 if (i == 0 || acl_buf[i-1] != '\\')
165 if (i == sizeof acl_buf && (i--, !feof(fp))) {
166 int c1 = acl_buf[i], c2;
178 acl_buf[i] = '\0';
[all …]