httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: nph and lingering_close
Date Sat, 24 Aug 1996 20:28:50 GMT
Garey Smiley wrote:
> 
> On Thu, 22 Aug 1996 15:12:19 -0700 (PDT), Alexei Kosut wrote:
> 
> >--- 493,507 ----
> >  	pfclose (r->connection->pool, script_err);
> >      }
> >  
> >      if (nph) {
> >+ #ifdef __EMX__
> >          while (fgets(argsbuffer, HUGE_STRING_LEN-1, script_in) != NULL) {
> >              bputs(argsbuffer, r->connection->client);
> >          }
> >! #else
> >! 	waitpid(child_pid, (int*)0, 0);
> >  #endif
> >+     }    
> >  
> >      return OK;			/* NOT r->status, even if it has changed. */
> >  }
> 
> How about changing the above patch so the fix isn't elsed out of the
> OS/2 platform.
> 

Won't the fgets/bputs keep the descriptor held? This is all the waitpid()
is doing...


-- 
Jim Jagielski  << jim@jaguNET.com >>   |   "There is a time for laughing,
  **  jaguNET Access Services  **      |    and a time for not laughing,
      Email: info@jaguNET.com          |    and this is not one of them"
++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-3157       ++

Mime
View raw message