bug-gnulib
[Top][All Lists]
Advanced

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

Re: fclose/fflush and GNU RCS


From: Thien-Thi Nguyen
Subject: Re: fclose/fflush and GNU RCS
Date: Mon, 13 Jun 2011 12:13:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Thien-Thi Nguyen <address@hidden>
() Thu, 09 Jun 2011 13:55:52 +0200

   (Please correct me if i'm wrong.)

[Mr. T voice] I pity the fool!

   If so, that means RCS was masking
   this bug all along, right?  To debug, i will need to find out where
   a call to ‘fclose’ presumes (incorrectly) that the file position
   should be larger (further along) than it actually is.  Right?

Who knows?  Poking around, i discovered that using ‘rewind’ directly
instead of the supposedly equivalent ‘fseeko (STREAM, 0L, SEEK_SET)’
unmanifested the bug:

 http://git.savannah.gnu.org/cgit/rcs.git/commit/?id=3667dd09

so from GNU RCS pov, things are fine again.  (Hydra is happy, too.)
However, NB: this change just sidesteps an interop issue rather than
grokking in full What Iz; it's possible that latent problems persist.



reply via email to

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