From: Andris Pavenis To: djgpp-workers AT delorie DOT com Subject: Re: djgpp: djgpp/src/dxe/dxe3gen.c Date: Thu, 31 Jul 2003 18:45:44 +0300 User-Agent: KMail/1.5.2 References: <200307311519 DOT h6VFJx016970 AT delorie DOT com> In-Reply-To: <200307311519.h6VFJx016970@delorie.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307311845.44432.pavenis@latnet.lv> Reply-To: djgpp-workers AT delorie DOT com On Thursday 31 July 2003 18:19, cvs-andris AT delorie DOT com wrote: > Update by cvs id: andris > Update of /cvs/djgpp/djgpp/src/dxe > > Modified Files: > dxe3gen.c > Log Message: > Fix use of undefined pointer in process_args() > > > =================================================================== > RCS file: /cvs/djgpp/djgpp/src/dxe/dxe3gen.c,v > retrieving revision 1.4 > retrieving revision 1.5 > diff -p -2 -r1.4 -r1.5 > *** djgpp/src/dxe/dxe3gen.c 21 Jul 2003 02:21:29 -0000 1.4 > --- djgpp/src/dxe/dxe3gen.c 31 Jul 2003 15:19:57 -0000 1.5 > *************** > *** 21,24 **** > --- 21,27 ---- > #include > Acidentaly checked in also undefining POSIX_SOURCE in the same checkin and didn't notice that it's already done in a different place. Fixed it Andris > + /* _POSIX_SOURCE is defined at this point when cross compiling from > + Linux. Therefore undefine it before including coff.h */ > + #undef _POSIX_SOURCE > #ifndef DXE_LD /* Cross compile ld name/location */ > #define DXE_LD "ld" > *************** static void process_args (int argc, char > *** 269,273 **** > if (opt.legacy) { > /* legacy mode */ > - static char **dummy; > progname = "dxegen";