| delorie.com/archives/browse.cgi | search |
| Delivered-To: | listarch-cygwin-developers AT sourceware DOT cygnus DOT com |
| Date: | Mon, 1 Feb 1999 14:09:58 -0500 |
| Message-Id: | <199902011909.OAA29894@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | cgf AT cygnus DOT com |
| CC: | jeffdb AT goodnet DOT com, cygwin32-developers AT cygnus DOT com |
| In-reply-to: | <19990201103846.A26507@cygnus.com> (message from Christopher |
| Faylor on Mon, 1 Feb 1999 10:38:46 -0500) | |
| Subject: | Re: tiny patch for execvp [Re: Problems with winsup-981223] |
| References: | <19981227212632 DOT A24196 AT cygnus DOT com> <199901300438 DOT UAA19176 AT cygnus DOT com> <19990130010435 DOT O10431 AT cygnus DOT com> <199901302309 DOT SAA00319 AT envy DOT delorie DOT com> <19990131001707 DOT A19124 AT cygnus DOT com> <36b4f822 DOT 165663739 AT mail DOT goodnet DOT com> <19990201103846 DOT A26507 AT cygnus DOT com> |
| Sender: | owner-cygwin32-developers AT cygnus DOT 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |