cvs: php4 /pear/PEAR/Command Config.php

From: Date: Mon, 27 May 2002 21:59:20 +0000
Subject: cvs: php4 /pear/PEAR/Command Config.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4170@lists.php.net to get a copy of this message
ssb Mon May 27 17:59:20 2002 EDT Modified files: /php4/pear/PEAR/Command Config.php Log: * treat umask as octal in "config-set" command Index: php4/pear/PEAR/Command/Config.php diff -u php4/pear/PEAR/Command/Config.php:1.14 php4/pear/PEAR/Command/Config.php:1.15 --- php4/pear/PEAR/Command/Config.php:1.14 Sun May 26 20:21:36 2002 +++ php4/pear/PEAR/Command/Config.php Mon May 27 17:59:19 2002 @@ -18,7 +18,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Config.php,v 1.14 2002/05/27 00:21:36 ssb Exp $ +// $Id: Config.php,v 1.15 2002/05/27 21:59:19 ssb Exp $ require_once "PEAR/Command/Common.php"; require_once "PEAR/Config.php"; @@ -153,6 +153,9 @@ if ($error = $this->_checkLayer(@$params[2])) { $failmsg .= $error; break; + } + if ($params[0] == 'umask') { + list($params[1]) = sscanf($params[1], '%o'); } if (!call_user_func_array(array(&$this->config, 'set'), $params)) {

« previous php.pear.cvs (#4170) next »