httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: cvs commit: apache-2.0/mpm/src/main http_config.c http_main.c
Date Mon, 12 Jul 1999 02:33:31 GMT
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 |
 ------------------------------------------------------------------------------


Mime
View raw message