Re: Fwd: Re: error.c: "Unknown system error" should report errno value
From:
Bruno Haible
Subject:
Re: Fwd: Re: error.c: "Unknown system error" should report errno value
Date:
Tue, 9 Oct 2007 00:03:25 +0200
User-agent:
KMail/1.5.4
Martin Koeppe wrote:
> > Is seq segfaulting on mingw and BeOS, too?
>
> I just tested snapshot 316 and it unfortunately doesn't work on
> Interix, i.e. seq is still wrong.
Can you find out why?
> Interix has _ before C symbols, all the following are asm symbols. The
> Interix libc has __vfprintf which __printf seems to use. While _printf
> is a weak alias for __printf, this __printf seems to call (according
> to nm output of libc.a) the strong __vfprintf directly, rather than
> its weak alias _vfprintf. So it wouldn't even suffice to (re-)define
> _vfprintf.
I don't think this is relevant. gnulib overrides are implemented at the
preprocessor level (#define, #undef), not at the linker level (asm("...")),
and the names that gnulib chooses (rpl_vfprintf etc.) certainly don't
collide with the ones in any libc.
Bruno