﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
839	lzma egg uses deprecated null-pointer? procedure	sjamaan	Alaric Snell-Pym	"This was found by Mario's scrutiny/specialization run of Salmonella, see http://parenteses.org/mario/misc/specialize-report/install/lzma.html

Attached is a patch that changes the check for {{{null-pointer?}}} to one for {{{#f}}}; c-pointer never returned null-pointer objects anyway, it has always returned {{{#f}}} for {{{NULL}}} pointers AFAIK so I guess this has always been a bug in this egg.  While I was writing the patch I noticed an unneccessary {{{begin}}} inside a {{{let}}} (which always has an implicit {{{begin}}}), so I removed that.  Then I saw I had a {{{(let ((x ...)) (and x (let ((y ...)) ...)))}}} pattern, which can be simplified to your favorite macro, {{{and-let*}}}. So here's a patch that does that! :)

PS: I wasn't able to test this because in pkgsrc, archivers/lzmalib conflicts with archivers/xz, which is used by graphics/tiff and www/links-gui; graphics/tiff is of course used by lots and lots of packages like print/ghostscript and even editors/emacs!  Perhaps it's an idea to change your egg to use archivers/xz instead?  It's clearly the more popular of the LZMA libraries..."	defect	closed	minor		extensions	4.7.x	fixed			easy
