tiny patch for execvp [Re: Problems with winsup-981223]

DJ Delorie dj@delorie.com
Mon Feb 1 11:36:00 GMT 1999


> If we removed the DATA keyword, does that mean that there will be a
> sys_errlist symbol in libcygwin.a but it won't refer to the actual
> table?

Yes.

> 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.


More information about the Cygwin-developers mailing list