mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
3515. [port] '%T' is not portable in strftime(). [RT #32763]
This commit is contained in:
parent
40b42978b9
commit
550c92405f
2 changed files with 3 additions and 1 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
3515. [port] '%T' is not portable in strftime(). [RT #32763]
|
||||
|
||||
3514. [bug] The ranges for valid key sizes in ddns-confgen and
|
||||
rndc-confgen were too constrained. Keys up to 512
|
||||
bits are now allowed for most algorithms, and up
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
|
|||
time(&tnow);
|
||||
tmnow = *localtime(&tnow);
|
||||
if (strftime(time_str, sizeof(time_str),
|
||||
"%a %b %d %T %Z %Y", &tmnow) > 0U)
|
||||
"%a %b %d %H:%M:%S %Z %Y", &tmnow) > 0U)
|
||||
printf(";; WHEN: %s\n", time_str);
|
||||
if (query->lookup->doing_xfr) {
|
||||
printf(";; XFR size: %u records (messages %u, "
|
||||
|
|
|
|||
Loading…
Reference in a new issue