summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/ccache/stdio/ChangeLog5
-rw-r--r--src/lib/krb5/ccache/stdio/scc_maybe.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog
new file mode 100644
index 000000000..22070133e
--- /dev/null
+++ b/src/lib/krb5/ccache/stdio/ChangeLog
@@ -0,0 +1,5 @@
+Tue Aug 2 04:07:17 1994 Tom Yu (tlyu@dragons-lair)
+
+ * scc_maybe.c (krb5_scc_open_file): changed an #ifdef from
+ ANSI_STDIO to HAS_SETVBUF
+
diff --git a/src/lib/krb5/ccache/stdio/scc_maybe.c b/src/lib/krb5/ccache/stdio/scc_maybe.c
index ea9ff076f..3e5d7f4c7 100644
--- a/src/lib/krb5/ccache/stdio/scc_maybe.c
+++ b/src/lib/krb5/ccache/stdio/scc_maybe.c
@@ -131,7 +131,7 @@ krb5_scc_open_file (id, mode)
f = fopen (data->filename, open_flag);
if (!f)
return krb5_scc_interpret (errno);
-#ifdef ANSI_STDIO
+#ifdef HAS_SETVBUF
setvbuf(f, data->stdio_buffer, _IOFBF, sizeof (data->stdio_buffer));
#else
setbuf (f, data->stdio_buffer);