summaryrefslogtreecommitdiff
path: root/usr/src/lib/krb5/ss/mk_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/krb5/ss/mk_cmds.c')
-rw-r--r--usr/src/lib/krb5/ss/mk_cmds.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/lib/krb5/ss/mk_cmds.c b/usr/src/lib/krb5/ss/mk_cmds.c
index 8b2a25a010..858ebc4e6c 100644
--- a/usr/src/lib/krb5/ss/mk_cmds.c
+++ b/usr/src/lib/krb5/ss/mk_cmds.c
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
#pragma ident "%Z%%M% %I% %E% SMI"
/*
@@ -55,7 +59,7 @@ int main(argc, argv)
p = strrchr(p, '.');
if (p == (char *)NULL || strcmp(p, ".ct"))
strcat(path, ".ct");
- yyin = fopen(path, "r");
+ yyin = fopen(path, "rF");
if (!yyin) {
perror(path);
exit(1);
@@ -68,7 +72,7 @@ int main(argc, argv)
strcat(c_file, ".c");
*p = '.';
- output_file = fopen(c_file, "w+");
+ output_file = fopen(c_file, "w+F");
if (!output_file) {
perror(c_file);
exit(1);