Arnaud Le Blanc
5ef7ecafc1
initialize optional vars
2008-10-21 22:06:49 +00:00
Arnaud Le Blanc
a51e5ebaeb
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
...
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:24:04 +00:00
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Sara Golemon
74adb81f42
Add scoping braces for variable declaration
2007-12-17 05:16:40 +00:00
Jani Taskinen
ba1e024895
- Fix crash when chown() 2nd parameter is something else than integer or string
2007-11-21 11:28:26 +00:00
Dmitry Stogov
ab34cdc706
fixed SIGSEGV in chgrp()
2007-11-19 15:55:48 +00:00
Jani Taskinen
1a0b4cfb37
ws
2007-11-05 16:29:04 +00:00
Jani Taskinen
b1447733b7
ws
2007-11-05 16:14:11 +00:00
Jani Taskinen
4674d13859
ws + cs + sync some fixes from PHP_5_3 branch
2007-11-05 16:12:55 +00:00
Jani Taskinen
eb1a26c8b2
- Fixed bug #43137 (rmdir() and rename() do not clear statcache)
2007-10-31 13:22:18 +00:00
Antony Dovgal
fba42a8530
check the return value of getgroups() for -1 (coverity issue #390 )
2007-09-21 14:05:01 +00:00
Hannes Magnusson
16737ee566
MFB: Fixed bug #42072 (No warning message for clearstatcache() with arguments).
2007-09-02 11:53:51 +00:00
Antony Dovgal
b608bd654d
fix ws, cs & folding
2007-07-14 08:38:20 +00:00
Antony Dovgal
91e066b522
fix build on b0rked OSes (see #41920 )
2007-07-09 18:10:17 +00:00
Antony Dovgal
60639069c5
simplify disk_*_space() functions sources by moving ifdef'ed implementations into separate functions
2007-02-26 20:35:41 +00:00
Antony Dovgal
67dda0e7d6
fix folding
2007-02-26 14:11:14 +00:00
Dmitry Stogov
7d1110a3fb
Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
...
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:32:55 +00:00
Marcus Boerger
0151e6ee5b
- Use correct string inunicode mode
2007-01-18 22:57:03 +00:00
Marcus Boerger
207dd9cefd
- Add php_u_stat()
2007-01-16 22:10:25 +00:00
Sara Golemon
8ed4339000
Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX
2007-01-11 01:52:24 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Andrei Zmievski
0184d9c864
Fix group macro access.
2006-12-01 18:42:24 +00:00
Ilia Alshanetsky
b9e264d497
MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp()
...
are not thread safe).
2006-11-29 23:46:25 +00:00
Dmitry Stogov
a5e8f02f0e
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
2006-11-06 14:55:14 +00:00
Sara Golemon
b087b2ff62
PHP6 Updates
2006-09-21 23:36:13 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Antony Dovgal
9f65fd37c6
add error messages to disk_free_space() & disk_total_space() (feature request #37971 )
2006-06-30 10:52:51 +00:00
Ilia Alshanetsky
1dd395b27f
MFB: Fixed bug #37505 (touch() truncates large files).
2006-05-19 02:51:18 +00:00
foobar
a6a3c9059d
- Fixed bug #36909 (ld: Undefined symbols: _lchown)
2006-04-10 11:56:04 +00:00
Ilia Alshanetsky
f58ef85af5
MFB51: Fixed bug #36875 (is_*() functions do not account for open_basedir).
2006-04-09 17:58:02 +00:00
Ilia Alshanetsky
c6ba5765be
Nuke safe_mode
2006-02-19 18:19:33 +00:00
Andi Gutmans
e94e25e621
Start nuking safe_mode. Still a lot of work to do...
2006-02-19 00:55:22 +00:00
Rob Richards
13048a3cb5
fix win build
2006-01-04 17:34:44 +00:00
Derick Rethans
223aa7294d
- Added the lchown() and lchgrp() functions which change permissions and group
...
permissions on symbolic links.
#- We'll also add this to PHP 5.1.3? or PHP 5.2, so I didn't add it to NEWS.
2006-01-04 12:22:23 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
0ac2b74b0b
- Nuke php3 legacy
2005-12-05 22:53:34 +00:00
Wez Furlong
58f42f04ad
merge VCWD_ACCESS bugfix to head.
...
Test suite is unusable in HEAD, so I guess it works here too.
2005-10-22 17:26:16 +00:00
Dmitry Stogov
8f6f97a77d
Unicode support
2005-08-23 12:53:31 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Anantha Kesari H Y
f43386764f
In NetWare statfs f_bavail member is known as f_bfree
2005-02-21 09:08:54 +00:00
Anantha Kesari H Y
5f243d7af7
NetWare LibC has pwd.h
2005-02-17 13:57:21 +00:00
Anantha Kesari H Y
2559c94740
As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP
2004-10-19 08:21:24 +00:00
Anantha Kesari H Y
745beb2deb
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks for NETWARE
2004-09-29 09:47:15 +00:00
Stanislav Malyshev
dbc1cb5e92
MF4: fix crash if shutdown uses file stats
2004-09-02 09:39:55 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Sara Golemon
681d18effd
Move safemode/basedir checks for url_stat to plain_wrapper.
2003-12-01 19:47:05 +00:00
Sara Golemon
026d4c9e4c
Route php_stat() via streams/url_stat API (php_stream_stat_path).
...
This enables fopen-wrappers support on stat() and related family calls.
2003-11-28 23:25:28 +00:00
Marcus Boerger
ccb6311406
Make php_stat() available for extensions.
2003-11-07 09:16:16 +00:00
foobar
62d2810cfc
- Fixed bug #25343 (is_dir() gives warning on FreeBSD).
2003-09-02 01:22:02 +00:00