1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Commit Graph

2227 Commits

Author SHA1 Message Date
Andrei Zmievski 93bd6bc9de *** empty log message *** 1999-11-27 21:26:18 +00:00
Andrei Zmievski 82fb207f44 Don't cry, CVS. 1999-11-27 21:19:14 +00:00
Andrei Zmievski 10be07ab19 (PHP session_register) Modified to accept variable number of arguments,
any of which can be either string holding the variable name or an array
consisting of such variable names or other arrays.
1999-11-27 21:18:41 +00:00
Sascha Schumann 8573448db2 one tmbuf is enough 1999-11-27 21:18:01 +00:00
Zeev Suraski d7f3b5a182 - Win32 thread unsafe build updates 1999-11-27 21:08:49 +00:00
Andrew Skalski ecc77c81cc typecast void pointer to char* for pointer arithmetic 1999-11-27 20:58:33 +00:00
Jouni Ahto 3e8303abf0 Use thread-safe versions of localtime and gmtime 1999-11-27 20:51:17 +00:00
Zeev Suraski 33bdf19051 Update Win32 build 1999-11-27 17:11:20 +00:00
Sascha Schumann b6e6dddc30 Only compile the scanner, if trans_sid is enabled 1999-11-27 16:15:35 +00:00
Sascha Schumann 64a9858874 Test for PHP_THREAD_SAFETY 1999-11-27 12:04:14 +00:00
Sascha Schumann c73e2731c7 PERL_PATH is used nowhere 1999-11-27 11:58:16 +00:00
Sascha Schumann e4812c0fa3 Add --enable-experimental-zts 1999-11-27 11:33:13 +00:00
8812857f35 ChangeLog update 1999-11-27 02:08:29 +00:00
Zeev Suraski 85210ed9bf Get Win32 to compile again 1999-11-27 00:48:50 +00:00
Zeev Suraski 4481898ff7 Add ability to disable the memory cache 1999-11-27 00:04:36 +00:00
Zeev Suraski 6cdebd85a2 *** empty log message *** 1999-11-26 23:56:15 +00:00
Zeev Suraski 74f6202aa6 - Fix fd leak in ZTS mode 1999-11-26 23:54:05 +00:00
Zeev Suraski 6be3723f3d UNIX/non ZTS compile fixes 1999-11-26 23:48:04 +00:00
Zeev Suraski 58153dfed0 - Improve the file handle closing code 1999-11-26 23:45:22 +00:00
Zeev Suraski cd53944435 - Modify zend_llist_del() to receive a comparison function 1999-11-26 23:44:41 +00:00
Sascha Schumann 1a851b5d03 Kill undefined reference 1999-11-26 22:37:45 +00:00
Sascha Schumann 56a9e10b73 Enable _POSIX_THREAD_SEMANTICS for all configurations testwise 1999-11-26 21:45:57 +00:00
Sascha Schumann 9f386181f5 Undefine HAVE_PUTENV, if ZTS is used 1999-11-26 21:20:40 +00:00
Sascha Schumann 2ec047e1ec Kill one race. 1999-11-26 21:04:40 +00:00
Zeev Suraski 71b1219ee3 This request_shutdown() is no longer needed (never was needed really) 1999-11-26 20:19:28 +00:00
Sascha Schumann 3d092da662 unposixfy calls to TSRM 1999-11-26 19:27:08 +00:00
Sascha Schumann 1f9a496601 Define macros only, if one of the locking _r functions is used 1999-11-26 19:09:57 +00:00
Sascha Schumann 6d97609a31 Avoid fd leak which appears when using ZEND_HANDLE_FILENAME 1999-11-26 19:01:26 +00:00
Zeev Suraski b53bc48847 This should get the file to close properly 1999-11-26 18:37:06 +00:00
Sascha Schumann f0187ef3c9 Use php_init_output_globals() also in non-ZTS mode 1999-11-26 18:34:27 +00:00
Sascha Schumann ac8736c8ee Rebuild libzend.la, if the scanner was rebuilt 1999-11-26 17:53:56 +00:00
Sascha Schumann ec18b99d86 Fix typo (shutdown -> startup) 1999-11-26 17:37:22 +00:00
Sascha Schumann 524f0b1b0a - move strtok_r into reentrancy.c
- add rand_r()
1999-11-26 17:33:53 +00:00
Sascha Schumann a64691615a Add/update copyright headers 1999-11-26 17:12:01 +00:00
Sascha Schumann e56e63a6e4 Back out last commit. 1999-11-26 17:08:23 +00:00
Sascha Schumann 35b30a8d0c Add reentrant versions of ctime, localtime, gmtime, asctime.
These cannot be implemented platform-independent, so we fall back to the native
non-reentrant versions, but lock during each access (only if ZTS is used).

To initialize/destroy the used data structures, you need to call
reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after
sapi_shutdown().
1999-11-26 17:07:41 +00:00
Sascha Schumann 2f6ded9ac9 Convert more source files to use thread-safe functions 1999-11-26 16:51:57 +00:00
Sascha Schumann fe48f6ed6a Use thread-safe versions of asctime and localtime 1999-11-26 16:32:02 +00:00
Sascha Schumann 1c6173619e Use thread-safe versions of localtime and gmtime 1999-11-26 16:29:00 +00:00
Sascha Schumann 2f10b7ede8 Close a resource leak. 1999-11-26 15:33:42 +00:00
Zeev Suraski 957b079232 Undo previous bogus commit 1999-11-26 14:57:50 +00:00
Zeev Suraski 061cfea2ac *** empty log message *** 1999-11-26 13:56:33 +00:00
Zeev Suraski 94b5119898 Remove request_started, increase thread safety 1999-11-26 13:53:18 +00:00
Sascha Schumann 8696442671 (PHP_RINIT(session)) Never return FAILURE on trivial issues from a request
startup handler
1999-11-26 13:43:55 +00:00
Sascha Schumann 38819040b6 Replace strtok with strtok_r 1999-11-26 13:34:31 +00:00
Sascha Schumann 9fc9502ecc Add strtok_r replacement function from FreeBSD-current. 1999-11-26 13:34:02 +00:00
Sascha Schumann 5d34e43f8d Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY
will never be defined, even on systems which have these functions.
1999-11-26 13:33:41 +00:00
327e8f7e06 ChangeLog update 1999-11-26 02:08:34 +00:00
Zeev Suraski f617a46305 That's a more thorough fix... 1999-11-25 16:21:01 +00:00
Zeev Suraski f62a08c2ae Fix bug #2817 - assignments to string offsets could erronously modify unrelated strings 1999-11-25 16:11:34 +00:00