PATCH: glibc 2.3.x and errno

Andreas Mohr andi at rhlx01.fht-esslingen.de
Fri Jan 24 13:30:06 CST 2003


Hi !

On Fri, Jan 24, 2003 at 05:20:12PM +0100, Marcus Meissner wrote:
> Changelog:
> 	Since glibc 2.3.cvs no longer exports __errno_location, we need
> 	to overwrite the implementation in glibc/libpthread directly.

Excuse me, but somehow I think this is p*ss poor.
(and yes, I'm now marking you up for the dark side ;-)

I mean, both Wine and glibc are successful (?) OSS projects,
so they should be able to come up with something much better than this
terribly embarassing solution (after all everybody knew that
OSS development was a "superiour" approach, didn't they ? ;-).

I for one would feel much better if we simply rejected that particular
"broken" glibc version and supported a *new* glibc method of properly
interfacing errno things in a newer glibc version...
(maybe have some "advanced" setting in glibc that enables all sorts of
funky interfacing capabilities in case a program needs it)

After all if Wine needs this errno support, then there's probably
a need for it, so it's glibc's bloody obligation to make sure there's
proper support IMHO.

BTW: why did they even choose to abandon a public errno_location ?

Anyway, thanks for tackling this severe issue !

Andreas Mohr

P.S.: Do you really think that Alexandre would commit it like that ? ;-)



More information about the wine-devel mailing list