[PATCH 2/6] Add fmemopen compatibility version.

Ondřej Bílka neleai@seznam.cz
Wed Jun 12 08:10:00 GMT 2013


On Tue, Jun 11, 2013 at 04:28:46PM -0700, Roland McGrath wrote:
> Why do you want to copy the entire implementation?  So far it's only the
> seek function that needs to differ.  Other fixes you've proposed are not
> ones we want to keep out of the implementation of the old symbol version.
> 
> I'd do it in fmemopen.c, splitting fmemopen into a local subroutine that
> takes the seek function as an argument.

Not only this, 
[PATCH 7/6][BZ #11216] Return fmemopen stream when len==0
In bugzilla there was concern for backward compatibility.

A 
[PATCH 6/6][BZ #13152] fmemopen does not honor append mode.
changes cookie structure, I versioning may be needed here.



More information about the Libc-alpha mailing list