>> * RESULTS >> The upshot from the discussion on the Perl OS X mail list was: >> 1. %Z is broken in Perl's POSIX strftime() function. >> 2. %C works differently than documented in the OS X strftime man page. >> Rather than printing the century number (20), it prints the ctime >> 3. %V and %u don't appear to be supported on OS X, despite what the >> strftime man page says. >> > >Testing on a RedHat Linux machine, I received the same error. After >replacing "void main()" with "int main()" and adding "return 0;" as the last >statement in the function body, everything compiled and ran fine. Maybe the >same will work for you.
Confirmed. This is my output (which confirms the bug is fixed): a: Tue A: Tuesday b: Aug B: August c: Tue Aug 13 22:40:56 2002 C: 20 d: 13 D: 08/13/02 e: 13 G: 2002 h: Aug H: 22 I: 10 j: 225 k: 22 l: 10 m: 08 M: 40 n: p: PM r: 10:40:56 PM R: 22:40 S: 56 t: (tab) T: 22:40:56 u: 2 U: 32 V: 33 w: 2 W: 32 x: 08/13/02 X: 22:40:56 y: 02 Y: 2002 Z: EDT now I've said my a-b-c's... -- Morbus Iff ( were you a community theatre satan? ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ Tech: http://www.oreillynet.com/pub/au/779 - articles and weblog icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
