Dmitry Stogov
41c81f20e1
opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext
2006-11-10 11:20:48 +00:00
Antony Dovgal
58b858287b
MFH: fix #39060 (virtual_file_ex() is broken on *BSD)
2006-10-06 14:03:19 +00:00
Dmitry Stogov
cb1f58e39d
Fixed bug #38989 (Absolute path with slash at beginning doesn't work on win)
2006-10-05 08:03:11 +00:00
Antony Dovgal
bb5986b8a3
MFH
2006-10-04 13:24:19 +00:00
Ilia Alshanetsky
9e62f8b687
Added handling for virtual_file_ex() failures.
...
# Patch by Nuno
2006-09-28 15:48:35 +00:00
Dmitry Stogov
811634bd8a
Fixed bug #38579 (include_once() may include the same file twice)
2006-09-20 07:35:59 +00:00
Dmitry Stogov
75876d57be
Fixed VIRTUAL_DIR inconsistency
2006-09-04 08:18:15 +00:00
Antony Dovgal
05a1ac2a35
MFH: fix separate TSRM build
2006-08-22 13:01:44 +00:00
Antony Dovgal
3eea546142
MFH
2006-08-05 13:17:50 +00:00
Antony Dovgal
8e4334159c
revert previous patch
2006-08-04 20:55:00 +00:00
Antony Dovgal
5cff1c6e7e
MFH: fix #38276 (file_exists() works incorrectly with long filenames on Windows)
2006-08-03 14:17:58 +00:00
foobar
22a8c3113b
MFH: - Fixed bug #36909 (ld: Undefined symbols: _lchown)
2006-04-10 11:56:18 +00:00
Dmitry Stogov
98bacb0e21
Fixed bug #35988 (Unknown persistent list entry type in module shutdown)
2006-03-14 15:16:07 +00:00
Derick Rethans
f87e7b8bab
- Added lchown() and lchgrp() to change user/group ownership of symlinks.
2006-03-05 18:57:54 +00:00
Antony Dovgal
1f8b320679
MFH: move function definition from .h to .c, where it should be
2006-02-08 20:50:03 +00:00
Antony Dovgal
a3b941642c
init variables
2006-02-06 20:37:11 +00:00
Dmitry Stogov
4b1791a767
Fixed bug #36016 (realpath cache memleaks)
2006-01-16 09:12:22 +00:00
Dmitry Stogov
71d4d4a91f
Fixed bug #36016 (realpath cache memleaks)
2006-01-16 09:09:37 +00:00
Andi Gutmans
30cb5e36b8
- Update to 2006
2006-01-04 23:55:42 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
d411d72053
MFH:fix mkdir() function properly (patch by nlopess)
2005-12-23 18:57:39 +00:00
Edin Kadribasic
a151e632d5
MFH: Back out a portion of the previous patch which broke win32 file functions
2005-12-22 21:33:38 +00:00
Ilia Alshanetsky
5df2f5df42
Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any string
...
greater then 255 characters).
2005-12-20 14:24:14 +00:00
Sara Golemon
5fc9d15692
MFH: allocate_new_resource() handles the malloc() for us. Don't leak by mallocing twice.
2005-08-29 22:05:25 +00:00
foobar
894237d531
Fix compile failure with GCC 4.0.x
2005-08-05 22:28:23 +00:00
foobar
b711486feb
Bump up year
2005-08-03 13:28:14 +00:00
Anantha Kesari H Y
032d0962c2
Netware pthreads support is good enough. So removing all these fixes of old times.
...
-- Kamesh
2005-07-16 11:38:40 +00:00
Anantha Kesari H Y
8b3becf06c
Reverting the DEFAULT_SLASH to / as it breaks the FreeBSD derived function of NetWare LibC like glob.
...
-- Kamesh
2005-07-07 07:12:44 +00:00
Anantha Kesari H Y
958803655e
gwtcwd of NetWare LibC gives a cwd with a volume information.
...
So using getcwdpath which gives with volume information.
getcwdpath gives with directory seperator as \ which is against our DEFAULT_SLASH of /. So finding and replacing \ with /
-- Kamesh
2005-07-07 07:10:50 +00:00
Anantha Kesari H Y
e61dfb0213
COPY_WHEN_ABSOLUTE is not needed for NetWare.
...
-- Kamesh
2005-07-07 06:52:44 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Sara Golemon
c281eb38ae
Unterminated paren group in BETHREADS definition of tsrm_tls_set() macro
2005-05-16 22:46:05 +00:00
Wez Furlong
4625889764
consolidate the various tls get/set calls for the different platforms into
...
a single macro, at Andi's request.
2005-04-28 02:55:14 +00:00
Wez Furlong
6d978a62f1
Add three new TSRM api functions:
...
TSRM_API void *tsrm_new_interpreter_context(void);
TSRM_API void *tsrm_set_interpreter_context(void *new_ctx);
TSRM_API void tsrm_free_interpreter_context(void *context);
These can be used, with a suitable SAPI, to host multiple interpreters on
the same thread.
2005-04-27 22:19:54 +00:00
Anantha Kesari H Y
5d4230a7e7
check should be on host_alias rather than on target_alias, but somehow works on configure generated using autoconf 2.57.
2005-04-27 13:22:18 +00:00
Zeev Suraski
18f4a3f9ff
Merge
2005-03-20 09:03:40 +00:00
foobar
2d521a73c8
Revert bad fix
2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
effa111c5e
Fix Jani breakage
2005-03-16 22:00:07 +00:00
Rasmus Lerdorf
86994c3357
Add a comment to remind me to have a look at this at some point.
2005-02-27 18:45:07 +00:00
foobar
9a3c0eca4b
- cross-compile fix
2005-02-24 19:05:01 +00:00
Anantha Kesari H Y
295f8d918f
NetWare can use Autoconf based build system.
2005-02-22 06:05:20 +00:00
Anantha Kesari H Y
91b48c2a89
NetWare LibC has lstat implementation
2005-02-21 10:13:07 +00:00
Anantha Kesari H Y
787cf59dee
NetWare can make use of autogenerated config header file
2005-02-21 10:07:28 +00:00
Anantha Kesari H Y
e32ae40fbf
NetWare has pthreads implementation
2005-02-21 10:05:07 +00:00
Anantha Kesari H Y
ba980b12ad
NetWare can use the tsrm_config.h
2005-02-21 10:01:34 +00:00
Anantha Kesari H Y
3b4d482055
NetWare LibC has a lstat implementation
2005-02-21 09:56:28 +00:00
Anantha Kesari H Y
bcbca0e397
NetWare has a compliant pthread implementation
2005-02-01 13:04:26 +00:00
Stefan Esser
f8787a67ed
finally use what we calculated
2005-01-15 18:19:49 +00:00
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
...
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Dmitry Stogov
0854cad7a2
Unnecesary check was removed
2005-01-08 13:53:45 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
Stefan Esser
1a319ae1ac
Fixed: virtual_popen in ZTS mode
2004-12-02 01:04:23 +00:00
Stefan Esser
b08147d46a
Partly reverted because of problems with some realpath() implementations
2004-12-02 00:44:07 +00:00
Stefan Esser
6076a4a66c
Fixed behaviour of TSRM in case of realpath() failure
2004-12-01 22:56:05 +00:00
Anantha Kesari H Y
b140c80396
removed redundant CLIB_STAT_PATCH checks. defined the IS_ABSOLUTE_PATH macros to suit the NetWare filesystem convention
2004-10-08 09:48:20 +00:00
Anantha Kesari H Y
a980f7babe
removed redundant NEW_LIBC checks and added the code to recognize the file naming convention in NetWare(supports Windows based drive names like sys: data: and unix like / (sys: being root)
2004-10-08 08:59:11 +00:00
Ilia Alshanetsky
1594170f85
Fixed compiler warning.
2004-10-06 23:56:29 +00:00
Andi Gutmans
216853c0db
- Apply realpath() cache patch. We don't use it if we're in safe_mode and
...
- friends (which are quite slow anyway).
- If it proves to be stable I'll remove the #ifdef's in a few weeks.
2004-10-05 00:42:25 +00:00
Marcus Boerger
32bdaae133
Apply the fix
2004-07-15 22:17:55 +00:00
Andi Gutmans
c495c54069
- Fix typo although it isn't being built
2004-05-23 16:05:09 +00:00
Marcus Boerger
fbb28b36b7
- Once ts_free_id() will be used, we cannot call ctors for deleted ids
...
when creating new threads.
2004-05-13 06:53:21 +00:00
Marcus Boerger
88a02ba159
- More work on ts_free_id() but still keep it out
2004-05-12 22:28:28 +00:00
Marcus Boerger
c0be906309
ifdef out the ts_free_id until php 5.1 and until it is complete
2004-05-12 22:17:01 +00:00
Marcus Boerger
8e52e04c30
- Implement ts_free_id()
2004-05-12 10:30:46 +00:00
Stanislav Malyshev
07266a10ab
Disabled calling dtors on tsrm_shutdown - calling dtors in tsrm_shutdown makes
...
modules registering TSRM ids to crash, if they have dtors, since the module
is unloaded before tsrm_shutdown is called. Can be re-enabled after
tsrm_free_id is implemented.
2004-03-30 16:56:01 +00:00
Ilia Alshanetsky
f677b6032a
Fixed define.
2004-03-09 14:56:34 +00:00
Ilia Alshanetsky
d196309341
Fixed bug #27338 (memory leak inside tsrm_virtual_cwd.c on win32).
2004-03-09 14:50:11 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
f936f2983d
It seems that making the NewAPIs.h header globally visible causes
...
problems when compiling the com_dotnet extension, so I'm moving
it to be visible only to the VCWD code.
Thanks Frank :-)
2003-12-22 22:30:50 +00:00
Wez Furlong
42ed91f94c
Fix bug #26692 ; Could not find GetLongPathNameA under NT4.
...
This fix relies on you having the Platform SDK headers.
Using the new build system, the NewAPIs.h header will be detected
automatically, however, for people building using .dsp files,
you will need to add /DHAVE_NEWAPIS_H=1 to the TSRM project
if you have those newer headers.
2003-12-22 15:01:05 +00:00
Marcus Boerger
c1e905dfc1
Removed doubled loop from wrongly applied patch
2003-12-14 15:41:50 +00:00
Zeev Suraski
3788ddb383
Fix from Michael Sisolak (destructors weren't always properly called)
2003-12-14 09:36:23 +00:00
Wez Furlong
c976456071
fix uninitialized variable
2003-12-05 13:39:24 +00:00
Sebastian Bergmann
ef9dfc00ff
Fix for the problem I posted to internals@.
2003-12-05 11:32:24 +00:00
Wez Furlong
9a1ddeae65
Fix Andi's GetLongPathName code so that virtual_file_ex doesn't
...
fail if the file does not exist.
2003-12-04 17:02:09 +00:00
Wez Furlong
f7a86e5b5e
Explicitly include this header for SHFILEINFO.
...
# no need to MFH
2003-12-03 14:26:41 +00:00
Andi Gutmans
5620f21dd5
- Uncomment my code which improves Windows behavior of TSRM file paths.
...
- This will now not work on Windows 95 anymore.
2003-12-02 21:12:17 +00:00
Andi Gutmans
16002532b7
- Fix indentation
2003-12-01 20:18:55 +00:00
Andi Gutmans
db38966aba
- Don't fix include_once() case sensitivity problem for beta 2.
...
- I suggest discussing to stop supporting win95 and NT 4 in our binary
- distributions and change the code to #ifdef.
2003-10-30 09:58:17 +00:00
Andi Gutmans
78cb1bfe67
- This should work.
2003-10-29 21:33:05 +00:00
Andi Gutmans
1428850762
- Allow for case-insensitivity of include_once()/require_once() on
...
- Windows
2003-10-29 21:14:17 +00:00
foobar
db50cd251e
Aligned configure help texts.
2003-10-03 05:24:33 +00:00
Stanislav Malyshev
646e83e57f
MF4: Have realpath now
2003-09-30 09:49:40 +00:00
Stanislav Malyshev
1a773f17d3
MF4: add realpath function for win32
2003-09-30 09:48:53 +00:00
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