httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@devsys.jaguNET.com>
Subject Re: cvs commit: apache-2.0/mpm/src/main http_config.c http_main.c
Date Mon, 12 Jul 1999 14:01:38 GMT
I have a hacked and portable FreeBSD version available that we could
use, so it might be best to simply provide it.

Brian Havard wrote:
> 
> On Sun, 11 Jul 1999 19:28:02 +0100, Ben Laurie wrote:
> 
> >Brian Havard wrote:
> 
> >> To quote the man page: "To reinitialize getopt(), that is, to restart parsing
> >> options, set optind to zero."
> >
> >Well, that's fun. On platforms with optreset, you have to set optind to
> >1. Sigh.
> >
> >> 
> >> And I don't think it's just OS/2. My (admittedly rather old) linux machine
> >> doesn't mention optreset on its man page either. Just
> >
> >And it is resettable, too?
> 
> Doesn't say so on the man page but setting optind=0 seems to work.
> 
> --
>  ______________________________________________________________________________
>  |  Brian Havard                 |  "He is not the messiah!                   |
>  |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
>  ------------------------------------------------------------------------------
> 
> 


-- 
===========================================================================
   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