From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Drepper To: hjl@lucon.org (H.J. Lu) Cc: egcs@cygnus.com Subject: Re: Another libio patch Date: Fri, 10 Oct 1997 22:58:00 -0000 Message-id: References: X-SW-Source: 1997-10/msg00453.html hjl@lucon.org (H.J. Lu) writes: > Please discard my previous libio patch. This patch should > fix both glibc 2 and libc 5. Please let me know the result > on libc 5.3.12 on linux/x86. This looks much better. Though > #ifdef weak_alias > weak_alias (_IO_vsprintf, vsprintf) > +#else > +#ifdef __ELF__ > +#pragma weak vsprintf = _IO_vsprintf > +#endif > #endif I don't think we should use the alias for other ELF systems (Solaris etc). I think this should read #if defined __linux__ && defined __ELF__ -- Uli ---------------. drepper@cygnus.com ,-. Rubensstrasse 5 Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------