Null terminate execl's argument list.
Submitted by: Ron Lenk <rlenk@widget.xmission.com>
This commit is contained in:
parent
74b48c1de1
commit
67e73a53fc
@ -43,7 +43,7 @@
|
||||
* are token separators.
|
||||
*
|
||||
*-M*************************************************************************/
|
||||
static char id[] = "$Id: aic7xxx_asm.c,v 1.9 1995/05/30 07:57:33 rgrimes Exp $";
|
||||
static char id[] = "$Id: aic7xxx_asm.c,v 1.10 1996/01/03 06:25:31 gibbs Exp $";
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -679,7 +679,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
close(ifile);
|
||||
}
|
||||
execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-");
|
||||
execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-", NULL);
|
||||
}
|
||||
return(EXIT_SUCCESS);
|
||||
}
|
||||
|
@ -43,7 +43,7 @@
|
||||
* are token separators.
|
||||
*
|
||||
*-M*************************************************************************/
|
||||
static char id[] = "$Id: aic7xxx_asm.c,v 1.9 1995/05/30 07:57:33 rgrimes Exp $";
|
||||
static char id[] = "$Id: aic7xxx_asm.c,v 1.10 1996/01/03 06:25:31 gibbs Exp $";
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -679,7 +679,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
close(ifile);
|
||||
}
|
||||
execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-");
|
||||
execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-", NULL);
|
||||
}
|
||||
return(EXIT_SUCCESS);
|
||||
}
|
||||
|
@ -43,7 +43,7 @@
|
||||
* are token separators.
|
||||
*
|
||||
*-M*************************************************************************/
|
||||
static char id[] = "$Id: aic7xxx_asm.c,v 1.9 1995/05/30 07:57:33 rgrimes Exp $";
|
||||
static char id[] = "$Id: aic7xxx_asm.c,v 1.10 1996/01/03 06:25:31 gibbs Exp $";
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -679,7 +679,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
close(ifile);
|
||||
}
|
||||
execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-");
|
||||
execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-", NULL);
|
||||
}
|
||||
return(EXIT_SUCCESS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user