Re: getopt()
| From: | Sascha Schumann | Date: | Mon, 27 Dec 1999 21:29:57 +0000 |
| Subject: | Re: getopt() | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-14071@lists.php.net to get a copy of this message | ||
On Mon, Dec 27, 1999 at 04:38:19PM -0500, rasmus@php.net wrote:
> > The Single UNIX Specification II does not say whether this is
> > required to work. It works with our replacement function, but
> > I'm not convinced that this behaviour is portable.
>
> Since it looks like we need this feature, perhaps we should just always
> use our replacement function.
That would be the safest option. I suggest renaming the
function to php_getopt() to avoid conflicts with the system
function. All non-static variables in getopt.c should be
prefixed appropiately as well.
--
Regards,
Sascha Schumann
Consultant