Bug#913268: pngcrush should call mk*temp*() instead of writing to pngout.png
Al Ma
alma0 at ro.ru
Thu Nov 6 15:17:30 GMT 2025
I am also surprised that a fixed file name is used. Why not calling, in pseudocode, something in the vein of mkstemp(if $TMPDIR exists then $TMPDIR+"/pngoutXXXXXX.png" else "/tmp/pngoutXXXXXX.png") or simply mkstemp("pngoutXXXXXX.png")? It seems to me that mkstemp(…) and its sister functions have more merits than a constant filename.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20251106/b3d472d2/attachment.htm>
More information about the Pkg-phototools-devel
mailing list