[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

latest fclose.c evokes new warning/error

From: Jim Meyering
Subject: latest fclose.c evokes new warning/error
Date: Wed, 11 May 2011 19:22:53 +0200

Hi Eric,

I've just tried the latest from gnulib in coreutils,
and bootstrap+build failed with this:

    fclose.c: In function 'rpl_fclose':
    fclose.c:33:7: error: variable 'saved_errno' set but not used 
    cc1: all warnings being treated as errors

Isn't that highlighting a real bug?  Currently, in the !WINDOWS_SOCKETS code,
rpl_fclose may return 0 in spite of a preceding failed fflush.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]