[PATCH v2] Support %m in printf functions

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Jan 6 07:00:00 GMT 2012


On Sun, 2012-01-01 at 11:59 -0600, Yaakov (Cygwin/X) wrote:
> This patch adds support for the "%m" conversion specifier in the printf
> and wprintf functions, a GNU extension:
> 
> http://www.kernel.org/doc/man-pages/online/pages/man3/printf.3.html

Thank you all for the comments.  The attached revised patch and STC
should take them into account.

The remaining issue is that of gating, specifically exactly how to do
so.  For the moment I'm using __CYGWIN__ until some agreement can be
reached.


Yaakov
Cygwin/X

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-printf-m.patch
Type: text/x-patch
Size: 3747 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20120106/e3e1bf30/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printf-m-test.c
Type: text/x-csrc
Size: 212 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20120106/e3e1bf30/attachment-0001.bin>


More information about the Newlib mailing list