Inconsistent out of disk space behavior
Przemysław Sobala <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
Hello I've noticed that GraphicsMagick is inconsistent when reporting errors while writing to disk with no free space. Please take a look at these examples: $ gm convert big_tree_q80.jpg /tmp/smalltmp/gm.jpg gm convert: Output file write error --- out of disk space? (/tmp/smalltmp/gm.jpg) [No space left on device]. $ echo $? 1 $ gm convert big_tree_q80.jpg /tmp/smalltmp/gm.png gm convert: WriteBlob Failed (/tmp/smalltmp/gm.png) [No space left on device]. $ echo $? 1 $ gm convert big_tree_q80.jpg /tmp/smalltmp/gm.webp $ echo $? 0 $ gm convert big_tree_q80.jpg /tmp/smalltmp/gm.gif $ echo $? 0 Can something be done to always report error / exception in C++ API? -- Regards Przemysław Sobala ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Graphicsmagick-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help