* cc_file.c (my_fopen): Function deleted.
authorKen Raeburn <raeburn@mit.edu>
Tue, 22 Jun 2004 18:18:04 +0000 (18:18 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 22 Jun 2004 18:18:04 +0000 (18:18 +0000)
(krb5_fcc_open_file): Use fopen, not my_fopen.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16507 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/cc_file.c

index d07588021f4a80a0cc982367cadbcc1ee5ede5e0..f048235c6bab031a7505c4a7b858a86b8b938a0d 100644 (file)
@@ -1,6 +1,7 @@
 2004-06-22  Ken Raeburn  <raeburn@mit.edu>
 
-       * cc_file.c (my_fopen): Don't test macintosh.
+       * cc_file.c (my_fopen): Function deleted.
+       (krb5_fcc_open_file): Use fopen, not my_fopen.
 
 2004-06-21  Jeffrey Altman <jaltman@mit.edu>
 
index fcc0557d5cf4cd66d9f9d447b40f282539470351..ae3062101a0cf65fd268384e4538642ffcea3225 100644 (file)
@@ -1086,13 +1086,6 @@ krb5_fcc_store_authdatum (krb5_context context, krb5_ccache id, krb5_authdata *a
 }
 #undef CHECK
 
-#ifdef USE_STDIO
-static FILE *my_fopen(char *path, char *mode)
-{
-       return fopen(path, mode);
-}
-#endif
-
 static krb5_error_code
 krb5_fcc_close_file (krb5_context context, krb5_ccache id)
 {
@@ -1207,7 +1200,7 @@ krb5_fcc_open_file (krb5_context context, krb5_ccache id, int mode)
 #ifndef USE_STDIO
     f = THREEPARAMOPEN (data->filename, open_flag | O_BINARY, 0600);
 #else
-    f = my_fopen (data->filename, open_flag);
+    f = fopen (data->filename, open_flag);
     if (f)
        setvbuf(f, data->stdio_buffer, _IOFBF, sizeof (data->stdio_buffer));
 #endif /* USE_STDIO */