This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: errno related question
- From: Marcus Meissner <meissner at suse dot de>
- To: Ishav <ishavd at yahoo dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 5 Feb 2003 10:12:41 +0100
- Subject: Re: errno related question
- References: <20030205002947.74114.qmail@web13302.mail.yahoo.com>
On Tue, Feb 04, 2003 at 04:29:47PM -0800, Ishav wrote:
>
> I compiled and run the following program using
> glibc-3.2.1 (on RedHat 8.1) with non-TLS support
> (by setting the LD_ASSUME_KERNEL=2.2.5).
> All the functions except stat() is calling the local
> __errno_location(). Why the stat() is not calling it?
> I know this doesnt work with TLS support, but for
> non-TLS, it should work same as glibc-2.2.x.
You must not overwrite __errno_location, it is an
internal function.
We have the same problem with WINE which will be
lots of fun to fix (basically porting WINE to
glibc threads is required).
Ciao, Marcus