Re: Inconsistent out of disk space behavior
Bob Friesenhahn <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 16 Oct 2017, Przemysław Sobala wrote: > Thanks for quick response. I looked at the libwebp usage, because that's the > most interesting for me at the moment, and came out with a small change: > > $ hg diff coders/webp.c > diff -r 19f1771574cc coders/webp.c > --- a/coders/webp.c Tue Aug 01 08:40:21 2017 -0500 > +++ b/coders/webp.c Mon Oct 16 16:50:49 2017 +0200 > @@ -419,7 +419,7 @@ > *image; > > image=(Image *) picture->custom_ptr; > - return (length != 0 ? (int) WriteBlob(image,length,stream) : 1); > + return (length != 0 ? (WriteBlob(image,length,stream) == length) : 1); > } Changes based on your patch are now submitted to the GraphicsMagick Mercurial repository as changeset 15232:b51dbb267fc3. Thank you very much for your help! Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ 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