]> granicus.if.org Git - php/log
php
24 years agoExport _Exec for extensions to use
Rasmus Lerdorf [Sun, 14 Jan 2001 16:30:22 +0000 (16:30 +0000)]
Export _Exec for extensions to use

24 years agofixed readfile() fd-leak.
Thies C. Arntzen [Sun, 14 Jan 2001 14:11:38 +0000 (14:11 +0000)]
fixed readfile() fd-leak.

guys, always remember that every function that *generates output* could cause a
bailout if ignore_user_abort is set to false (and the user _aborts_ the
connection). in this case a longjump will be performed and our function (in
this case readfile) will have no chance to clean-up. having said that it's a
good idea to register all opened files using REGISTER_RESOURCE - that way the
engine will make sure they get closed on request end.

24 years agoDon't fetch numeric indices in mysql_fetch_object()
Zeev Suraski [Sun, 14 Jan 2001 09:30:17 +0000 (09:30 +0000)]
Don't fetch numeric indices in mysql_fetch_object()

24 years ago# restored code for latest vpopmail version
David Croft [Sun, 14 Jan 2001 09:01:26 +0000 (09:01 +0000)]
# restored code for latest vpopmail version
@ New extension for vpopmail - http://www.inter7.com/vpopmail (David Croft)

24 years agovpopmail extension
David Croft [Sun, 14 Jan 2001 08:54:01 +0000 (08:54 +0000)]
vpopmail extension

24 years agoadded iconv_get_encoding and supported initialization from php.ini
Rui Hirokawa [Sun, 14 Jan 2001 07:40:16 +0000 (07:40 +0000)]
added iconv_get_encoding and supported initialization from php.ini

24 years agoreserve space for quoted characters
David Croft [Sun, 14 Jan 2001 05:37:33 +0000 (05:37 +0000)]
reserve space for quoted characters
fixes buffer overrun bug #8694

