• Jehan's avatar
    libgimpbase: fix declaration after statement and reset safecheck... · 49b4b1a5
    Jehan authored
    ... after each successful read().
    I completely missed this declaration after a statement during the review
    of !13 even though I saw another similar issue!
    
    Also let's reset the error counter to 0 each time a successful read()
    happens so that we can continue reading even if a lot of EINTR were to
    happen, as long as we globally go forward. Only consecutive errors
    increment the counter.
    
    Finally add a small comment to explain why we let EINTR pass instead of
    breaking directly.
    49b4b1a5
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
gimpbase-private.c Loading commit data...
gimpbase-private.h Loading commit data...
gimpbase.def Loading commit data...
gimpbase.h Loading commit data...
gimpbaseenums.c Loading commit data...
gimpbaseenums.h Loading commit data...
gimpbasetypes.c Loading commit data...
gimpbasetypes.h Loading commit data...
gimpchecks.c Loading commit data...
gimpchecks.h Loading commit data...
gimpcompatenums.c Loading commit data...
gimpcompatenums.h Loading commit data...
gimpcpuaccel.c Loading commit data...
gimpcpuaccel.h Loading commit data...
gimpdatafiles.c Loading commit data...
gimpdatafiles.h Loading commit data...
gimpenv.c Loading commit data...
gimpenv.h Loading commit data...
gimplimits.h Loading commit data...
gimpmemsize.c Loading commit data...
gimpmemsize.h Loading commit data...
gimpmetadata.c Loading commit data...
gimpmetadata.h Loading commit data...
gimpparam.h Loading commit data...
gimpparasite.c Loading commit data...
gimpparasite.h Loading commit data...
gimpparasiteio.c Loading commit data...
gimpparasiteio.h Loading commit data...
gimpprotocol.c Loading commit data...
gimpprotocol.h Loading commit data...
gimprectangle.c Loading commit data...
gimprectangle.h Loading commit data...
gimpreloc.c Loading commit data...
gimpreloc.h Loading commit data...
gimpsignal.c Loading commit data...
gimpsignal.h Loading commit data...
gimpunit.c Loading commit data...
gimpunit.h Loading commit data...
gimputils.c Loading commit data...
gimputils.h Loading commit data...
gimpvaluearray.c Loading commit data...
gimpvaluearray.h Loading commit data...
gimpwin32-io.h Loading commit data...
gimpwire.c Loading commit data...
gimpwire.h Loading commit data...
test-cpu-accel.c Loading commit data...