Ilia Alshanetsky
466d9ba00a
Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are
...
not thread safe).
2006-11-29 23:34:49 +00:00
Dmitry Stogov
82f89748a4
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
2006-11-06 14:54:52 +00:00
Ilia Alshanetsky
1b2cc459c6
Fixed bug #37987 (invalid return of file_exists() in safe mode).
2006-07-02 13:51:40 +00:00
Antony Dovgal
a518b450fd
MFH: add error messages to disk_free_space() & disk_total_space() (feature request #37971 )
2006-06-30 10:53:11 +00:00
Ilia Alshanetsky
95875d9966
Fixed bug #37505 (touch() truncates large files).
2006-05-19 02:51:00 +00:00
Antony Dovgal
90b3dadc4e
fix #37191 (chmod takes off sticky bit when safe_mode is On)
2006-04-25 08:41:02 +00:00
foobar
22a8c3113b
MFH: - Fixed bug #36909 (ld: Undefined symbols: _lchown)
2006-04-10 11:56:18 +00:00
Ilia Alshanetsky
8afc859b55
*** empty log message ***
2006-04-09 17:57:27 +00:00
Rob Richards
d36a88bdda
fix win build
2006-03-06 20:21:52 +00:00
Derick Rethans
f87e7b8bab
- Added lchown() and lchgrp() to change user/group ownership of symlinks.
2006-03-05 18:57:54 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
d0a54af4c5
MFH: Nuke php3 legacy
2005-12-05 22:54:01 +00:00
Wez Furlong
890f7f46b4
Fix #34957 ; file access checks should use VCWD_ACCESS()
2005-10-22 17:02:10 +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