This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: errno related question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]