Andi Gutmans
e3bbb4bc6c
- Fix
2000-04-05 20:45:49 +00:00
Zeev Suraski
794f312176
Fix a problem with the virtual directory mechanism (corruption of the filenames to open)
2000-04-05 19:02:28 +00:00
Andi Gutmans
de0d354736
- Create dtor function
2000-04-02 20:26:06 +00:00
Andi Gutmans
d8e64d623e
- This version of chdir_file should be compatible with the Apache one.
2000-04-02 19:45:02 +00:00
Andi Gutmans
ce283e2326
- A bit more cleanups.
...
- Need to implement virtual_chdir_file() to replace chdir_file() in
sapi/apache so that we can start testing apache and debug it.
2000-04-02 19:28:25 +00:00
Andi Gutmans
6a2da70f94
- Virtual cwd compiles now (need to uncomment #define in php.h for it to
...
be enbaled right now).
It seems to work very basic stuff
2000-04-02 19:04:59 +00:00
Andi Gutmans
997e63993b
- Move to new Zend macros
2000-04-01 20:11:01 +00:00
Andi Gutmans
301f8feab4
- PHP_WIN32 is not defined here use ZEND_WIN32
2000-04-01 18:22:46 +00:00
Andi Gutmans
57b398af1f
- More virtual_cwd work
2000-04-01 18:21:03 +00:00
Andi Gutmans
a73ba4b238
- Make php_virtual_cwd compile
2000-04-01 18:11:08 +00:00
Andi Gutmans
daf81344af
-
2000-04-01 17:08:03 +00:00
Andi Gutmans
8a4805c831
- Intermediate commit
2000-04-01 17:02:32 +00:00
Andi Gutmans
18e1e63e78
- Support getcwd() semantics.
...
- We need to change this whole business to work with ZTS globals
2000-03-25 16:28:16 +00:00
Andi Gutmans
1c8c9ad231
- Quick fopen() support. The code needs some cleaning up and we might
...
need to think of performance issues with the strdup()'s (definitely
use strndup() and maybe try to do with less string copies).
2000-03-19 21:10:48 +00:00
Andi Gutmans
959a550780
- Fix Win32 compile
2000-03-17 10:25:23 +00:00
Andi Gutmans
cd83fb18c0
- Last one for today.
2000-03-16 22:46:53 +00:00
Andi Gutmans
b46c44b485
- Allow passing of a verify function. This way we can easily create
...
chdir() and expandpath() wrappers.
2000-03-16 22:37:59 +00:00
Sascha Schumann
2a3fdcb73d
Cleanup
2000-03-16 19:19:14 +00:00
Sascha Schumann
8c9388c984
Merge in local changes
2000-03-16 19:14:13 +00:00
Andi Gutmans
14f76028aa
- php_is_dir_ok() should work on Windows now.
2000-03-16 19:10:01 +00:00
Andi Gutmans
c46d1e3402
- Fix a leak (I think)
2000-03-16 18:56:08 +00:00
Andi Gutmans
5c281c6116
- Make it compile on Windows.
2000-03-16 18:52:15 +00:00
Sascha Schumann
f0d631ad8f
Use old_state
2000-03-16 18:41:02 +00:00
Sascha Schumann
1ed113d925
(php_check_dots) we don't need len
2000-03-16 18:37:34 +00:00
Sascha Schumann
3cb7cf43de
virtual_chdir:
...
* added error handling
* fixed the special case where there were more DIRECTORY_UPs than
directory parts (i.e. cwd is d:\foo and path is ../..)
* no spaces between # and preprocessor directive - breaks some compilers
# added directory-existence check (not activated)
2000-03-16 18:25:47 +00:00
Andi Gutmans
0583ae2648
- Add initial virtual_getcwd() and virtual_chdir() for discussing with the
...
rest of the folks
2000-03-16 16:54:42 +00:00