2005-05-17 Brian Dessent <brian@dessent.net>
* winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0' in argument list to avoid compiler warning with gcc4. * winsup.api/ltp/execle01.c (main): Ditto. * winsup.api/ltp/execlp01.c (main): Ditto. * winsup.api/ltp/fcntl07.c (do_exec): Ditto. * winsup.api/ltp/fcntl07B.c (do_exec): Ditto.
This commit is contained in:
@@ -374,7 +374,7 @@ do_exec(const char *prog, int fd, const char *tcd)
|
||||
case -1:
|
||||
return(-1);
|
||||
case 0: /* child */
|
||||
execlp(prog, openck, "-T", pidname, 0);
|
||||
execlp(prog, openck, "-T", pidname, NULL);
|
||||
|
||||
/* the ONLY reason to do this is to get the errno printed out */
|
||||
fprintf(stderr, "exec(%s, %s, -T, %s) failed. Errno %s [%d]\n",
|
||||
|
Reference in New Issue
Block a user