ksebasti found several issues with this widget: printf ("%n%4d", 0) prints 0x04 0x00 0x00 0x00 0x00 printf ("%n%n%n") prints junk printf ("%n") prints junk If we keep %n around at all, it needs to compose sensibly. We could make it mean "total record length", so that the previous three cases would print printf ("%n%4d", 0) would print 0x05 0x00 0x00 0x00 0x00 printf ("%n%n%n") would print 0x03 0x03 0x03 printf ("%n") would print 0x01
I'm not too sure if %n is useful enough to be retained..
Waiting for feedback on whether %n directive should be continued with...
If there is no dissent, let's get rid of it.
removed as of commit 89b011d52e247d9a3933b5d37af72de4d44212bd
Table-1 in langreg.pdf needs to be corrected to indicate the absence of %n printf specifier.