Commit Graph

14 Commits

Author SHA1 Message Date
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