You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2003/02/24 22:55:23 UTC

cvs commit: apr/threadproc/os2 proc.c

wrowe       2003/02/24 13:55:23

  Modified:    threadproc/os2 proc.c
  Log:
    We don't guard against NULL args.
  
  Revision  Changes    Path
  1.58      +0 -7      apr/threadproc/os2/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/os2/proc.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- proc.c	7 Feb 2003 21:02:31 -0000	1.57
  +++ proc.c	24 Feb 2003 21:55:23 -0000	1.58
  @@ -586,9 +586,6 @@
       ULONG rc;
       PID pid;
   
  -    if (!proc)
  -        return APR_ENOPROC;
  -
       rc = DosWaitChild(DCWA_PROCESSTREE, waithow == APR_WAIT ? DCWW_WAIT : DCWW_NOWAIT, &codes, &pid, 0);
   
       if (rc == 0) {
  @@ -611,10 +608,6 @@
       RESULTCODES codes;
       ULONG rc;
       PID pid;
  -
  -    if (!proc)
  -        return APR_ENOPROC;
  -
       rc = DosWaitChild(DCWA_PROCESS, waithow == APR_WAIT ? DCWW_WAIT : DCWW_NOWAIT, &codes, &pid, proc->pid);
   
       if (rc == 0) {