1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Commit Graph

3460 Commits

Author SHA1 Message Date
Zeev Suraski efab051391 Import COM patch from Harald Radi <h.radi@nme.at>
The new code should allow for better international support.
2001-01-02 23:08:20 +00:00
Zeev Suraski bd0ac7fe14 Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
  real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
  variables and read necessary variables at most once.
2001-01-02 22:49:31 +00:00
Chuck Hagenbuch ba114dc997 Make the generated <input> lower case and terminated with a /,
to be xhtml-compliant.
2001-01-02 20:39:27 +00:00
Rasmus Lerdorf a35b9c45f5 Fix date('r') overflow
@Fix date('r') overflow
2001-01-02 20:26:51 +00:00
Stig Venaas c5b11042b0 Hopefully solves some bad behavior in array_unique(), array_intersect()
and array_diff(). Now using SORT_STRING instead of SORT_REGULAR
@- Fixed misbehavior of array_unique(), array_intersect() and array_diff();
@  could in certain cases give wrong result or segfault (Stig Venaas)
2000-12-28 23:50:42 +00:00
Dan Kalowsky fbbaf5b5b5 it seems one section was missing the HAVE_SOLID_30 section... 2000-12-28 22:01:50 +00:00
Dan Kalowsky 8b2dbfca77 added #define(OPENLINK) to the SDWORD instead of SQLINTEGER line.. this is for bug #5526 to allow compiles. 2000-12-28 19:23:09 +00:00
Dan Kalowsky 68fa8f9b0b config file was missing a new line which seemed to cause the if statement to parse the else into an echo. yuck. 2000-12-28 19:12:28 +00:00
Rasmus Lerdorf 2a926135a9 Fix typo 2000-12-28 17:25:11 +00:00
Stanislav Malyshev cf66091554 Add license info 2000-12-28 12:13:21 +00:00
Jon Parise 4e384e0073 Make nl2br() output <br /> instead of <br> to be XHTML compliant.
Bug: 8390
2000-12-28 01:02:44 +00:00
Zeev Suraski 338b9b0819 - Make the INI mechanism thread safe (fix necessary API changes from Zend)
- Make the Win32 non-TS configuration build again
2000-12-27 15:43:05 +00:00
Andrei Zmievski 34f5c0c36d Fix argument check (bug #8421). 2000-12-27 13:59:40 +00:00
Zeev Suraski a697d076bc Add Release_TSDbg support. This mode compiles PHP with the release C runtime,
but with optimizations disabled and with debug info.  Some crashes can only
be debugged using this mode.
2000-12-26 22:15:32 +00:00
Sascha Schumann 60492fa685 Skip mcrypt/gmp tests, if the extensions are not available. 2000-12-24 16:51:04 +00:00
Sascha Schumann 8e22a8a73b Add session_set_save_handler test 2000-12-24 16:33:27 +00:00
Sascha Schumann 3ca8721e99 More instances of s/efree/FREE_ZVAL/ 2000-12-24 16:30:42 +00:00
Sascha Schumann 7574cd4360 Not freeing the zval using FREE_ZVAL caused a segfault in
shutdown_memory_manager.
2000-12-24 16:26:38 +00:00
Sascha Schumann 80ff1a3874 Also call some member functions of the deserialized objects 2000-12-24 16:06:32 +00:00
Sascha Schumann 72f99e668e Add session object deserialization test 2000-12-24 16:01:32 +00:00
Sascha Schumann 5722a0e1ce Add two regression tests for the session module 2000-12-24 15:57:05 +00:00
Sascha Schumann 3a16dc1cac Fix segfault introduced through recent zend_hash_get_current_key* changes. 2000-12-24 15:50:39 +00:00
Thies C. Arntzen 1fb4c6dfe8 revert last fix. the problem is now fixed globally in Zend. 2000-12-24 10:58:44 +00:00
Thies C. Arntzen 009064bc4d fix #8363.
fix call_user_function when parser->object is not set.
2000-12-23 21:46:44 +00:00
Sascha Schumann 92f61634eb (PHP session_unset) Return early, if no session was started.
PR: #8354
2000-12-22 22:53:14 +00:00
Sascha Schumann 0b194cbca6 Support multi-char arg separators.
PR: #8274
2000-12-22 22:52:11 +00:00
Sascha Schumann 9815d5c94c Signal an error condition, if write was unable to perform the complete
operation.
2000-12-22 19:26:02 +00:00
Sascha Schumann 663d426e74 NULL is a valid return value of mmap. Check against (void *) MAP_FAILED. 2000-12-22 16:39:01 +00:00
Sascha Schumann 3c9f50efaf (php_file_copy) Use mmap to map the source file into our address space
and then simply write it out to the target file.  That avoids switching
between user and kernel land too many times.  If that does not work, we
fall back to the read/write method.
2000-12-22 16:34:11 +00:00
Andrei Zmievski a1614b8411 (PHP preg_replace) Fix to allow proper escaping of captured subpattern
references in the replacement string.
(PHP array_sum) Check that argument is an array.
2000-12-22 16:31:42 +00:00
Zeev Suraski aa6d2ac5d0 Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
foobar c29e24c7e2 @- Changed setlocale() to use LC_* constants. (Jani) 2000-12-21 13:46:50 +00:00
Sascha Schumann 225a08e8dd No need for GCC extensions in non-debugging mode.
PR: #8345
2000-12-21 05:31:18 +00:00
Sascha Schumann 7f96af83b2 Stop automatically passing vars to AC_SUBST through PHP_SUBST.
There are some variables which are needed for Makefiles and files
created by AC_OUTPUT; we use PHP_SUBST_OLD for those now.

genif.sh was moved to an appropiate place.
2000-12-20 17:21:37 +00:00
Andi Gutmans 73c0f4b4c2 - Use memcmp() instead of ugly char-by-char compare 2000-12-20 15:51:16 +00:00
Zak Greant 9e9688d1de Removed unused variable from is_scalar 2000-12-20 11:07:20 +00:00
Zeev Suraski 48b410c41e Add the QA team to the credits 2000-12-19 22:59:14 +00:00
Hartmut Holzgraefe 560a4c1105 @ ctype functions now follow the extension naming conventions (Hartmut)
# removed unneccesary code generated by ext_skel
2000-12-19 11:50:30 +00:00
Stanislav Malyshev f487f5960a Fix possible crash 2000-12-19 11:23:27 +00:00
foobar 402d60491b wb fix. 2000-12-19 00:14:58 +00:00
foobar c66c250c41 Fix pr: #7982 2000-12-19 00:12:58 +00:00
Zak Greant bbf41d2116 Adding test for is_scalar(). 2000-12-18 21:24:25 +00:00
Zak Greant e4ca57bb57 Added is_scalar() function. 2000-12-18 19:23:50 +00:00
Hartmut Holzgraefe 96ccf69301 fixed BUG #8306: shmat() returns -1 on errors, not NULL 2000-12-18 12:22:28 +00:00
Stanislav Malyshev 8b1377043d No need to link main binary with ODBC libs if we use shared module 2000-12-17 11:17:50 +00:00
Sascha Schumann 2d011afbfd Don't do anything, if the input string has a length of 0.
PR: #7686
2000-12-17 02:09:07 +00:00
Andi Gutmans 9fbd0a24ba - How did CVS let me commit this? Probably it confused with the branch
merge
2000-12-16 21:01:21 +00:00
Andi Gutmans 8518010945 - In PHP we're supposed to only use MAXPATHLEN (defined in php.h) 2000-12-16 20:56:44 +00:00
Andi Gutmans 86a1cace27 - Make all places use MAXPATHLEN in the same way. It includes the
terminating NULL.
2000-12-16 20:52:43 +00:00
Rasmus Lerdorf 808da6dbb5 Attempt by Matt Bonneau to get thumbnail extraction working
(no need to bring this into the 4.0.4 branch)
2000-12-15 17:25:20 +00:00