[xml/sgml-pkgs] Bug#518907: xmlto: Handle mktemp failures more gracefully
daniel.leidert at wgdd.de
Mon Mar 9 12:54:01 UTC 2009
clone 518907 -1
retitle -1 xmlto: Handle mktemp failures more gracefully
severity -1 wishlist
tags -1 + patch
Am Montag, den 09.03.2009, 01:21 -0500 schrieb Jonathan Nieder:
> On the other hand, it seems that if mktemp fails, xmlto will not
> handle it very gracefully. In some cases (as with the libpaper patch),
> the program will plunge on unaware, eventually producing an error due
> to the missing filename. In others cases, xmlto will exit immediately
> without explaining why. So I would prefer something like the attached
> patch. It also has the advantage of making it harder to regress to
> this bug's behavior again.
> Tested by rebuilding git-core. The mktemp failure handling can be
> tested by setting TMPDIR to some ridiculous value.
I will check this patch asap.
More information about the debian-xml-sgml-pkgs