2009-11-26 – FreeBSD unifdef(1) and factor(6)

Earlier this week I got a bug report for unifdef from Jonathan Nieder, who now maintains the Debian package. This prompted me to do some work on it, which it sorely needed - I hadn't touched it since March last year, and I had a bunch of unincorporated patches from Anders Kaseor, and I haven't backported the fix for an embarrassing bug from FreeBSD-8 to FreeBSD-7.

I've dealt with all but the last of these, and the latest version unifdef-1.188 is available from http://dotat.at/prog/unifdef/. I have also committed it to FreeBSD-9-CURRENT. When the code freeze for FreeBSD-8-STABLE is lifted (FreeBSD-8.0 should be released RSN!) I'll backport unifdef to the 8-STABLE and 7-STABLE branches.

This evening I also did a bit of work on FreeBSD's version of factor. I noticed a while back that it has a performance bug: it's very slow to factorize some numbers, for example my phone number. I got its bignum factoring code from NetBSD back in 2002, so I went back there to see if they knew anything about this bug. It turns out that jsm28 fixed the bug in 2004. Five and a half years later I've finally committed the fix to FreeBSD...

⇐ 2009-11-07 ⇐ More spam bot signatures ⇐ ⇒ iCalendar is wrong ⇒ 2009-12-09 ⇒