• Laslo Hunhold's avatar
    Use fshut() to properly flush the output stream · 17f09e2c
    Laslo Hunhold authored
    For small images, it could happen that the output stream would not be
    flushed before exit(), resulting in a lack of error-reporting on
    a full device. Using fflush(), a function I first introduced in sbase,
    we do the flushing before returning manually and report errors if they
    occurred.
    17f09e2c
ff2pam.c 1.33 KB