Re-implement MSVCRT *printf

Aneurin Price wine at shadovald.dyndns.org
Sun Oct 24 17:05:51 CDT 2004


Well I've already found two bugs, so here is an improved version.
- Print "(null)" rather than crashing when attempting to print the 
contents of a null pointer.
- Really format %p the Windows way (this is slightly different to the 
glibc way, and MSDN was vague, but now it always has a precision of 8 
characters, and uses 'X' instead of 'x' if '#' is specified.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printf.diff
Type: text/x-patch
Size: 47171 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041024/58bc2349/printf.bin


More information about the wine-patches mailing list