Changeset 1744


Ignore:
Timestamp:
Dec 17, 2004, 4:45:48 AM (21 years ago)
Author:
bird
Message:

0 is correct return value.

Location:
trunk/src/emx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/Makefile

    • Property cvs2svn:cvs-rev changed from 1.57 to 1.58
    r1743 r1744  
    8080        $(MAKE) -f toolonly.gmk install
    8181        $(MAKE) -f libonly.gmk install
     82        $(MAKE) -f Makefile clean
    8283        $(MAKE) -f toolonly.gmk all
    8384        $(MAKE) -f libonly.gmk all
  • trunk/src/emx/src/lib/process/wait.c

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r1743 r1744  
    5151     */
    5252    pid_t pid = wait4(-1, piStatus, 0, NULL);
    53     if (pid > 0)
     53    if (pid >= 0)
    5454        LIBCLOG_RETURN_MSG(pid, "ret %d (%#x) iStatus=%#x\n", pid, pid, piStatus ? *piStatus : -1);
    5555    LIBCLOG_RETURN_INT(pid);
  • trunk/src/emx/src/lib/process/wait3.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1743 r1744  
    5454     */
    5555    pid_t pid = wait4(-1, piStatus, fOptions, pRUsage);
    56     if (pid > 0)
     56    if (pid >= 0)
    5757        LIBCLOG_RETURN_MSG(pid, "ret %d (%#x) iStatus=%#x\n", pid, pid, piStatus ? *piStatus : -1);
    5858    LIBCLOG_RETURN_INT(pid);
  • trunk/src/emx/src/lib/process/waitpid.c

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r1743 r1744  
    5858     */
    5959    pid = wait4(pid, piStatus, fOptions, NULL);
    60     if (pid > 0)
     60    if (pid >= 0)
    6161        LIBCLOG_RETURN_MSG(pid, "ret %d (%#x) iStatus=%#x\n", pid, pid, piStatus ? *piStatus : -1);
    6262    LIBCLOG_RETURN_INT(-1);
Note: See TracChangeset for help on using the changeset viewer.