ID: 36091 Updated by: [EMAIL PROTECTED] Reported By: oli at isnic dot is -Status: Assigned +Status: Open Bug Type: CGI related Operating System: FreeBSD 5.4 PHP Version: 5.1.2, 4.4.2 Assigned To: tony2001 New Comment:
It's oneliner - commit it yourself if you care about BSD, I'm not going to touch it again. Previous Comments: ------------------------------------------------------------------------ [2006-02-12 09:28:24] [EMAIL PROTECTED] Deleted irrelevant comments..Tony, can you just commit that patch of yours and ignore the whining? :) ------------------------------------------------------------------------ [2006-01-30 12:13:24] oli at isnic dot is optreset works for me on FreeBSD just as optind does when set to 1 and not 0 as it is done now in php. ------------------------------------------------------------------------ [2006-01-30 11:04:28] [EMAIL PROTECTED] Changing both optind & optreset to 1 does the same as changing only optind to 1. I.e. multiple calls to getopt() return expected result after this change. This code apparently doesn't exist in any branches, because I had no chance to test it on Solaris and AIX yet. ------------------------------------------------------------------------ [2006-01-30 10:56:37] oli at isnic dot is I don't see any reference to optreset in the php4 code I have so I assume that you are testing something locally, are you trying to set optreset to 0 or 1, since 1 should be the correct value. ------------------------------------------------------------------------ [2006-01-24 01:15:43] [EMAIL PROTECTED] Reassigned to myself. I'll commit the patch as soon as I figure out if it works on Solaris and AIX. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36091 -- Edit this bug report at http://bugs.php.net/?id=36091&edit=1