[PATCH] fopencookie binary compatibility
Andreas Jaeger
aj@suse.de
Thu May 18 03:50:00 GMT 2000
>>>>> Jakub Jelinek writes:
> Hi!
> cookie_seek_function_t type changed between 2.0 and 2.2, which causes binary
> incompatibility between programs using fopencookie compiled with glibc up to
> 2.1.x and glibc 2.2.
> This patch should add fopencookie@@GLIBC_2.2 and fopencookie@GLIBC_2.0, so
> that old programs can continue to work.
> +#ifdef weak_alias
> +compat_symbol (libc, _IO_old_fopencookie, fopencookie, GLIBC_2_0);
> +#endif
Is the #ifdef really needed? I don't think so.
I'll check the patch in without this if this is ok. Uli, what do you
think?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
More information about the Libc-hacker
mailing list