From: dj AT delorie DOT com (DJ Delorie) Subject: Re: tiny patch for execvp [Re: Problems with winsup-981223] 1 Feb 1999 11:27:33 -0800 Message-ID: <199902011909.OAA29894.cygnus.cygwin32.developers@envy.delorie.com> References: <19990201103846 DOT A26507 AT cygnus DOT com> To: cgf AT cygnus DOT com Cc: jeffdb AT goodnet DOT com, 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.