Sterling Hughes [Sun, 20 Aug 2000 10:31:27 +0000 (10:31 +0000)]
A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
the C API.
- Make module compatible with thread safety features.
- open_listen_sok() -> open_listen_sock()
- Remove ext_skel comments
- Get rid of the ZVAL macro and replace with the correct Z_*_*
macros
- declare all functions local to the file as static.
- Remove empty PHP_MSHUTDOWN() function.
- Removed confirm_sockets_compiled()
- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
with incorrect return values and a potential leak/crash or two.
- functions that return void, actually return void
- Replaced 'long' in the prototypes with 'int'
- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
gave it the proper parameter count.
- Changed the way an arbitrary number of parameters were accessed
from build_iovec() to use the Zend API.
- Added socketpair() and shutdown() functions.
Sterling Hughes [Sun, 20 Aug 2000 08:28:00 +0000 (08:28 +0000)]
Bunch o' changes..
- Add the ability to return the web page into a variable
by setting the CURLOPT_RETURNTRANSFER constant to 1.
- Make everything conform to the naming guidelines.
- Delete the resource id from the file_id table when a
resource is closed.
Chuck Hagenbuch [Thu, 17 Aug 2000 16:01:14 +0000 (16:01 +0000)]
prevent mail_criteria from munging the variable passed in containing the
query - just had to add a cpystr(). if this isn't the right fix, let me
know, but it does work.
Ben Mansell [Thu, 17 Aug 2000 13:40:40 +0000 (13:40 +0000)]
(send_headers) Removed code freeing http_status_line, this is performed
in sapi_send_headers()
# Looks like a similar problem in sapi/pi3web/pi3web_sapi.c as well.
# I can't test this though, so I'm being paranoid and not changing that code.
# Could someone please check this?
Andi Gutmans [Wed, 16 Aug 2000 19:26:21 +0000 (19:26 +0000)]
- The beginning of an attempt to cleanup fopen-wrappers.
- I started with trying to localize the V_FOPEN's so that we can have a
- version which won't really open the file for include_once/require_once to
- work faster and have less chance of a race which would cause a fd leak.
- What I did will, therefore, change but I want to do this step by step
- because the code is extremley messy so first of all I want to make sure
- that the isolating of the V_FOPEN code doesn't break anything.
- How about moving URL stuff out of this file?
- php_fopen_url_wrapper() copy and pasted the second part of
- php_fopen_wrapper() (incorrectly). Please try not to copy&paste code but
- centralize functionality. Need to think of a nice way to nuke one of the
- copies and have both functions use the same one.
Jouni Ahto [Wed, 16 Aug 2000 01:03:20 +0000 (01:03 +0000)]
- Return NULL type when column is NULL, now that we have it in PHP4.
- Fixed a bug in handling NULL columns, PQgetvalue() doesn't return a NULL
pointer in this case, but a pointer to a string of 0 length...
David Croft [Tue, 15 Aug 2000 09:47:35 +0000 (09:47 +0000)]
renamed ini section, quoted default host and tabulated.
# it doesn't make sense to have the tab-width set to 4 when we're
# using tabs for alignment in this case, it just makes it look screwy
# in everything but emacs
David Croft [Tue, 15 Aug 2000 09:37:39 +0000 (09:37 +0000)]
display ini file entries on phpinfo(), unregister them on shutdown
numeric ini file entries stored as ints
removed unnecessary casts from PFPROG()
pval -> zval
Sascha Schumann [Mon, 14 Aug 2000 19:17:16 +0000 (19:17 +0000)]
Fix check for libmcrypt in non-system library paths.
Fix case where neither libmcrypt 2.4.x and 2.2.x were found.
Fix library order (scope limited to static libraries)
Fix another crash with long formats (#6145)
# From strncpy manual:
# In the case where the length of src is less than that of
# n, the remainder of dest will be padded with nulls.