Mail Archives: djgpp-workers/2003/07/31/11:44:21
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 <string.h>
>
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";
- Raw text -