24 years agoChangeLog update
<changelog@php.net> [Sun, 14 Jan 2001 02:09:12 +0000 (02:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Sun, 14 Jan 2001 02:09:09 +0000 (02:09 +0000)]
NEWS update

24 years agoBoth thread-safe and thread-unsafe builds should be ok now
Zeev Suraski [Sat, 13 Jan 2001 23:49:44 +0000 (23:49 +0000)]
Both thread-safe and thread-unsafe builds should be ok now

24 years agoAdd sybase_get_last_message() from Jan Fedak <J.Fedak@sh.cvut.cz>
Zeev Suraski [Sat, 13 Jan 2001 22:47:44 +0000 (22:47 +0000)]
Add sybase_get_last_message() from Jan Fedak <J.Fedak@sh.cvut.cz>
@- Added sybase_get_last_message() to the Sybase CT module (Jan Fedak)

24 years ago- Removed a stale var that broke the build
Derick Rethans [Sat, 13 Jan 2001 22:00:23 +0000 (22:00 +0000)]
- Removed a stale var that broke the build

24 years ago- There was one ret left, changed it to FG(pclose_ret), this fixes the
Derick Rethans [Sat, 13 Jan 2001 21:52:09 +0000 (21:52 +0000)]
- There was one ret left, changed it to FG(pclose_ret), this fixes the
  build

24 years agoSupport for perl-compatible blowfish encryption (in libmcrypt CVS and
Colin Viebrock [Sat, 13 Jan 2001 20:55:15 +0000 (20:55 +0000)]
Support for perl-compatible blowfish encryption (in libmcrypt CVS and
versions later than 2.4.8)

24 years ago- Fix exec() bug
Zeev Suraski [Sat, 13 Jan 2001 13:59:22 +0000 (13:59 +0000)]
- Fix exec() bug
- Merge fsock and file globals

24 years agocleanup time...
Zeev Suraski [Sat, 13 Jan 2001 13:16:56 +0000 (13:16 +0000)]
cleanup time...

24 years agoRemove some more useless code
Zeev Suraski [Sat, 13 Jan 2001 13:14:49 +0000 (13:14 +0000)]
Remove some more useless code

24 years agoRemove stale code
Zeev Suraski [Sat, 13 Jan 2001 13:10:50 +0000 (13:10 +0000)]
Remove stale code

24 years agoFix Windows & thread-safe build
Zeev Suraski [Sat, 13 Jan 2001 13:02:19 +0000 (13:02 +0000)]
Fix Windows & thread-safe build

24 years agoSimplified code a bit, added detailed error reporting, and fixed a bug
Stig Venaas [Sat, 13 Jan 2001 11:48:47 +0000 (11:48 +0000)]
Simplified code a bit, added detailed error reporting, and fixed a bug
when getaddrinfo returned a non-IP family before IP families

24 years agoarr_index errorneusly included the trailing ']' character, so that
Sascha Schumann [Sat, 13 Jan 2001 10:19:17 +0000 (10:19 +0000)]
arr_index errorneusly included the trailing ']' character, so that
variable names like Data_name[Image]] were passed to the register functions.

24 years agoFix make install in VPATH builds
Sascha Schumann [Sat, 13 Jan 2001 10:02:08 +0000 (10:02 +0000)]
Fix make install in VPATH builds

24 years agoFixed memory leaks that could happen in some error situations. Also removed
Stig Venaas [Sat, 13 Jan 2001 10:00:27 +0000 (10:00 +0000)]
Fixed memory leaks that could happen in some error situations. Also removed
some unnecessary code in ldap_set_option()

24 years agoRealized that emalloc() never returns NULL, simplified code
Stig Venaas [Sat, 13 Jan 2001 09:16:36 +0000 (09:16 +0000)]
Realized that emalloc() never returns NULL, simplified code

24 years agoChangeLog update
<changelog@php.net> [Sat, 13 Jan 2001 02:09:14 +0000 (02:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Sat, 13 Jan 2001 02:09:10 +0000 (02:09 +0000)]
NEWS update

24 years agoAdded parallel search when given array of link identifiers
Stig Venaas [Fri, 12 Jan 2001 22:08:26 +0000 (22:08 +0000)]
Added parallel search when given array of link identifiers
@- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
@  first parameter is an array of link identifiers (Stig Venaas)

24 years agoFollows redirects again, and $http_response_header now contains all headers
Stig Venaas [Fri, 12 Jan 2001 20:49:25 +0000 (20:49 +0000)]
Follows redirects again, and $http_response_header now contains all headers
with an empty string as delimiter
@- Made fopen() of HTTP URL follow redirects, $http_response_header will
@  contain all headers with empty string as delimiter (Stig Venaas)

24 years ago- Fixed a possible crash bug in xmltree().
foobar [Fri, 12 Jan 2001 16:49:06 +0000 (16:49 +0000)]
- Fixed a possible crash bug in xmltree().
# PR: #7052

24 years agoAdd HTTP_Compress::, which provides an easy wrapper around producing
Chuck Hagenbuch [Fri, 12 Jan 2001 15:24:21 +0000 (15:24 +0000)]
Add HTTP_Compress::, which provides an easy wrapper around producing
gzip-compressed html. This should be ported to use the ob_gzhandler() output
handler, but I haven't had a chance to look into that yet.

24 years agoAdd newline
Zeev Suraski [Fri, 12 Jan 2001 11:14:46 +0000 (11:14 +0000)]
Add newline

24 years agoMake daniel's changes work in ZTS mode...
Sterling Hughes [Fri, 12 Jan 2001 10:49:38 +0000 (10:49 +0000)]
Make daniel's changes work in ZTS mode...

24 years agotake out emtpy struct
Daniel Beulshausen [Fri, 12 Jan 2001 10:26:29 +0000 (10:26 +0000)]
take out emtpy struct
# vc chokes on them

24 years agoPR:
Mika Tuupola [Fri, 12 Jan 2001 09:13:55 +0000 (09:13 +0000)]
PR:
Submitted by:
Reviewed by:
Obtained from:
Added Image_Remote class.

24 years agoFix for bug 6073 from Sean R. Bright <elixer@erols.com>
Rasmus Lerdorf [Fri, 12 Jan 2001 08:03:24 +0000 (08:03 +0000)]
Fix for bug 6073 from Sean R. Bright <elixer@erols.com>

24 years agoFix for bug number 8666
Rasmus Lerdorf [Fri, 12 Jan 2001 06:55:57 +0000 (06:55 +0000)]
Fix for bug number 8666

24 years agoChangeLog update
<changelog@php.net> [Fri, 12 Jan 2001 02:09:18 +0000 (02:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Fri, 12 Jan 2001 02:09:15 +0000 (02:09 +0000)]
NEWS update

24 years ago@- Added Console_Getopt class for parsing command-line args. (Andrei, PEAR)
Andrei Zmievski [Thu, 11 Jan 2001 18:38:26 +0000 (18:38 +0000)]
@- Added Console_Getopt class for parsing command-line args. (Andrei, PEAR)

24 years agoFix build.
foobar [Thu, 11 Jan 2001 18:25:33 +0000 (18:25 +0000)]
Fix build.

24 years agoIf external expat is used, header file is expat.h
foobar [Thu, 11 Jan 2001 16:19:20 +0000 (16:19 +0000)]
If external expat is used, header file is expat.h

24 years agoremoved old expat libs
Daniel Beulshausen [Thu, 11 Jan 2001 14:50:52 +0000 (14:50 +0000)]
removed old expat libs

24 years agoHousekeeping...
Sterling Hughes [Thu, 11 Jan 2001 09:35:14 +0000 (09:35 +0000)]
Housekeeping...

24 years agoChangeLog update
<changelog@php.net> [Thu, 11 Jan 2001 02:09:15 +0000 (02:09 +0000)]
ChangeLog update

24 years ago*** empty log message ***
Rui Hirokawa [Wed, 10 Jan 2001 14:42:23 +0000 (14:42 +0000)]
*** empty log message ***

24 years agodisable directory search for libexpat and disable some macros for libxml-1.95.
Rui Hirokawa [Wed, 10 Jan 2001 14:41:01 +0000 (14:41 +0000)]
disable directory search for libexpat and disable some macros for libxml-1.95.

24 years agoEspecially on FreeBSD it seems to be common that send(2) does not
Sascha Schumann [Wed, 10 Jan 2001 13:51:58 +0000 (13:51 +0000)]
Especially on FreeBSD it seems to be common that send(2) does not
do a decent job.  We handle that better now.

24 years agoexec'd processes now get cleaned up even if the browser connections was
Thies C. Arntzen [Wed, 10 Jan 2001 13:08:14 +0000 (13:08 +0000)]
exec'd processes now get cleaned up even if the browser connections was
aborted.
fixes: #8143

24 years agofixed swatch internet time (bugs#8242,7106)
David Croft [Wed, 10 Jan 2001 06:48:06 +0000 (06:48 +0000)]
fixed swatch internet time (bugs#8242,7106)

24 years agoAllocate buffer in date() for the actual length of the timezone (bug#8292)
David Croft [Wed, 10 Jan 2001 04:01:02 +0000 (04:01 +0000)]
Allocate buffer in date() for the actual length of the timezone (bug#8292)

24 years agoChangeLog update
<changelog@php.net> [Wed, 10 Jan 2001 02:09:11 +0000 (02:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Wed, 10 Jan 2001 02:09:08 +0000 (02:09 +0000)]
NEWS update

24 years ago* renamed PEAR scripts
Stig Bakken [Wed, 10 Jan 2001 01:34:40 +0000 (01:34 +0000)]
* renamed PEAR scripts
* set localstatedir

24 years agoadded .cvsignore file
Stig Bakken [Wed, 10 Jan 2001 01:21:04 +0000 (01:21 +0000)]
added .cvsignore file

24 years ago* updated copyrights (thanks Colin)
Stig Bakken [Wed, 10 Jan 2001 01:01:59 +0000 (01:01 +0000)]
* updated copyrights (thanks Colin)
* moved scripts to own directory (bug #7635)

24 years agoadded a option to dedine libexpat install directory (by Jani Taskinen)
Rui Hirokawa [Tue, 9 Jan 2001 22:15:56 +0000 (22:15 +0000)]
added a option to dedine libexpat install directory (by Jani Taskinen)

24 years ago*** empty log message ***
<changelog@php.net> [Tue, 9 Jan 2001 21:47:47 +0000 (21:47 +0000)]
*** empty log message ***

24 years agoI should learn how to spell
Colin Viebrock [Tue, 9 Jan 2001 21:15:26 +0000 (21:15 +0000)]
I should learn how to spell
PR:
Submitted by:
Reviewed by:
Obtained from:

24 years agoNow the coding standards are defined elsewhere ...
Colin Viebrock [Tue, 9 Jan 2001 21:12:55 +0000 (21:12 +0000)]
Now the coding standards are defined elsewhere ...
PR:
Submitted by:
Reviewed by:
Obtained from:

24 years agoMove the definition of the xslt_set_encoding to the "proper" place in the file and
Sterling Hughes [Tue, 9 Jan 2001 20:17:11 +0000 (20:17 +0000)]
Move the definition of the xslt_set_encoding to the "proper" place in the file and
fix the prototype.

24 years agoUpdate the copyright year range to 1997-2001.
Jon Parise [Tue, 9 Jan 2001 17:42:40 +0000 (17:42 +0000)]
Update the copyright year range to 1997-2001.

24 years agoAvoid possible memory leak in the URL scanner, if the connection is
Sascha Schumann [Tue, 9 Jan 2001 16:45:19 +0000 (16:45 +0000)]
Avoid possible memory leak in the URL scanner, if the connection is
interrupted during writing the output.

24 years agoSorry, two lines are enough.
Egon Schmid [Tue, 9 Jan 2001 15:53:09 +0000 (15:53 +0000)]
Sorry, two lines are enough.

24 years agoFixed protos.
Egon Schmid [Tue, 9 Jan 2001 15:48:15 +0000 (15:48 +0000)]
Fixed protos.

24 years agomoved to ext/iconv.
Rui Hirokawa [Tue, 9 Jan 2001 15:40:49 +0000 (15:40 +0000)]
moved to ext/iconv.

24 years agoadded test code to iconv.
Rui Hirokawa [Tue, 9 Jan 2001 15:39:25 +0000 (15:39 +0000)]
added test code to iconv.

24 years agomove iconv related functions to separate iconv extension.
Rui Hirokawa [Tue, 9 Jan 2001 15:22:45 +0000 (15:22 +0000)]
move iconv related functions to separate iconv extension.

24 years agoadded iconv extension.
Rui Hirokawa [Tue, 9 Jan 2001 15:11:23 +0000 (15:11 +0000)]
added iconv extension.

24 years ago@- Allow access to uploaded files in safe_mode. Beware that you can only
Thies C. Arntzen [Tue, 9 Jan 2001 11:58:57 +0000 (11:58 +0000)]
@- Allow access to uploaded files in safe_mode. Beware that you can only
@  read the file. If you copy it to new location the copy will not have the
@  right UID and you script won't be able to access that copy. (Thies)

24 years agoIf TZ environment variable is changed call tzset().
foobar [Tue, 9 Jan 2001 09:02:21 +0000 (09:02 +0000)]
If TZ environment variable is changed call tzset().
# Although man page for tzset() says it should be called automaticly
# by some of the time related functions, IRL this doesn't happen.
# PR: 3977, 4732, 5510, 6972, 7203, 8502, 8609

24 years agoPropagate the response code/HTTP status code back to thttpd for logging.
Sascha Schumann [Tue, 9 Jan 2001 09:01:33 +0000 (09:01 +0000)]
Propagate the response code/HTTP status code back to thttpd for logging.

24 years agoAccount the number of sent bytes properly
Sascha Schumann [Tue, 9 Jan 2001 08:45:05 +0000 (08:45 +0000)]
Account the number of sent bytes properly

24 years agofix for Bug id #8606
Hartmut Holzgraefe [Tue, 9 Jan 2001 07:28:27 +0000 (07:28 +0000)]
fix for Bug id #8606

24 years agophp_add_var_hash() uses sizeof(id) in the calls to zend_hash_*, implying
Sascha Schumann [Tue, 9 Jan 2001 05:49:37 +0000 (05:49 +0000)]
php_add_var_hash() uses sizeof(id) in the calls to zend_hash_*, implying
that all bytes in the character array have been set (they are used
to compute the hash value using hashpjw).

The function assumes that sprintf's %p modifier would always prefix
the output with "0x".  On HPUX, this is not the case.  Hence, not
all bytes may be properly initialized before being read.

This has been addressed by using only initialized bytes as the key.

24 years agoMake Apache 2.0 filter build again
Sascha Schumann [Mon, 8 Jan 2001 23:18:47 +0000 (23:18 +0000)]
Make Apache 2.0 filter build again

24 years agoWS fix
Sascha Schumann [Mon, 8 Jan 2001 23:18:07 +0000 (23:18 +0000)]
WS fix

24 years agoFix ZTS build (broken by iconv-related changes).
Sascha Schumann [Mon, 8 Jan 2001 23:13:57 +0000 (23:13 +0000)]
Fix ZTS build (broken by iconv-related changes).

24 years ago@- Changed extract() to check that prefixed name is a valid one. (Andrei)
Andrei Zmievski [Mon, 8 Jan 2001 21:57:14 +0000 (21:57 +0000)]
@- Changed extract() to check that prefixed name is a valid one. (Andrei)

Changed extract() to check that prefixed name is a valid one.
Optimized extract() a bit too.

# It'd be nice if someone made regression tests for extract().

24 years ago- Fix for bug #8535 - floating point exception on FreeBSD while initializing
Derick Rethans [Mon, 8 Jan 2001 21:13:24 +0000 (21:13 +0000)]
- Fix for bug #8535 - floating point exception on FreeBSD while initializing
  crypt random numbers

24 years ago@- Changed extract() to return the number of variables extracted. (Andrei)
Andrei Zmievski [Mon, 8 Jan 2001 20:57:59 +0000 (20:57 +0000)]
@- Changed extract() to return the number of variables extracted. (Andrei)

24 years agoOptimize it a bit - no need to dup empty string (which can be pretty common for ...
Stanislav Malyshev [Mon, 8 Jan 2001 20:13:32 +0000 (20:13 +0000)]
Optimize it a bit - no need to dup empty string (which can be pretty common for .ini)

24 years agoDuplicate property value, otherwise parser would free it and we're in bad shape.
Stanislav Malyshev [Mon, 8 Jan 2001 20:10:16 +0000 (20:10 +0000)]
Duplicate property value, otherwise parser would free it and we're in bad shape.

24 years agoFix undefind filehandle type on INI parsing.
Stanislav Malyshev [Mon, 8 Jan 2001 19:45:12 +0000 (19:45 +0000)]
Fix undefind filehandle type on INI parsing.

24 years agoCorrected some protos.
Egon Schmid [Mon, 8 Jan 2001 18:31:59 +0000 (18:31 +0000)]
Corrected some protos.

24 years agoAdded ldap_rename(). Currently requires API with ldap_rename().
Stig Venaas [Mon, 8 Jan 2001 18:13:08 +0000 (18:13 +0000)]
Added ldap_rename(). Currently requires API with ldap_rename().
@- Added ldap_rename() function (Stig Venaas)

24 years ago*** empty log message ***
Stig Venaas [Mon, 8 Jan 2001 17:18:56 +0000 (17:18 +0000)]
*** empty log message ***

24 years agoUse platform's dir separator
Stanislav Malyshev [Mon, 8 Jan 2001 16:39:39 +0000 (16:39 +0000)]
Use platform's dir separator

24 years agoTest ACL commit
Rasmus Lerdorf [Mon, 8 Jan 2001 05:20:55 +0000 (05:20 +0000)]
Test ACL commit

24 years ago* display a notice when downloading
Stig Bakken [Mon, 8 Jan 2001 02:54:35 +0000 (02:54 +0000)]
* display a notice when downloading

24 years ago* no need for this test file anymore
Stig Bakken [Mon, 8 Jan 2001 02:48:35 +0000 (02:48 +0000)]
* no need for this test file anymore

24 years ago* updated DB status
Stig Bakken [Mon, 8 Jan 2001 02:45:30 +0000 (02:45 +0000)]
* updated DB status
* updated the "pear" script, it can install basic packages now

24 years agoadded iconv_set_encoding() to change the encoding setting.
Rui Hirokawa [Mon, 8 Jan 2001 02:39:52 +0000 (02:39 +0000)]
added iconv_set_encoding() to change the encoding setting.

24 years agoChangeLog update
<changelog@php.net> [Mon, 8 Jan 2001 02:09:15 +0000 (02:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Mon, 8 Jan 2001 02:09:09 +0000 (02:09 +0000)]
NEWS update

24 years agoadded a output handler function ob_iconv_handler which tranforms output encoding...
Rui Hirokawa [Mon, 8 Jan 2001 01:40:33 +0000 (01:40 +0000)]
added a output handler function ob_iconv_handler which tranforms output encoding using iconv().

24 years agoignore blank lines
Shane Caraveo [Mon, 8 Jan 2001 01:14:49 +0000 (01:14 +0000)]
ignore blank lines

24 years agomy mistake...freed in a different function.
Shane Caraveo [Mon, 8 Jan 2001 00:35:05 +0000 (00:35 +0000)]
my mistake...freed in a different function.

24 years agobe sure to unlock that mutex before returning!
Shane Caraveo [Mon, 8 Jan 2001 00:32:18 +0000 (00:32 +0000)]
be sure to unlock that mutex before returning!

24 years agoadd notes on this program
Shane Caraveo [Mon, 8 Jan 2001 00:10:06 +0000 (00:10 +0000)]
add notes on this program

24 years agostresstest is based on cgiwrap. it can be used to debug php4isapi.dll without
Shane Caraveo [Sun, 7 Jan 2001 23:52:18 +0000 (23:52 +0000)]
stresstest is based on cgiwrap.  it can be used to debug php4isapi.dll without
the use of an actual web server.