Commit Graph

4725 Commits

Author SHA1 Message Date
Joey Smith
c5cbe8b3cb nesting_level is now ob_nesting_level in main/php_output.h 2001-07-28 01:31:52 +00:00
foobar
74f07c5278 Simplified a bit and made more readable. 2001-07-27 14:26:39 +00:00
foobar
80b09d007f Simplified this a bit and made more consistent. 2001-07-27 14:02:44 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Thies C. Arntzen
2649b94449 detect oracle9i 2001-07-26 23:07:45 +00:00
Nikos Mavroyanopoulos
0dec2794d2 Fixes for the module to be reentrant 2001-07-26 10:11:35 +00:00
Thies C. Arntzen
a9e0de3947 @- Improved the stability of OCIPlogon() after a database restart. (Thies) 2001-07-25 22:34:25 +00:00
Daniel Beulshausen
69a4760b48 fix recently discovered api flaws
- nuke first parameter to socket_select (detemine it ourself)
- swap parameters for socket_fd_set, socket_fd_clear & socket_fd_isset
- allow to pass an array of sockets to socket_fd_set + socket_fd_clear
2001-07-25 22:03:55 +00:00
Sascha Schumann
d256fbf2b8 Get rid of memchr in SEARCHCR(). 2001-07-25 21:06:01 +00:00
Sascha Schumann
00596b414e Get rid of memchr 2001-07-25 19:02:13 +00:00
Nikos Mavroyanopoulos
81dd2af465 updated ovrimos driver 2001-07-25 13:30:36 +00:00
Frank M. Kromann
612b3666a9 Add extra check on Delete statements 2001-07-24 18:24:10 +00:00
Harald Radi
050d346cd2 removed duplicate code and changed
code slightly to be compatible with broken
com implementations
2001-07-24 10:42:29 +00:00
Andi Gutmans
afaa0085bb - MSHUTDOWN needs to return SUCCESS/FAILURE 2001-07-24 03:52:16 +00:00
Thies C. Arntzen
6c2cfdea43 indention 2001-07-23 17:50:06 +00:00
Thies C. Arntzen
b660a9f553 fix newly introduced mem-leak in assert-module 2001-07-23 16:13:34 +00:00
Paul Moosman
22a8e9536a I added code to up the reference count of the database connection
reference. This change fixes bug #11489 in php version 4.0.6.
I derived this fix from the my_sql module.
2001-07-23 16:10:10 +00:00
Hartmut Holzgraefe
d3fdc92ff5 these tow fail with "Constant sid already defined" i
too if E_NOTICE error reporting is active
2001-07-22 21:46:39 +00:00
Sascha Schumann
8492ece5f6 While researching a crash-bug in mail(), I found these two goldies.
Replace php_escape_shell_(arg|cmd) with straight-forward implementations.
2001-07-22 21:32:55 +00:00
Rasmus Lerdorf
cc44119bf6 Left-over outdated comment 2001-07-21 15:51:40 +00:00
Zeev Suraski
336004f4bc Improved bailout mechanism, supports nested bailouts a-la try..catch
Note:  You may *not* return directly from a catch block
2001-07-21 14:27:56 +00:00
Zeev Suraski
20d53346ce Remove redundant code 2001-07-21 12:43:23 +00:00
Sascha Schumann
09ce807bf1 Drop memchr() in php_memnstr in favor of manual scanning. This reduces
the complexity of the function and is about 20% faster on Linux/x86.
2001-07-21 03:26:31 +00:00
Zeev Suraski
38e5a2077d Clarify and optimize 2001-07-21 01:15:18 +00:00
Rasmus Lerdorf
bf513871bc Fix more crashes related to this switch to z_value 2001-07-21 00:14:14 +00:00
Sascha Schumann
b79aa095f5 Fix last two instances of using ext/standard/php_output.h 2001-07-20 19:42:26 +00:00
Thies C. Arntzen
0453eff2b8 fix include 2001-07-20 19:37:19 +00:00
Zeev Suraski
11c2acc34a Retain downwards compatibility - cool idea Jon :) 2001-07-20 17:10:04 +00:00
Zeev Suraski
ef9504cafc Fix UNIX build 2001-07-20 15:06:51 +00:00
Zeev Suraski
6f297a370a Fix Windows build 2001-07-20 14:40:30 +00:00
Zeev Suraski
13ac04b8e5 Avoid getting bailouts on text output during shutdown. Text output is now
'officially' disabled during shutdown (this doesn't change the Apache module
behavior, but may change behavior of other server modules, in which it was
possible to emit output during shutdown;  I think it's a good step towards
consistency, though)
2001-07-20 13:59:00 +00:00
Daniel Beulshausen
aa032e2e4c fix font handling in vdir mode 2001-07-20 11:25:13 +00:00
Sascha Schumann
4ebcdd9929 Add optional support for using boyer-moore to str_replace. 2001-07-20 01:22:29 +00:00
Joey Smith
c2e983709a I just got annoyed by this, eventually. :) 2001-07-19 23:36:37 +00:00
Marc Boeren
2a661c6114 Added the error-message functionality (new in odbc module) (Mc) 2001-07-19 15:45:56 +00:00
Marc Boeren
e8bcbacb3e changed implementation of creating reference to a value by columnname (Mc)
added a test for changing the referenced value (Mc)
2001-07-19 15:44:58 +00:00
Adam Dickmeiss
863062a8be Function yaz_record handles MARC records that have identifers in 00X. 2001-07-19 13:27:58 +00:00
Stanislav Malyshev
dfe15ad070 Fix warnings 2001-07-19 08:12:12 +00:00
Sascha Schumann
ef42a25b42 Fix a serious long-standing bug which deleted the shared memory segment
when an Apache children died.

