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

@@ -171,7 +171,7 @@ main(int ac, char **av)
*/
switch(pid=fork()) {
case 0: /* CHILD - Call execlp(2) */
execlp("/usr/bin/test", "/usr/bin/test", 0);
execlp("/usr/bin/test", "/usr/bin/test", NULL);
/* should not get here!! if we do, the parent will fail the Test Case */
exit(errno);
case -1: /* ERROR!!! exit now!!*/