From: Ken Raeburn Date: Tue, 22 Jun 2004 18:18:04 +0000 (+0000) Subject: * cc_file.c (my_fopen): Function deleted. X-Git-Tag: krb5-1.4-beta1~285 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=813d3370c6967217c1b0b633a985c6d2d9ca33eb;p=krb5.git * cc_file.c (my_fopen): Function deleted. (krb5_fcc_open_file): Use fopen, not my_fopen. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16507 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index d07588021..f048235c6 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,6 +1,7 @@ 2004-06-22 Ken Raeburn - * 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 diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c index fcc0557d5..ae3062101 100644 --- a/src/lib/krb5/ccache/cc_file.c +++ b/src/lib/krb5/ccache/cc_file.c @@ -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 */