apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/threadproc/os2 proc.c
Date Mon, 24 Feb 2003 21:55:23 GMT
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) {
  
  
  

Mime
View raw message