+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.
+
2005-02-10 Christopher Faylor <cgf@timesys.com>
* winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03,
*/
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!!*/
*/
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!!*/
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",
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",
return 2;
}
else if (pid == 0)
- execl ( argv[0], argv[0], "child", 0 );
+ execl ( argv[0], argv[0], "child", NULL );
else
{
sleep_stage = 0;