mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Correctly handle %p in wprintf (BZ #16890)
This commit is contained in:
@@ -936,7 +936,8 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
||||
/* Make sure the full string "(nil)" is printed. */ \
|
||||
if (prec < 5) \
|
||||
prec = 5; \
|
||||
is_long = 0; /* This is no wide-char string. */ \
|
||||
/* This is a wide string iff compiling wprintf. */ \
|
||||
is_long = sizeof (CHAR_T) > 1; \
|
||||
goto LABEL (print_string); \
|
||||
} \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user