Ilia Alshanetsky
e010d8ac9b
Revert patch r1.40, bug is in glob() not IS_ABSOLUTE_PATH()
2003-09-20 02:06:42 +00:00
Ilia Alshanetsky
142c325f23
Fixed bug #25583 (Incorrect handling of absolute path without drive).
2003-09-20 01:39:55 +00:00
foobar
28447d62da
- Fixed bug #25240 (spaces before pre-processor directives)
2003-08-25 23:24:29 +00:00
Ilia Alshanetsky
63fcd301e9
Fixed bug #21958 (workaround for unusual realpath() on AIX & Tru64).
2003-08-07 15:32:18 +00:00
Ilia Alshanetsky
5ead9d369e
Fixed bug #17414 (pthreads bug work around)
...
Patch by timo.teras[at]iki.fi
2003-08-05 20:03:54 +00:00
Sebastian Bergmann
60ffd0ea5d
Restore HEAD of TSRM to what it was two days ago.
2003-06-25 05:05:06 +00:00
James Cox
76f85107e2
bring head into sync with the php4 branch
2003-06-23 01:27:13 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sascha Schumann
4d361edd91
cleanup macros
2003-06-04 00:01:21 +00:00
Derick Rethans
810ac117f0
- Fix non-ZTS build after Sterling's changes to TSRM
2003-04-28 10:40:28 +00:00
Sterling Hughes
a294f9b2d1
add TSRMLS_FETCH_CTX which allows you to map a variable to a ts context.
...
This is useful when you are mapping callbacks, you can simply associate
a struct member to a thread context:
void mycallback(my_struct *user) {
TSRMLS_FETCH_CTX(user->thread_ctx);
}
2003-04-27 21:57:07 +00:00
Wez Furlong
cfd0466389
Fix for Bug #21310 , based on a patch by jflemer@php.net.
2003-03-17 13:40:45 +00:00
foobar
8a316d5f69
VCWD_LSTAT is not available on win32/netware
2003-02-20 06:16:37 +00:00
Zeev Suraski
fb607799cc
More Win32 build improvements
2003-02-17 13:27:15 +00:00
Derick Rethans
f35f5f56c4
- Whitespace fixes
2003-02-09 12:15:05 +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
Zeev Suraski
e8de102cd6
Fix leaks
2003-01-07 12:11:40 +00:00
Zeev Suraski
efb9fdf0e6
call dtors on shutdown
2003-01-07 10:33:22 +00:00
Anantha Kesari H Y
455257974b
NetWare related changes/modifications.
2003-01-02 14:29:00 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Andi Gutmans
a58e6cc8ad
- Add comment in macro and remove some now unneeded code
2002-12-20 08:42:50 +00:00
Ilia Alshanetsky
709681e085
Make IS_ABSOLUTE_PATH use the IS_UNC_PATH macro rather then duplicate the
...
code in the IS_UNC_PATH macro.
2002-12-20 00:41:41 +00:00
Anantha Kesari H Y
e46b0bfa79
Netware related changes/modifications.
2002-12-19 11:12:04 +00:00
Ilia Alshanetsky
9a24983487
On Win32 make PHP treat UNC paths as absolute paths, this should solve bugs
...
such as #20831 . Thanks to Wez Furlong for isolating the problem.
2002-12-11 00:32:33 +00:00
Ilia Alshanetsky
f0e2c04582
Revert of previous patch ad requested by Andi.
2002-11-15 16:36:55 +00:00
Ilia Alshanetsky
8bfe7d76ea
Fix bug 19689, solution suggested by dmitry@koteroff.ru.
2002-11-14 13:45:08 +00:00
Ilia Alshanetsky
b03d1d6032
Fix missing header warnings (alloca.h) on Sun Os & Tru64.
2002-11-11 16:32:36 +00:00
Ilia Alshanetsky
78e2e69b23
Instead of checking whether realpath exists based on OS. Use the
...
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868 .
2002-11-06 18:07:23 +00:00
Andi Gutmans
bdc5bb5739
- Fix TSRM_ERROR macro
2002-11-05 17:34:47 +00:00
Ilia Alshanetsky
cfe0c82034
Added 4th argument to virtual_file_ex() that specifies whether or not
...
realpath() should be used during path resolving. In a number of functions
we do not want to use realpath(), since realpath() will resolve symlinks.
2002-11-05 14:50:17 +00:00
Ilia Alshanetsky
ecb5c7e08e
Revert virtual_link() patch.
2002-11-04 23:24:15 +00:00
Andi Gutmans
7dd124803c
- Clean up mess made by netware guys. There's no reason not to abstract
...
- the macro a tiny bit more allowing the code to look cleaner. The more
- #ifdef's code has the more unreadable it becomes.
2002-11-04 20:45:28 +00:00
Ilia Alshanetsky
9087728798
Fix bug #20235 .
2002-11-04 05:19:05 +00:00
Shane Caraveo
1f0523c85a
windows is smart enough to provide a way to set cwd for new processes.
2002-10-29 07:32:52 +00:00
Ilia Alshanetsky
e94b9ea9ee
Fixed a bug noticed by Jon Parise.
2002-10-22 18:57:59 +00:00
Ilia Alshanetsky
1de9cddb3f
Fixed compile warnings.
2002-10-22 18:39:33 +00:00
Ilia Alshanetsky
d8480c8088
Fixed symlink/link functions on ZTS builds.
...
Made URL detection in symlink code use php_stream_locate_url_wrapper().
2002-10-21 23:35:29 +00:00
Derick Rethans
cdc3b6d652
- Whitspace
2002-10-05 11:34:02 +00:00
David Reid
2a0fbded3d
Add BeOS thread support to TSRM. This should not impact on any other OS's
...
but allows us to build PHP with threading support and therefore we can
build as an Apache 2 module.
The locking is currently done using benaphores but this may be reviewed.
2002-10-05 11:26:17 +00:00
Sascha Schumann
db3f7448a1
Add VCWD_ACCESS
2002-10-04 01:04:00 +00:00
Zeev Suraski
e32757ef4c
This is way too verbose... Please enable it in your local .dsp settings if
...
you like it :)
2002-09-04 14:14:59 +00:00
Harald Radi
99c90db11a
make win32 debug output more verbose
2002-08-07 14:47:42 +00:00
Venkat Raghavan S
c61598f32b
Changes to build TSRM on NetWare
2002-05-29 08:41:21 +00:00
Venkat Raghavan S
ab699a7c2b
Change to build on NetWare: TSRM_CONFIG.H not required
2002-05-29 05:16:58 +00:00
Venkat Raghavan S
d69261d12c
Basic NetWare changes
2002-05-28 08:54:17 +00:00
Rui Hirokawa
860e675884
fixed directory access problem when direcory name is encoded in japanese Shift_JIS encoding.
2002-04-25 14:43:40 +00:00
Rui Hirokawa
222a2f4fef
fixed problem when multibyte character is included in file path on Windows. If _MBCS is defined, _tcstok is defined as _mbstrtok which is multibyte enabled strtok. If _MBCS is not defined, _tcstok is defined as strtok.
2002-04-21 22:20:14 +00:00
Sascha Schumann
cb8181dd4e
Fix check.. tsrm_config.h exists on all platforms but Win32.
2002-03-07 15:07:49 +00:00
Sebastian Bergmann
d863d52a5d
Update headers.
2001-12-11 15:16:21 +00:00
foobar
9b81440b76
This was needed afterall. Without this Apache segfaulted when accessing PHP scripts.
2001-12-09 23:43:20 +00:00