Zeev Suraski
603aca0bb3
Fix a memory leak
2000-02-13 22:15:06 +00:00
Frank M. Kromann
7fa7c8a8e3
Fixing compile and link with current cvs.
2000-02-13 19:06:51 +00:00
Andi Gutmans
bac7a5085e
- Not sure if len can be zero but it's better to check it once then
...
rechecking for it every loop and having an extra variable do nothing.
2000-02-13 15:59:32 +00:00
Andi Gutmans
7441ee5175
- Beautify a bit.
2000-02-13 15:56:07 +00:00
Zeev Suraski
6ae0902498
- Hopefully fix strip_tags bug
...
@- Fix overrun in strip_tags (Stas, Zend library)
2000-02-13 15:35:51 +00:00
Thies C. Arntzen
017a6353d1
@- Fixed crash in strip_tags() and related functions. (Thies)
2000-02-13 14:56:35 +00:00
Andi Gutmans
e578fad099
- Save a function call one very hash_add
2000-02-13 13:31:29 +00:00
Andi Gutmans
3811b58a7d
- Improve startup speed a bit by using the hash_*_ptr() functions
2000-02-13 13:25:01 +00:00
Andi Gutmans
bb302a755c
- Make startup a bit faster by changing some hash_update()'s and hash_add()'s
...
to hash_update_ptr()/hash_add_ptr()
2000-02-13 13:22:02 +00:00
Andi Gutmans
920b7b2841
- Fix a couple of potential bugs where we were using emalloc/efree instead
...
of pemalloc/pefree.
- Fix a bug were we potentially would be freeing the key by mistake
2000-02-13 12:45:36 +00:00
Danny Heijl
9d4e4545fe
- PHP_WIN32
2000-02-13 11:24:14 +00:00
Zeev Suraski
23b633e071
Report access violations
2000-02-13 01:24:51 +00:00
Zeev Suraski
81662eb8f4
*** empty log message ***
2000-02-13 01:22:11 +00:00
Zeev Suraski
b08f85aeef
Make all of the ISAPI variables register themselves as Server variables
2000-02-13 01:14:45 +00:00
Zeev Suraski
0b1c8b455a
Make (array) false == array() and not array(false)
2000-02-13 00:52:33 +00:00
Zeev Suraski
003ef1aa74
Trap bailout of shutdown functions
2000-02-13 00:26:54 +00:00
Andi Gutmans
bbb25255b0
- Update the C file to use PHP_WIN32
2000-02-12 19:47:49 +00:00
Andi Gutmans
d997d485ff
- Update the project file with the Win32 defines.
2000-02-12 19:46:45 +00:00
Thies C. Arntzen
d1db3691a1
having HTTP_UPLOAD_FILES[] seems logical to me
2000-02-12 18:03:09 +00:00
Thies C. Arntzen
829f4f334b
@- Workaround for bogus POST-Data from IE/Mac. (Thies)
...
@ Patch by Alain Malek <alain@virtua.ch>
fix #2944
2000-02-12 17:37:11 +00:00
Andi Gutmans
e781caf962
- Support wddx by default on Windows
2000-02-12 15:47:51 +00:00
Sascha Schumann
883c62b5e9
$ext_src_base is the source dir of the extension
2000-02-12 15:13:44 +00:00
Sascha Schumann
e7a4d5f18d
Tell expat the byte order
2000-02-12 15:08:32 +00:00
Sascha Schumann
bfe09e8305
Never use Apache regex stuff
2000-02-12 14:48:09 +00:00
Sascha Schumann
0036b8bba0
#if WIN.* => #ifdef PHP_WIN32
...
#if !(WIN.* => #ifndef PHP_WIN32
2000-02-12 14:38:31 +00:00
Sascha Schumann
f6eb750183
Use bundled expat library on UNIX. Note: Need to fix --enable-xml=shared
2000-02-12 14:28:49 +00:00
Andi Gutmans
b1a00f722e
- Fix the Release_inline part.
2000-02-12 11:41:19 +00:00
Sam Ruby
34723d02f8
on WIN32, PHP_WIN32 and ZEND_WIN32 need to be defined
2000-02-11 23:50:01 +00:00
Andrei Zmievski
a60e91b313
(request_shutdown) Prevent infinite loop on shutdown if there is an error
...
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.
Split shutdown function call into a separate function that's called with
zend_hash_apply() instead of as destructor to keep hash consistent.
This fixes bug #3419 .
2000-02-11 21:14:42 +00:00
Andrei Zmievski
94be61fde5
Made a couple of typedefs for zend_hash_apply_*() calls.
2000-02-11 21:12:49 +00:00
Andrei Zmievski
0f4b9aa812
Fix prototype.
2000-02-11 19:19:06 +00:00
Thies C. Arntzen
6a79c379cc
backed out some stuff that got committed by accident & broke things:(!
...
uwe: please read twice what you are commiting!
2000-02-11 19:17:57 +00:00
Andrei Zmievski
055645b079
(PHP passthru) Shouldn't return anything.
...
This fixes bugs #3428 and #3430 .
2000-02-11 19:16:36 +00:00
Andrei Zmievski
fe93919b48
request_info.h is gone.
2000-02-11 19:02:07 +00:00
Zeev Suraski
2e7093d5ef
Update .dsp's
2000-02-11 16:28:50 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andrei Zmievski
80f4886c5a
Define phpext_oracle_ptr properly.
2000-02-11 15:34:11 +00:00
Sascha Schumann
12d3e3d775
More cosmetic things
2000-02-11 13:41:30 +00:00
Sascha Schumann
fe416bd353
Kill warnings
2000-02-11 13:25:26 +00:00
Sascha Schumann
89553f5df6
Some style(9) cosmetics
2000-02-11 12:59:08 +00:00
Andi Gutmans
f9e0d94a65
- Baby steps with PHP_WIN32 :)
2000-02-11 12:56:54 +00:00
Andrei Zmievski
a4c68caedd
Avoid the 'unexpected end of file' error.
2000-02-10 22:19:02 +00:00
Andi Gutmans
1c7f36465b
- A few more
2000-02-10 22:00:52 +00:00
Andi Gutmans
8d012c45e2
- A bit more PHP_WIN32 work
2000-02-10 21:55:30 +00:00
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
2000-02-10 21:53:56 +00:00
Zeev Suraski
732eeeabd9
Final build fixes - that's enough for now...
2000-02-10 20:24:28 +00:00
Zeev Suraski
8709369720
Update .dsp's
2000-02-10 20:18:57 +00:00
Zeev Suraski
49e98c3ddd
request_info.c is dead! long live SAPI
...
@- Finished the server abstraction layer; All of the PHP code is now shared
@ across different servers (Apache, CGI, IIS, etc.), except for thin
@ interface modules (Zeev)
2000-02-10 20:13:08 +00:00
Zeev Suraski
6723bdd920
request_info.c is giving up
2000-02-10 20:03:17 +00:00
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
...
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
2000-02-10 19:41:21 +00:00