mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
(secmem_realloc): Take control information into account
when checking whether a resize is needed.
This commit is contained in:
parent
c91e30fda4
commit
1ccebd117d
3 changed files with 28 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue