mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Change %Z to %z in printf
@ 2009-03-07 18:54 Jan Engelhardt
  2009-03-07 22:59 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-03-07 18:54 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: David Miller

Hi,


I found out that %Z is actually a deprecated libc5-ism as printf(3) of 
man-pages 3.17 dated 2008-12-19 tells me.

In ${kernel}/lib/vsprintf.c, I find the following note and wondered
if there might be any objections to going back to 'z'.

        int qualifier;          /* 'h', 'l', or 'L' for integer fields */ 
                                /* 'z' support added 23/7/1999 S.H.    */ 
                                /* 'z' changed to 'Z' --davidm 1/25/99 */ 
                                /* 't' added for ptrdiff_t */ 


Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-07 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-07 18:54 Change %Z to %z in printf Jan Engelhardt
2009-03-07 22:59 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®