[Bug 2210] [IcedTea7] DGifCloseFile call should check the return value, not the error code, for failure

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Feb 5 02:03:22 UTC 2015


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2210

Andrew John Hughes <gnu.andrew at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         Depends on|                            |2200
   Target Milestone|---                         |2.5.5

--- Comment #1 from Andrew John Hughes <gnu.andrew at redhat.com> ---
The error code is optional, so, as we don't print the error string, we can pass
NULL. From dgif_lib.c in giflib:
        if (ErrorCode != NULL)
            *ErrorCode = D_GIF_ERR_CLOSE_FAILED;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150205/ede9716e/attachment.html>


More information about the distro-pkg-dev mailing list