diff options
Diffstat (limited to 'winsup/testsuite/winsup.api')
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/execle01.c | 2 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/execlp01.c | 2 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/fcntl07.c | 2 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/fcntl07B.c | 2 | ||||
-rwxr-xr-x | winsup/testsuite/winsup.api/signal-into-win32-api.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/execle01.c b/winsup/testsuite/winsup.api/ltp/execle01.c index f7fcc8237..ca2cdec4e 100644 --- a/winsup/testsuite/winsup.api/ltp/execle01.c +++ b/winsup/testsuite/winsup.api/ltp/execle01.c @@ -172,7 +172,7 @@ main(int ac, char **av) */ switch(pid=fork()) { case 0: /* CHILD - Call execle(2) */ - execle("test", "test", 0, environ); + execle("test", "test", NULL, environ); /* should not get here!! if we do, the parent will fail the Test Case */ exit(errno); case -1: /* ERROR!!! exit now!!*/ diff --git a/winsup/testsuite/winsup.api/ltp/execlp01.c b/winsup/testsuite/winsup.api/ltp/execlp01.c index 383223c07..c3f8b2147 100644 --- a/winsup/testsuite/winsup.api/ltp/execlp01.c +++ b/winsup/testsuite/winsup.api/ltp/execlp01.c @@ -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!!*/ diff --git a/winsup/testsuite/winsup.api/ltp/fcntl07.c b/winsup/testsuite/winsup.api/ltp/fcntl07.c index d62eb7967..e0082df45 100644 --- a/winsup/testsuite/winsup.api/ltp/fcntl07.c +++ b/winsup/testsuite/winsup.api/ltp/fcntl07.c @@ -375,7 +375,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", diff --git a/winsup/testsuite/winsup.api/ltp/fcntl07B.c b/winsup/testsuite/winsup.api/ltp/fcntl07B.c index 405bf6127..4e94ff267 100644 --- a/winsup/testsuite/winsup.api/ltp/fcntl07B.c +++ b/winsup/testsuite/winsup.api/ltp/fcntl07B.c @@ -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", diff --git a/winsup/testsuite/winsup.api/signal-into-win32-api.c b/winsup/testsuite/winsup.api/signal-into-win32-api.c index 26d0cd8e0..57ab8b5c8 100755 --- a/winsup/testsuite/winsup.api/signal-into-win32-api.c +++ b/winsup/testsuite/winsup.api/signal-into-win32-api.c @@ -37,7 +37,7 @@ main (int argc, char** argv) return 2; } else if (pid == 0) - execl ( argv[0], argv[0], "child", 0 ); + execl ( argv[0], argv[0], "child", NULL ); else { sleep_stage = 0; |