From 1ccebd117d9b68b477f5cfe0f8df051e6cfa2161 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 10 Mar 2005 09:52:05 +0000 Subject: (secmem_realloc): Take control information into account when checking whether a resize is needed. --- util/miscutil.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util/miscutil.c') diff --git a/util/miscutil.c b/util/miscutil.c index 82fe6a935..4c2c0edfc 100644 --- a/util/miscutil.c +++ b/util/miscutil.c @@ -167,7 +167,13 @@ asctimestamp( u32 stamp ) * These locales from glibc don't put the " %Z": * fi_FI hr_HR ja_JP lt_LT lv_LV POSIX ru_RU ru_SU sv_FI sv_SE zh_CN */ - strftime( buffer, DIM(buffer)-1, "%c %Z", tp ); + strftime( buffer, DIM(buffer)-1, +#ifdef HAVE_W32_SYSTEM + "%c" +#else + "%c %Z" +#endif + , tp ); #endif buffer[DIM(buffer)-1] = 0; #else -- cgit