3 Apr 2000 steintr   » (Journeyer)

I should have posted this yesterday, but I didn't... So imagine it was dated 02 Apr 2000.

Days with less than 24 hours really suck. I spent the better part of the afternoon fighting a bug in gnomecal which caused a crash (SIGFPE) on startup --- fussy computer, didn't like dividing by zero. :) It seems there is a special case which prevents the divide by zero 364 days of the year, but on the day when DST starts (and the assumption # of hours/day == 24 is not applicable), it doesn't trigger leading to the crash.

The tricky part was figuring out a fix: I am pretty sure the entire daylight savings time logic which was patched in a year or so ago is broken, but I need to do some more checking/testing to prove it...

On the other hand, this did show that gnomecal has users: I have now received in excess of fifteen different reports of this bug, which means that at least that many people tried to start gnomecal yesterday. :)

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!