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
Sterling Hughes
a6d815fb7c
fix win32 build
2002-07-07 21:51:25 +00:00
Derick Rethans
c73733c59a
- Fix windows build
...
#- I could not test this, please try!
2002-07-03 06:45:01 +00:00
foobar
980d7a11a9
Fix the nasty crash. And Sterling..test next time before you commit?
2002-07-03 03:18:55 +00:00
Sterling Hughes
d4512030bb
use access instead of manually determining file permissions..
2002-07-02 21:02:34 +00:00
Markus Fischer
720a890f84
- ZTS gotcha
2002-05-20 17:41:35 +00:00
Markus Fischer
96bf2d1deb
- Add open_basedir check for all functions using php_stat() (filesize, stat,
...
etc), closes #11563 .
2002-05-20 17:18:18 +00:00
foobar
2f12941fac
- Made all is_*() functions to return only boolean values.
...
- Killed the "file not found" error for is_link(). (finally..)
2002-05-16 01:07:21 +00:00
Rasmus Lerdorf
f81ec94ac0
Make sure newtime is never NULL
2002-05-13 18:11:27 +00:00
Yasuo Ohgaki
6cc8919dc4
Fixed bug #16861 .
...
touch sets wrong atime or mtime when they are not specified.
touch silently failed when HAVE_UTIME is not defined.
(This needs more consideration. Which platform does not support it?)
# Derick, after HAVE_UTIME issue is resovled, this should be merged.
# or we can just merge 1st problem for now.
2002-04-26 23:46:51 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sascha Schumann
a1dbb4ab16
(PHP touch) Operate on a stack buffer.. no need for allocating newtime
...
on the heap.
2002-01-10 07:25:00 +00:00
Sascha Schumann
edfd6d0988
Add three-parameter touch() which enables users to set
...
mtime/atime to different values.
2002-01-10 07:21:57 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sterling Hughes
af1c7070f7
fix execution order
2001-10-06 18:59:39 +00:00
Sterling Hughes
16da751e3b
avoid TSRMLS_FETCH()
2001-10-06 18:55:09 +00:00