#39265 [Asn->Csd]: The ext/session/mod_files.sh script is faulty (fix included)
| From: | iliaa@php.net | Date: | Fri, 03 Nov 2006 13:19:33 +0000 |
| Subject: | #39265 [Asn->Csd]: 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-104311@lists.php.net to get a copy of this message | ||
ID: 39265
Updated by: iliaa@php.net
Reported By: michal dot taborsky at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Session related
Operating System: Linux CentOS 4.4
PHP Version: 5.1.6
Assigned To: iliaa
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.
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