httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: While looking through http_log.c
Date Fri, 01 May 1998 17:10:07 GMT
Marc Slemko wrote:
> 
> Because on win32 it returns the child PID but on other platforms it
> doesn't.  To make some compilers not give warnings, you need to have a
> return in a function that returns a value, even if the statement right
> before is an exit.

Ahhh... shoulda guessed.

> 
> On Fri, 1 May 1998, Jim Jagielski wrote:
> 
> > The function error_log_child ends with:
> > 
> >     exit (1);
> >     return(child_pid);
> > 
> > Why (and how) both?
> > -- 
> > ===========================================================================
> >    Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
> >             "That's no ordinary rabbit... that's the most foul,
> >             cruel and bad-tempered rodent you ever laid eyes on"
> > 
> 
> 


-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message