Dynamically resize hash-table.

The hash key is now stored as part of the hash entry structure which
saves a mm_malloc.

ps_sd_new has been restructured to avoid code duplication.

A bug concerning moving existing entries to the top of a linked list
has been fixed.
2001-07-19 04:16:54 +00:00
Sascha Schumann
664df24d11 Fix GC bug which did not increment the proper variable.
Fix warning regarding the initial hash value.
Use php_uint32 everywhere.
Speedup linked-list traversal by using the hash value.
Degrade linked-list to singledly linked-list.
Allocate a new shared memory buffer, if the data does not fit into the
current one.  Prior to this change, we always allocated a new buffer.
Fix debug prints to be compatible with non-GCC compilers.
NUL-terminate string return values.
2001-07-18 23:18:58 +00:00
Sascha Schumann
9576ab24dd Instead of using the poor system rand() algorithm and the
system-time seed, rely on the long-living LCG to determine
whether to start the GC process.
2001-07-18 22:56:56 +00:00
Sascha Schumann
dcc60b7f4a The lcg needs to operate on signed 32-bit integers, so use
the proper php_int32 types here.
2001-07-18 22:55:52 +00:00
Sascha Schumann
e8fe8f9d99 Provide typedefs for php_int32 2001-07-18 22:54:55 +00:00
Sascha Schumann
eef0dda4da Retire old hash algorithm and use the FNV-1 algorithm. 2001-07-18 21:39:02 +00:00
Harald Radi
3110a58795 fixed a bug in 'case VT_DATE' 2001-07-18 19:56:18 +00:00
Stanislav Malyshev
f0c879bb26 Make variables receiving long be long
Fix binary (x,o,b) formats - they should not be signed
2001-07-18 16:48:52 +00:00
Stanislav Malyshev
e2a7a6b0f6 Prevent cURl from always outputting the header. Fix bug #12018 2001-07-18 10:47:54 +00:00
Jason Greene
6034e5161d Forgotten Include.
This should fix the windows build (though I currently don't have a way to test it)
2001-07-17 16:56:51 +00:00
Joey Smith
5f2d12c3bc Be consistent with hashed_details behavior. 2001-07-17 08:16:58 +00:00
Jason Greene
8eb5a4b856 @Added support for socket and popen file types to ftp_fput (Jason) 2001-07-17 05:53:03 +00:00