diff options
author | Keith Marshall <keithmarshall@@users.sf.net> | 2009-09-30 00:43:50 +0400 |
---|---|---|
committer | Keith Marshall <keithmarshall@@users.sf.net> | 2009-09-30 00:43:50 +0400 |
commit | e97ad66a846702f4fb66a2ea8a5191dc97b3e9dc (patch) | |
tree | 5037f4e43f807e66705583d076c00d89222cda44 /winsup/mingw/ChangeLog | |
parent | 50e4e69c42d6b267997b62a261e1cf7d5b342d8c (diff) |
Make MinGW printf() "%p" format compatible with MSVCRT scanf().
Diffstat (limited to 'winsup/mingw/ChangeLog')
-rw-r--r-- | winsup/mingw/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 27c4089da..70c644fe4 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,16 @@ +2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net> + + Make MinGW printf() "%p" format compatible with MSVCRT scanf(). + (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>) + + * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply... + (PFORMAT_HASHED): ...this formatting attribute; honour only user + specified format qualifiers, except in special case... + [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply... + (PFORMAT_ZEROFILL): ...this default formatting attribute... + (stream.precision): ...filled to at least 2 * sizeof( uintptr_t ) + hexadecimal digits. + 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net> Avoid multiple link time definitions of _printf() for C++; |