Commit Graph

223 Commits

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