This is the mail archive of the cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: tiny patch for execvp [Re: Problems with winsup-981223]
- To: cgf@cygnus.com
- Subject: Re: tiny patch for execvp [Re: Problems with winsup-981223]
- From: DJ Delorie <dj@delorie.com>
- Date: Mon, 1 Feb 1999 14:09:58 -0500
- CC: jeffdb@goodnet.com, cygwin32-developers@cygnus.com
- Delivered-To: listarch-cygwin-developers@sourceware.cygnus.com
- In-reply-to: <19990201103846.A26507@cygnus.com> (message from ChristopherFaylor on Mon, 1 Feb 1999 10:38:46 -0500)
- References: <19981227212632.A24196@cygnus.com> <199901300438.UAA19176@cygnus.com> <19990130010435.O10431@cygnus.com> <199901302309.SAA00319@envy.delorie.com> <19990131001707.A19124@cygnus.com> <36b4f822.165663739@mail.goodnet.com> <19990201103846.A26507@cygnus.com>
- Sender: owner-cygwin32-developers@cygnus.com
> 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.