What to do about gnulib libio dependencies?

Szabolcs Nagy szabolcs.nagy@arm.com
Mon Aug 20 13:24:00 GMT 2018


On 20/08/18 13:32, Florian Weimer wrote:
> gnulib has a few modules which touch libio internals which aren't really exported:
> 
> fbufmode
> freadahead
> freadptr
> freadseek
> fseterr
> 
> This is a problem because it is not apparent from the glibc sources that the implementation details used by these functions are actually used 
> externally.
> 
> Should we just add these functions to glibc?  In some cases, the interactions with wide oriented streams could be problematic.
> 

i think it's better to define them in glibc.

gnulib already checks if these functions are provided by the libc:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=2b14f42b44f04bce5631269ed46cd8be2413ccec



More information about the Libc-alpha mailing list