Andi Gutmans
799a00f19a
- Before removing php_virtual_cwd.[ch] #if 0 them to make sure nothing
...
is broken by this.
2000-09-03 19:44:35 +00:00
Andi Gutmans
299d1295b6
- Remove another TSRM->Zend dependency
2000-09-02 18:40:41 +00:00
Andi Gutmans
97d509cc95
- Get rid of unused code and stop including PHP's win95nt.h
2000-09-02 16:08:24 +00:00
Sascha Schumann
626fc9a773
Export IS_ABSOLUTE_PATH to the outside world.
2000-08-27 19:36:35 +00:00
Andi Gutmans
eea3a56973
- This should be more efficient.
...
- Post 4.0.2 it's time to move the whole opened_path and virtual stuff
- to emalloc() and friends including some alloca() improvements where
- possible but I don't want to break anything before
2000-08-27 19:20:53 +00:00
Andi Gutmans
39770d99ea
- Try and fix problem with opening wrong file.
2000-08-27 18:01:17 +00:00
Andi Gutmans
892e949196
- Checking for ".." isn't enough. include_once() could mess up even if both
...
- names didn't include ".." but were referenced different directories which
- were symlinked to each other.
2000-08-20 19:49:10 +00:00
Andi Gutmans
80d878279b
- Sascha's patch should make PHP in VIRTUAL_DIR mode also change to the
...
- right directory so this shouldn't be needed anymore.
2000-08-20 18:12:16 +00:00
Sascha Schumann
6358dad0e1
const'ify virtual-cwd API
2000-08-20 14:11:50 +00:00
Sascha Schumann
c86ec8b1a9
Add virtual_real_chdir_file. Silly name for a useful function.
2000-08-20 12:49:56 +00:00
Stanislav Malyshev
b5f74d44e9
fix return code for virtual_file_ex
2000-08-08 16:30:42 +00:00
Stanislav Malyshev
57c54a093b
Replace min() - not everyone has it
2000-08-06 16:34:37 +00:00
Andi Gutmans
c756ae2d9f
Virtualize realpath, chmod, chown and utime
...
This should fix #5935 and #5904
@- Virtualize realpath, chmod, chown and utime (Stas)
2000-08-06 16:22:07 +00:00
Zeev Suraski
d8a4278ab4
- Update .dsp's
...
- Make non ZTS Win32 build again
2000-07-29 10:48:57 +00:00
David Croft
0836e10a15
various version 2.0 and 2.01 licenses -> 2.02
2000-07-24 05:41:02 +00:00
Sascha Schumann
e8101d4f7b
Unify use of my email address
2000-07-10 10:09:15 +00:00
Andi Gutmans
da8843aa55
- Fix problem with VIRTUAL_DIR and relative paths containing ..
2000-06-28 17:30:30 +00:00
Andi Gutmans
eaa2a158c8
- Fix bug with VIRTUAL_DIR, .., and symlinks.
2000-06-27 18:18:18 +00:00
Zeev Suraski
c51ba263dd
- Fix bug in virtual dir under Windows when using absolute paths without
...
- drive letter
2000-06-26 16:24:28 +00:00
Andi Gutmans
303dc9e96a
- Forgot to remove comment
2000-06-24 16:24:01 +00:00
Andi Gutmans
4b5e7d6618
- Only use VIRTUAL_DIR in ZTS mode until it is thoroughly tested.
...
- Mutex popen() in Windows as the UNIX trick doesn't work there.
2000-06-24 16:10:18 +00:00
Andi Gutmans
7d5cfd3766
- virtual_fopen() should fail on empty path
2000-06-15 18:36:46 +00:00
Andi Gutmans
719d995a9d
- On UNIX support popen() which works with current working directory
...
- when in VIRTUAL_DIR mode.
2000-06-12 19:39:04 +00:00
Andi Gutmans
02c42362ff
- Start of popen() fix for UNIX. Still unclear what we'll do on Windows.
2000-06-12 18:48:18 +00:00
Andi Gutmans
a1c036b8cf
- Fix bug in virtual_file_ex when the resulting path is the root.
2000-06-10 15:15:28 +00:00
Stanislav Malyshev
5af7dff758
add opendir to VIRTUAL_DIR
2000-06-04 08:29:11 +00:00
Stanislav Malyshev
375474ce86
chdir returns -1 on error, so should V_CHDIR
2000-06-04 07:59:32 +00:00
Andi Gutmans
a0e46521e3
- License is at 2.02
2000-05-29 17:03:24 +00:00
Rasmus Lerdorf
ebd9e89fcf
Clean up EXIF code and give up on extracting the embedded thumbnail for
...
now. Will return to it when I find some real specs on it.
Also added a couple of missing copyright headers
2000-05-29 16:34:19 +00:00
Zeev Suraski
1ae552c7d1
Creat is creat is creat, no open
2000-05-29 11:45:20 +00:00
Andi Gutmans
617266e33e
- Virtual current working directory is now enabled
...
- Added support for mkdir()/rmdir() and more
2000-05-23 17:02:21 +00:00
Andi Gutmans
521f03c184
- Support virtual unlink()
2000-05-23 14:36:27 +00:00
Sascha Schumann
69223ccebd
ANSIfy declarations/prototypes
2000-05-16 23:38:51 +00:00
Andi Gutmans
0aa5f2ea3c
- Reverse the patch until I have time to look at it. The global id should
...
be defined by ZEND_DECLARE_GLOBALS(cwd)
2000-05-16 14:59:30 +00:00
Andi Gutmans
4e6e741af8
- Commit Sascha's patch to the virtual_cwd code. Will test it on Windows
...
soon.
2000-05-16 14:47:55 +00:00
Sascha Schumann
e905fabe0d
s/strtok_r/php_strtok_r/
2000-05-04 11:36:33 +00:00
Sascha Schumann
c801cfb879
php_reentrancy.h is needed for strtok_r
2000-05-01 03:43:07 +00:00
Sascha Schumann
be00d130e6
Fix virtual_open() by adding ellipse
2000-04-30 03:06:00 +00:00
Andi Gutmans
f1d5167ae3
- Implement V_OPEN() V_OPEN_CREAT() and V_CREAT().
...
Next step is to substitute all open()'s and creat()'s in the PHP tree
2000-04-29 19:01:58 +00:00
Zeev Suraski
972ef3f31b
- Missed second argument
2000-04-21 14:50:09 +00:00
Andi Gutmans
dd05651046
- Fix last fix for Windows
2000-04-21 14:46:24 +00:00
Andi Gutmans
36faff14b1
- Small fix to virtual_Chdir_file() to include the trailing slash when
...
the file is in the root directory.
2000-04-21 14:42:20 +00:00
Andi Gutmans
503bb3bedb
- Export strlcat()/strcpy() for Frank.
...
- Windows doesn't have lstat().
2000-04-20 17:40:03 +00:00
Zeev Suraski
883bd2b1de
- Fix virtual cwd bug
...
- Add more V_STAT() V_LSTAT() changes
2000-04-20 17:24:01 +00:00
Andi Gutmans
e40268d07c
- Add missing V_STAT()
2000-04-20 16:38:08 +00:00
Andi Gutmans
897b413c2d
- Try and resolve the problem with current working directories not being
...
set to the script directory
2000-04-10 17:39:11 +00:00
Andi Gutmans
c981be0bca
- Don't need to extern functions
...
- Use virtual_file_ex() in expand_filepath()
2000-04-09 19:54:50 +00:00
Zeev Suraski
12aae5ab66
- Fix const declaratirs in virtual cwd
...
@- Fixed a problem in include_once() with non constant arguments (Andi & Zeev,
@ Zend Engine)
2000-04-07 21:16:08 +00:00
Andi Gutmans
49a34c6811
- Not needed anymore
2000-04-05 20:50:57 +00:00
Andi Gutmans
d7dc66bdbd
- More fixes
2000-04-05 20:49:51 +00:00