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:
Brian Dessent
2005-05-18 01:10:06 +00:00
parent 5b59a2cc0d
commit 7f21d805a3
6 changed files with 14 additions and 5 deletions

View File

@@ -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",