diff options
author | Werner Koch <[email protected]> | 2005-03-10 09:52:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2005-03-10 09:52:05 +0000 |
commit | 1ccebd117d9b68b477f5cfe0f8df051e6cfa2161 (patch) | |
tree | 378ab2234ff52da59266fb468842f8f1fc42bce8 /util/miscutil.c | |
parent | * primegen.c (is_prime): Free A2. Noted by [email protected]. (diff) | |
download | gnupg-1ccebd117d9b68b477f5cfe0f8df051e6cfa2161.tar.gz gnupg-1ccebd117d9b68b477f5cfe0f8df051e6cfa2161.zip |
(secmem_realloc): Take control information into account
when checking whether a resize is needed.
Diffstat (limited to 'util/miscutil.c')
-rw-r--r-- | util/miscutil.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 |