projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0104dc1
)
Check for EOF from fputs
author
Paul Park
<pjpark@mit.edu>
Tue, 27 Jun 1995 20:36:21 +0000
(20:36 +0000)
committer
Paul Park
<pjpark@mit.edu>
Tue, 27 Jun 1995 20:36:21 +0000
(20:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6169
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kadmin.v4/server/acl_files.c
patch
|
blob
|
history
diff --git
a/src/kadmin.v4/server/acl_files.c
b/src/kadmin.v4/server/acl_files.c
index 318c80c85d411746658ce212f75a1cc8bfa05f4b..975e79f2c4d40f8d9a5b577ddbbdc80434239ac5 100644
(file)
--- a/
src/kadmin.v4/server/acl_files.c
+++ b/
src/kadmin.v4/server/acl_files.c
@@
-494,7
+494,7
@@
char *principal;
/* It isn't there yet, copy the file and put it in */
for(i = 0; i < acl_cache[idx].acl->size; i++) {
if(acl_cache[idx].acl->tbl[i] != NULL) {
- if(fputs(acl_cache[idx].acl->tbl[i], new) ==
NULL
+ if(fputs(acl_cache[idx].acl->tbl[i], new) ==
EOF
|| putc('\n', new) != '\n') {
acl_abort(acl, new);
return(-1);