Index: ossp-pkg/pth/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/pth/ChangeLog,v rcsdiff -q -kk '-r1.619' '-r1.620' -u '/v/ossp/cvs/ossp-pkg/pth/ChangeLog,v' 2>/dev/null --- ChangeLog 2004/09/12 11:44:25 1.619 +++ ChangeLog 2004/09/12 11:52:33 1.620 @@ -21,6 +21,10 @@ Changes between 2.0.1 and 2.0.2 (13-Jul-2003 to xx-XXX-2004) + *) Use "(char *)NULL" instead of plain "NULL" in last argument to + execl(2) to avoid GCC 3.5's "warning: missing sentinel in function call". + [Ralf S. Engelschall] + *) Workaround Autoconf/m4 problems in pth.m4 by using "m4_define" instead of just "define" and no using m4_undefine at all. [Dr. Andreas Mueller ] Index: ossp-pkg/pth/pth_high.c RCS File: /v/ossp/cvs/ossp-pkg/pth/pth_high.c,v rcsdiff -q -kk '-r1.106' '-r1.107' -u '/v/ossp/cvs/ossp-pkg/pth/pth_high.c,v' 2>/dev/null --- pth_high.c 2004/07/13 10:50:49 1.106 +++ pth_high.c 2004/09/12 11:52:33 1.107 @@ -252,7 +252,7 @@ pth_scheduler_kill(); /* execute the command through Bourne Shell */ - execl(PTH_PATH_BINSH, "sh", "-c", cmd, NULL); + execl(PTH_PATH_BINSH, "sh", "-c", cmd, (char *)NULL); /* POSIX compliant return in case execution failed */ exit(127);