replacing "%+" with "%c %Z"

Josef El-Rayes josef at FreeBSD.org
Mon Dec 27 13:33:58 PST 2004


hi!

i was playing around with making usr.bin/ WARNS=6 clean
and noticed that using "%+" in the format string of 
strftime makes gcc unhappy, so i tried to make 
similiar behaviour using existing format chars and 
when i compare "%+" with "%c %Z" its almost the same: 

Mon Dec 27 12:52:34 CET 2004 (%+)
Mon Dec 27 12:52:34 2004 CET (%c %Z)
so i was wondering if i should note this in the manpage 
and run over the tree to replace all existing '%+' with
"%c %Z", any idea?

-josef

for example: http://people.freebsd.org/~josef/stuff/at-clean.diff
-- 
Josef El-Rayes                   (__)
Email:	  josef at daemon.li     \\\'',) 
Web:	  http://daemon.li/     \/  \ ^
FreeBSD   Security Team         .\._/_)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-standards/attachments/20041227/4b26cf83/attachment.bin


More information about the freebsd-standards mailing list