Time oddity
I just read the presentation by Klein, D. V.; “Flying Linux” Keynote speech at the 2004 Copenhagen LinuxForum, and invited talk at the 2004 USENIX LISA Conference, Atlanta GA. And found there the following amusement:
$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
So I googled for an explanation and came up with this and also this. I must say I find the second version more entertaining:
The guy that originally wrote the “cal” command on some old Version 7 machine had an off-by-one error in his code. This showed up as some erroneous output when a malloc’d variable overwrote 12 extra bytes with zeroes, thus leading to the strange calendar output seen above.
About this entry
You’re currently reading “Time oddity,” an entry on Reality tunnels
- Published:
- 27.11.04 / 1pm
- Category:
- programming
No comments
Jump to comment form | comments rss [?] | trackback uri [?]