ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-dev
pear-dev
[PEAR-DEV] Console_GetOpt and mkdir bug
by Pierre-Alain Joye other posts by this author
Oct 12 2002 12:18PM messages near this date
[PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT] PEAR-1.0b1 (stable) Released. | Re: [PEAR-DEV] Console_GetOpt and mkdir bug
Hello,

I post a bug about mkdir, you can reproduce it with pear_system.phpt
test suites.
http://marc.theaimsgroup.com/?l=pear-dev&m=103433606716980&w=2

In Console_Getopt:getopt() :

        if (isset($args[0]{0}) && $args[0]{0} != '-') {
            array_shift($args);
        }

That drops the 1st dir argument passed to System::mkDir();

Do you why it automaticly drop it if it does not start with '-' ?

Just to know if the problem comes from the call or from getOpt itself.

hth

pa

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Pierre-Alain Joye
Sander Roobol
Stig S. Bakken

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved