tiny patch for execvp [Re: Problems with winsup-981223]
Christopher Faylor
cgf@cygnus.com
Mon Feb 1 11:47:00 GMT 1999
On Mon, Feb 01, 1999 at 02:09:58PM -0500, DJ Delorie wrote:
>> If so, does that mean that this code would do something funky:
>>
>> char *sys_errlist[];
>> main()
>> {
>> puts(sys_errlist[1]);
>> }
>
>Yes. sys_errlist would be the address of a chunk of i386 opcodes, not
>the address of the table of pointers to strings.
So, I think that I would vastly prefer the link time error to a
runtime core dump.
I've modified libiberty and will be testing this today.
-chris
More information about the Cygwin-developers
mailing list