On 2009/05/23 21:35, Stuart Henderson wrote: > On 2009/05/23 21:25, olli hauer wrote: > > Funny typo in ctime.3 > > (but I belive OpenBSD will exist in the Year 81986) > > That's intentional, it talks about years longer than four characters. > i.e. 10000 and on.
..but on reflection that's a bit of a strange thing to talk about when the argument is a time_t (currently int).. > > > > > > > Index: lib/libc/time/ctime.3 > > =================================================================== > > RCS file: /cvs/src/lib/libc/time/ctime.3,v > > retrieving revision 1.36 > > diff -u -r1.36 ctime.3 > > --- lib/libc/time/ctime.3 23 Oct 2008 20:33:06 -0000 1.36 > > +++ lib/libc/time/ctime.3 23 May 2009 19:18:28 -0000 > > @@ -64,7 +64,7 @@ > > Years requiring fewer than four characters are padded with leading > > zeroes. > > For years longer than four characters, the string is of the form > > .Pp > > -.Dl Thu Nov 24 18:22:48\ \ \ \ \ 81986\en > > +.Dl Thu Nov 24 18:22:48\ \ \ \ \ 1986\en > > .Pp > > with five spaces before the year. > > These unusual formats are designed to make it less likely that older
