This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][BZ #14292] Do not inverse seek in fmemopen_seek.


On Tue, May 28, 2013 at 04:01:47PM -0700, Roland McGrath wrote:
> It sure looks like a straightforward bug.  Unfortunately it's entirely
> conceivable that some program has come to depend on the bogus behavior.
> The conservative approach to fixing it would be to define a new symbol
> version for fmemopen, so the old one behaves as it did before.  I'm a bit
> ambivalent about whether we should bother with that.
> 
> Some code archeology shows that the libio implementation of fmemopen
> (i.e. the only one that's ever been used on GNU/Linux) always behaved this
> way (though the original fmemopen implementation from when I invented it in
> the old GNU stdio never did).  So I'm inclined to say we do indeed need to
> keep the compatibility version just in case.
> 
As I am fixing several bugs concerning fmemopen I will post separate
patch for versioning that should be applied first


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]