#39265 [Opn->Asn]: The ext/session/mod_files.sh script is faulty (fix included)
| From: | tony2001@php.net | Date: | Thu, 26 Oct 2006 14:13:24 +0000 |
| Subject: | #39265 [Opn->Asn]: The ext/session/mod_files.sh script is faulty (fix included) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104010@lists.php.net to get a copy of this message | ||
ID: 39265
Updated by: tony2001@php.net
Reported By: michal dot taborsky at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Session related
Operating System: Linux CentOS 4.4
PHP Version: 5.1.6
-Assigned To:
+Assigned To: iliaa
Previous Comments:
------------------------------------------------------------------------
[2006-10-26 14:04:55] michal dot taborsky at gmail dot com
Description:
------------
The script ext/session/mod_files.sh on our system fails:
[root@dc1-b103-app01 ~]# ./mod_files.sh /tmp/session/ 3 6
expr: syntax error
usage: ./mod_files.sh basedir depth
The reason being this line:
sh $0 $newpath
expr $2 - 1 $3
It can be fixed easily:
sh $0 $newpath expr $2 - 1 $3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39265&edit=1