mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 18:50:54 -04:00
4500. [bug] Support modifier I64 in isc__print_printf. [RT #43526]
(cherry picked from commit e200da5044)
This commit is contained in:
parent
669e108d67
commit
a0e34c90ea
2 changed files with 12 additions and 0 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
4500. [bug] Support modifier I64 in isc__print_printf. [RT #43526]
|
||||
|
||||
4499. [port] MacOSX: silence deprecated function warning
|
||||
by using arc4random_stir() when available
|
||||
instead of arc4random_addrandom(). [RT #43503]
|
||||
|
|
|
|||
|
|
@ -283,6 +283,16 @@ isc__print_printf(void (*emit)(char, void *), void *arg,
|
|||
z = 1;
|
||||
format++;
|
||||
goto doint;
|
||||
#ifdef WIN32
|
||||
case 'I':
|
||||
/* Windows has I64 as a modifier for a quad. */
|
||||
if (format[1] == '6' && format[2] == '4') {
|
||||
q = 1;
|
||||
format += 3;
|
||||
goto doint;
|
||||
}
|
||||
continue;
|
||||
#endif
|
||||
case 'n':
|
||||
case 'i':
|
||||
case 'd':
|
||||
|
|
|
|||
Loading…
Reference in a new issue