ID: 36091 Updated by: [EMAIL PROTECTED] Reported By: oli at isnic dot is -Status: Open +Status: Closed Bug Type: CGI related Operating System: FreeBSD 5.4 PHP Version: 5.1.2, 4.4.2 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Closing this bug as I have commited the change into cvs for all branches. Previous Comments: ------------------------------------------------------------------------ [2006-02-12 11:02:38] [EMAIL PROTECTED] It's oneliner - commit it yourself if you care about BSD, I'm not going to touch it again. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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