Commit Graph

148 Commits

Author SHA1 Message Date
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
Jon Parise
34821ed474 Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.

This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
Ilia Alshanetsky
ed40ae2650 emalloc -> safe_emalloc 2003-08-11 23:16:54 +00:00
Ilia Alshanetsky
6b5b6079da Fix for bug #24313 (port from dead PHP_5 branch) 2003-06-24 13:56:25 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
ea1f34e892 Fixed a bug that would cause filetype() to return "unknown" for
non-existent files on Win32.
2003-02-27 20:38:00 +00:00
Ilia Alshanetsky
560e33968d Fixed bug #21410 (fixed handling of NULL or "" files on Win32) 2003-02-27 16:41:23 +00:00
Shane Caraveo
5048f8c60e is_executable() now available on win32
stats can now get information provided by access()
2003-02-09 03:49:43 +00:00
Sara Golemon
4d789b593f Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
2003-01-09 21:57:45 +00:00
Derick Rethans
b816089fbf - Fix some of the netware crap 2003-01-05 00:56:17 +00:00
Derick Rethans
e58c221204 - Change Warnings to Notices 2003-01-04 23:55:57 +00:00
Anantha Kesari H Y
830298beb8 Modified for NetWare. 2003-01-03 14:37:42 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Ilia Alshanetsky
c668055159 Remove pointless checks for array_init() return values. 2002-12-05 22:28:02 +00:00
Sascha Schumann
397277b8c3 Fix php_stat brokenness. 2002-10-04 01:05:03 +00:00
Stefan Esser
a87f4afc35 repairing the chaos
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
2002-10-01 21:53:25 +00:00
Sascha Schumann
7915f83342 (PHP touch) Remove an extraneous time() call.
Yasuo added this line in rev 1.90 for no apparent reason.
2002-09-23 14:59:24 +00:00
Andi Gutmans
288e9b1793 - Don't think we need the do { } while (0) here 2002-09-14 06:38:48 +00:00
Edin Kadribasic
ad34142e97 My compiler likes it like this. 2002-09-11 23:10:58 +00:00
Sterling Hughes
b34bec20a7 max this use the virtual_filepath() function and feel all threadsafe and
wholesome inside
2002-09-11 22:40:56 +00:00
foobar
71ecad8fbe Remove unnecessarily commented code. 2002-09-05 21:16:34 +00:00
Derick Rethans
2b6ba50601 - Unbreak build 2002-09-05 18:11:33 +00:00
Derick Rethans
99850fcc28 - Tabs for indentation 2002-09-05 14:36:33 +00:00
Anantha Kesari H Y
8b8f1e0590 NetWare related additions/modifications 2002-09-05 14:25:07 +00:00
Marcus Boerger
149ad05b4f php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Dan Kalowsky
18c0d30c58 Commiting Steph@php.net's patch to re-enable touch on Win32 machines 2002-07-30 20:24:13 +00:00
Stefan Esser
02e6cd022a all functions based on php_stat are now safe mode aware... 2002-07-26 08:04:42 +00:00
Derick Rethans
728f2de442 Unify error messages 2002-07-08 12:52:22 +00:00