[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-12-16 Thread Sara Golemon
pollita Mon Dec 17 05:16:40 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: Add scoping braces for variable declaration http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.170&r2=1.171&diff_format=u Index: php-src/ext/standard

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-11-21 Thread Jani Taskinen
janiWed Nov 21 11:28:26 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: - Fix crash when chown() 2nd parameter is something else than integer or string http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.169&r2=1.170&diff

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c /ext/standard/tests/file chgrp.phpt

2007-11-19 Thread Antony Dovgal
On 19.11.2007 18:55, Dmitry Stogov wrote: > -/* $Id: filestat.c,v 1.168 2007/11/05 16:29:04 jani Exp $ */ > +/* $Id: filestat.c,v 1.169 2007/11/19 15:55:48 dmitry Exp $ */ > > #include "php.h" > #include "fopen_wrappers.h" > @@ -428,12 +428,16 @@ > int ret; > > if (zend_parse_para

[PHP-CVS] cvs: php-src /ext/standard filestat.c /ext/standard/tests/file chgrp.phpt

2007-11-19 Thread Dmitry Stogov
dmitry Mon Nov 19 15:55:48 2007 UTC Modified files: /php-src/ext/standard filestat.c /php-src/ext/standard/tests/filechgrp.phpt Log: fixed SIGSEGV in chgrp() http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.168&r2=1.169&diff_

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-11-05 Thread Jani Taskinen
janiMon Nov 5 16:29:04 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: ws http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.167&r2=1.168&diff_format=u Index: php-src/ext/standard/filestat.c diff -u php-src/ext/standard/

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-11-05 Thread Jani Taskinen
janiMon Nov 5 16:14:11 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: ws http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.166&r2=1.167&diff_format=u Index: php-src/ext/standard/filestat.c diff -u php-src/ext/standard/

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-11-05 Thread Jani Taskinen
janiMon Nov 5 16:12:55 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: ws + cs + sync some fixes from PHP_5_3 branch http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.165&r2=1.166&diff_format=u Index: php-src/ext/standa

[PHP-CVS] cvs: php-src /ext/standard filestat.c php_filestat.h /ext/standard/tests/file 005_basic.phpt 005_error.phpt bug43137.phpt /main/streams plain_wrapper.c

2007-10-31 Thread Jani Taskinen
janiWed Oct 31 13:22:18 2007 UTC Added files: /php-src/ext/standard/tests/filebug43137.phpt Modified files: /php-src/ext/standard filestat.c php_filestat.h /php-src/ext/standard/tests/file005_basic.phpt 005_error.phpt

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-09-21 Thread Antony Dovgal
tony2001Fri Sep 21 14:05:01 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: check the return value of getgroups() for -1 (coverity issue #390) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.163&r2=1.164&diff_fo

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-09-02 Thread Hannes Magnusson
bjori Sun Sep 2 11:53:51 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: MFB: Fixed bug #42072 (No warning message for clearstatcache() with arguments). http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.162&r2=1.163&d

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-07-09 Thread Antony Dovgal
tony2001Mon Jul 9 18:10:17 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: fix build on b0rked OSes (see #41920) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.160&r2=1.161&diff_format=u Index: php-src/ext/sta

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-02-26 Thread Antony Dovgal
tony2001Mon Feb 26 20:35:41 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: simplify disk_*_space() functions sources by moving ifdef'ed implementations into separate functions http://cvs.php.net/viewvc.cgi/php-src/ext/standard/fi

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-02-26 Thread Antony Dovgal
tony2001Mon Feb 26 14:11:14 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: fix folding http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.158&r2=1.159&diff_format=u Index: php-src/ext/standard/filestat.c diff -u p

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2007-01-18 Thread Marcus Boerger
helly Thu Jan 18 22:57:03 2007 UTC Modified files: /php-src/ext/standard filestat.c Log: - Use correct string inunicode mode http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.156&r2=1.157&diff_format=u Index: php-src/ext/standard/filesta

[PHP-CVS] cvs: php-src /ext/standard filestat.c php_filestat.h

2007-01-16 Thread Marcus Boerger
helly Tue Jan 16 22:10:25 2007 UTC Modified files: /php-src/ext/standard filestat.c php_filestat.h Log: - Add php_u_stat() http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.155&r2=1.156&diff_format=u Index: php-src/ext/standard/filestat.

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-12-01 Thread Andrei Zmievski
andrei Fri Dec 1 18:42:24 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: Fix group macro access. http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.152&r2=1.153&diff_format=u Index: php-src/ext/standard/filestat.c diff

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-11-29 Thread Ilia Alshanetsky
iliaa Wed Nov 29 23:46:26 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not thread safe). http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-11-06 Thread Dmitry Stogov
dmitry Mon Nov 6 14:55:15 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN(). http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-09-21 Thread Sara Golemon
pollita Thu Sep 21 23:36:13 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: PHP6 Updates http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.149&r2=1.150&diff_format=u Index: php-src/ext/standard/filestat.c diff -u php-src/ext/

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-06-30 Thread Antony Dovgal
tony2001Fri Jun 30 10:52:51 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: add error messages to disk_free_space() & disk_total_space() (feature request #37971) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-05-18 Thread Ilia Alshanetsky
iliaa Fri May 19 02:51:18 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: MFB: Fixed bug #37505 (touch() truncates large files). http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/filestat.c?r1=1.146&r2=1.147&diff_format=u Index: php-src/

[PHP-CVS] cvs: php-src /ext/standard filestat.c TSRM tsrm_virtual_cwd.h

2006-04-10 Thread Jani Taskinen
sniper Mon Apr 10 11:56:04 2006 UTC Modified files: /TSRM tsrm_virtual_cwd.h /php-src/ext/standard filestat.c Log: - Fixed bug #36909 (ld: Undefined symbols: _lchown) http://cvs.php.net/viewcvs.cgi/TSRM/tsrm_virtual_cwd.h?r1=1.52&r2=1.53&dif

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-04-09 Thread Ilia Alshanetsky
iliaa Sun Apr 9 17:58:02 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: MFB51: Fixed bug #36875 (is_*() functions do not account for open_basedir). http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/filestat.c?r1=1.144&r2=1.145&diff_

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2006-01-04 Thread Rob Richards
rrichards Wed Jan 4 17:34:44 2006 UTC Modified files: /php-src/ext/standard filestat.c Log: fix win build http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/filestat.c?r1=1.141&r2=1.142&diff_format=u Index: php-src/ext/standard/filestat.c diff -u p

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c /main/streams php_stream_plain_wrapper.h

2005-11-09 Thread Derick Rethans
On Wed, 9 Nov 2005, Antony Dovgal wrote: > I would like to merge this patch into 5.0 and 4.4. > It also fixes the problem that existed since 4.3 - is_executable() is affected > by open_basedir setting: > > [EMAIL PROTECTED]:/usr/src/dev/orig/php-src_5_0> ./sapi/cli/php -n -d > open_basedir="/www"

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c /main/streams php_stream_plain_wrapper.h

2005-11-09 Thread Antony Dovgal
I would like to merge this patch into 5.0 and 4.4. It also fixes the problem that existed since 4.3 - is_executable() is affected by open_basedir setting: [EMAIL PROTECTED]:/usr/src/dev/orig/php-src_5_0> ./sapi/cli/php -n -d open_basedir="/www" -r 'var_dump(is_executable("/bin/bash"));' bool(fa

[PHP-CVS] cvs: php-src /ext/standard filestat.c /main/streams php_stream_plain_wrapper.h

2005-10-22 Thread Wez Furlong
wez Sat Oct 22 13:26:16 2005 EDT Modified files: /php-src/main/streams php_stream_plain_wrapper.h /php-src/ext/standard filestat.c Log: merge VCWD_ACCESS bugfix to head. Test suite is unusable in HEAD, so I guess it works here too. http

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2005-02-21 Thread Anantha Kesari H Y
hyanantha Mon Feb 21 04:08:54 2005 EDT Modified files: /php-src/ext/standard filestat.c Log: In NetWare statfs f_bavail member is known as f_bfree http://cvs.php.net/diff.php/php-src/ext/standard/filestat.c?r1=1.134&r2=1.135&ty=u Index: php-src/ex

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2005-02-17 Thread Anantha Kesari H Y
hyanantha Thu Feb 17 08:57:21 2005 EDT Modified files: /php-src/ext/standard filestat.c Log: NetWare LibC has pwd.h http://cvs.php.net/diff.php/php-src/ext/standard/filestat.c?r1=1.133&r2=1.134&ty=u Index: php-src/ext/standard/filestat.c diff -u p

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c

2004-10-19 Thread Andrey Hristov
Doesn't this blow up the portability of scripts? andrey Anantha Kesari H Y wrote: hyanantha Tue Oct 19 04:21:25 2004 EDT Modified files: /php-src/ext/standard filestat.c Log: As NetWare LibC don't have the implementation of chown and chgrp there is no point

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c

2004-10-19 Thread Derick Rethans
On Tue, 19 Oct 2004, Anantha Kesari H Y wrote: > hyanantha Tue Oct 19 04:21:25 2004 EDT > > Modified files: > /php-src/ext/standard filestat.c > Log: > As NetWare LibC don't have the implementation of chown and chgrp > there is no point in exposing this function to PHP

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2004-10-19 Thread Anantha Kesari H Y
hyanantha Tue Oct 19 04:21:25 2004 EDT Modified files: /php-src/ext/standard filestat.c Log: As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP http://cvs.php.net/diff.php/php-src/e

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2004-09-29 Thread Anantha Kesari H Y
hyanantha Wed Sep 29 05:47:16 2004 EDT Modified files: /php-src/ext/standard filestat.c Log: removed redundant NEW_LIBC and CLIB_STAT_PATCH checks for NETWARE http://cvs.php.net/diff.php/php-src/ext/standard/filestat.c?r1=1.131&r2=1.132&ty=u Index

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2004-09-02 Thread Stanislav Malyshev
stasThu Sep 2 05:39:56 2004 EDT Modified files: /php-src/ext/standard filestat.c Log: MF4: fix crash if shutdown uses file stats http://cvs.php.net/diff.php/php-src/ext/standard/filestat.c?r1=1.130&r2=1.131&ty=u Index: php-src/ext/standard/filestat

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c /main php_streams.h /main/streams plain_wrapper.c

2003-12-01 Thread Andi Gutmans
At 07:47 PM 12/1/2003 +, Sara Golemon wrote: + if (strncmp(url, "file://", 7) == 0) { + url += 7; + } Hi Sara, Please when you write such code don't use constant numbers but sizeof. It should look something like: + if (strncmp(url, "file://", sizeof("file://")-1

[PHP-CVS] cvs: php-src /ext/standard filestat.c /main php_streams.h /main/streams plain_wrapper.c

2003-12-01 Thread Sara Golemon
pollita Mon Dec 1 14:47:06 2003 EDT Modified files: /php-src/main php_streams.h /php-src/main/streams plain_wrapper.c /php-src/ext/standard filestat.c Log: Move safemode/basedir checks for url_stat to plain_wrapper. Index: php-src/ma

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c php_filestat.h

2003-11-07 Thread Sascha Schumann
On Fri, 7 Nov 2003, Derick Rethans wrote: > On Fri, 7 Nov 2003, Marcus Boerger wrote: > > > helly Fri Nov 7 04:16:17 2003 EDT > > > > Modified files: > > /php-src/ext/standard filestat.c php_filestat.h > > Log: > > Make php_stat() available for extensions. > > This requi

Re: [PHP-CVS] cvs: php-src /ext/standard filestat.c php_filestat.h

2003-11-07 Thread Derick Rethans
On Fri, 7 Nov 2003, Marcus Boerger wrote: > helly Fri Nov 7 04:16:17 2003 EDT > > Modified files: > /php-src/ext/standard filestat.c php_filestat.h > Log: > Make php_stat() available for extensions. This requires bumping up the API number Derick -- PH

[PHP-CVS] cvs: php-src /ext/standard filestat.c php_filestat.h

2003-11-07 Thread Marcus Boerger
helly Fri Nov 7 04:16:17 2003 EDT Modified files: /php-src/ext/standard filestat.c php_filestat.h Log: Make php_stat() available for extensions. Index: php-src/ext/standard/filestat.c diff -u php-src/ext/standard/filestat.c:1.126 php-src/ext/standard

[PHP-CVS] cvs: php-src /ext/standard filestat.c

2003-09-02 Thread Jani Taskinen
sniper Mon Sep 1 21:22:03 2003 EDT Modified files: /php-src/ext/standard filestat.c Log: - Fixed bug #25343 (is_dir() gives warning on FreeBSD). Index: php-src/ext/standard/filestat.c diff -u php-src/ext/standard/filestat.c:1.125 php-src/ext/standard/fil

[PHP-CVS] cvs: php-src /ext/standard filestat.c /ext/standard/tests/file bug24313.phpt /main fopen_wrappers.c fopen_wrappers.h

2003-06-24 Thread Ilia Alshanetsky
iliaa Tue Jun 24 09:56:25 2003 EDT Modified files: /php-src/main fopen_wrappers.h fopen_wrappers.c /php-src/ext/standard filestat.c /php-src/ext/standard/tests/filebug24313.phpt Log: Fix for bug #24313 (port from dead PHP_5 branch)