From 56e4b2a9d7e357c14f236b01300fb058f5aaa711 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 20 Feb 1999 01:50:58 +0000 Subject: [PATCH] * ccdefname.c (get_from_os): Add missing close-paren; also replace #elif just in case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11200 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/ccdefname.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 2f0490267..443318761 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 19 20:49:18 1999 Tom Yu + + * ccdefname.c (get_from_os): Add missing close-paren; also replace + #elif just in case. + Fri Feb 5 01:05:43 1999 Theodore Y. Ts'o * ccdefname.c (get_from_os): On the Windows platform, diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index 64d7a4697..8abfdf681 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -105,14 +105,15 @@ static krb5_error_code get_from_os(char *name_buf, int name_size) return 0; } -#elif !(defined(_MSDOS) || defined(_WIN32) +#else +#if !(defined(_MSDOS) || defined(_WIN32)) static krb5_error_code get_from_os(char *name_buf, int name_size) { sprintf(name_buf, "FILE:/tmp/krb5cc_%d", getuid()); return 0; } #endif - +#endif KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_cc_set_default_name(context, name) -- 2.26.2