]> granicus.if.org Git - php/log
php
24 years ago- Move php_open_temporary_file() out of file.c
Andi Gutmans [Mon, 11 Sep 2000 18:56:47 +0000 (18:56 +0000)]
- Move php_open_temporary_file() out of file.c

24 years ago- Use the same check for existence of a valid link as the other functions.
Jouni Ahto [Mon, 11 Sep 2000 18:34:06 +0000 (18:34 +0000)]
- Use the same check for existence of a valid link as the other functions.
- Return TRUE if everything went OK.
- Fixed the number of arguments to pg_endcopy.
- Removed unused variables.
- Indentation, changed spaces to tabs.

24 years agoKill a warning
Sascha Schumann [Mon, 11 Sep 2000 16:25:36 +0000 (16:25 +0000)]
Kill a warning

24 years agoAdd proper struct sockaddr * casts and make use of memcpy/memset ('coz we
Sascha Schumann [Mon, 11 Sep 2000 16:19:53 +0000 (16:19 +0000)]
Add proper struct sockaddr * casts and make use of memcpy/memset ('coz we
don't provide any fallbacks for bcopy/bzero).

24 years ago- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
Derick Rethans [Mon, 11 Sep 2000 15:34:14 +0000 (15:34 +0000)]
- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
  <delmendo@rackspace.com>)
@ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)

24 years agoSolaris-readdir_r-wants-large-buffer fix
Sascha Schumann [Mon, 11 Sep 2000 15:25:06 +0000 (15:25 +0000)]
Solaris-readdir_r-wants-large-buffer fix
Libc5-readdir_r workaround

24 years agoLibc5-readdir_r workaround
Sascha Schumann [Mon, 11 Sep 2000 15:24:28 +0000 (15:24 +0000)]
Libc5-readdir_r workaround

24 years ago- Forgot to create extended info in include()/require() call
Andi Gutmans [Mon, 11 Sep 2000 15:15:57 +0000 (15:15 +0000)]
- Forgot to create extended info in include()/require() call

24 years ago- Testing 1 2 3
Andi Gutmans [Mon, 11 Sep 2000 15:15:29 +0000 (15:15 +0000)]
- Testing 1 2 3

24 years ago- Testing 1 2 3
Andi Gutmans [Mon, 11 Sep 2000 15:14:56 +0000 (15:14 +0000)]
- Testing 1 2 3

24 years ago(PHP parse_str) ParameterPassedByReference() check is not necessary.
Andrei Zmievski [Mon, 11 Sep 2000 14:54:12 +0000 (14:54 +0000)]
(PHP parse_str) ParameterPassedByReference() check is not necessary.

24 years agoAdd additional parameter to parse_str for saving result (thanks to
Stanislav Malyshev [Mon, 11 Sep 2000 14:50:26 +0000 (14:50 +0000)]
Add additional parameter to parse_str for saving result (thanks to
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)

24 years ago(PHP pathinfo) Fixed more typos.
Andrei Zmievski [Mon, 11 Sep 2000 13:54:59 +0000 (13:54 +0000)]
(PHP pathinfo) Fixed more typos.

24 years ago(PHP pathinfo) Fixed leaks, saved some memory allocations, added
Andrei Zmievski [Mon, 11 Sep 2000 13:52:22 +0000 (13:52 +0000)]
(PHP pathinfo) Fixed leaks, saved some memory allocations, added
more error checking.

24 years agoFix attribution.
Andrei Zmievski [Mon, 11 Sep 2000 13:18:49 +0000 (13:18 +0000)]
Fix attribution.

24 years agoFixed bug #6356.
foobar [Mon, 11 Sep 2000 13:01:07 +0000 (13:01 +0000)]
Fixed bug #6356.

24 years ago- Should fix compile warning
Andi Gutmans [Mon, 11 Sep 2000 04:31:04 +0000 (04:31 +0000)]
- Should fix compile warning

24 years ago@- Fix bug with curl places extra data in the output. (medvitz@medvitz.net)
Sterling Hughes [Mon, 11 Sep 2000 03:33:14 +0000 (03:33 +0000)]
@- Fix bug with curl places extra data in the output. (medvitz@medvitz.net)

24 years agoChangeLog update
<changelog@php.net> [Mon, 11 Sep 2000 01:09:11 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Mon, 11 Sep 2000 01:09:08 +0000 (01:09 +0000)]
NEWS update

24 years agoFix compile warning.
Sterling Hughes [Sun, 10 Sep 2000 23:18:11 +0000 (23:18 +0000)]
Fix compile warning.
Fix proto.
Change PHP_MINFO output to be consistent.

24 years agophp4ize a bit.
Sterling Hughes [Sun, 10 Sep 2000 21:07:18 +0000 (21:07 +0000)]
php4ize a bit.
fix a little bit of grammar.

24 years agoFix attribution.
Sterling Hughes [Sun, 10 Sep 2000 20:57:22 +0000 (20:57 +0000)]
Fix attribution.

24 years agoMake unpack("H") work like in Perl
Stanislav Malyshev [Sun, 10 Sep 2000 13:47:51 +0000 (13:47 +0000)]
Make unpack("H") work like in Perl

24 years agoFix pack() function reading string beyond the end
Stanislav Malyshev [Sun, 10 Sep 2000 13:34:03 +0000 (13:34 +0000)]
Fix pack() function reading string beyond the end

24 years agoAllow require_once to take expressions, just like require
Stanislav Malyshev [Sun, 10 Sep 2000 11:24:45 +0000 (11:24 +0000)]
Allow require_once to take expressions, just like require

24 years agoFix double unpack bug
Stanislav Malyshev [Sun, 10 Sep 2000 11:03:32 +0000 (11:03 +0000)]
Fix double unpack bug

24 years agoTry once more to remove dups
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:55 +0000 (09:49 +0000)]
Try once more to remove dups

24 years agoTest commit - weed out duplicate messages
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:02 +0000 (09:49 +0000)]
Test commit - weed out duplicate messages

24 years agoA tiny fix to the getaddrinfo check
Stig Venaas [Sun, 10 Sep 2000 09:35:48 +0000 (09:35 +0000)]
A tiny fix to the getaddrinfo check

24 years agorefining getaddrinfo check further, checking that struct addrinfo is there
Stig Venaas [Sun, 10 Sep 2000 08:09:21 +0000 (08:09 +0000)]
refining getaddrinfo check further, checking that struct addrinfo is there

24 years ago@- Added the pathinfo() function. (Sterling)
Sterling Hughes [Sun, 10 Sep 2000 05:59:16 +0000 (05:59 +0000)]
@- Added the pathinfo() function. (Sterling)

24 years agoFix compile warnings.
Joey Smith [Sun, 10 Sep 2000 05:35:03 +0000 (05:35 +0000)]
Fix compile warnings.

24 years ago@- Updated sybase_ct module and its sybase_query to use high performance API.
Joey Smith [Sun, 10 Sep 2000 05:24:30 +0000 (05:24 +0000)]
@- Updated sybase_ct module and its sybase_query to use high performance API.
(sybase_query) Use high performance API in sybase_query. Will work on the others later.

24 years agoUse new Zend API stuff.
Joey Smith [Sun, 10 Sep 2000 05:13:56 +0000 (05:13 +0000)]
Use new Zend API stuff.

24 years agoChangeLog update
<changelog@php.net> [Sun, 10 Sep 2000 01:09:09 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Sun, 10 Sep 2000 01:09:06 +0000 (01:09 +0000)]
NEWS update

24 years ago- Fixed missing parameter in php_atoi
Derick Rethans [Sat, 9 Sep 2000 23:21:44 +0000 (23:21 +0000)]
- Fixed missing parameter in php_atoi

24 years agoAdded IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())
Stig Venaas [Sat, 9 Sep 2000 21:29:37 +0000 (21:29 +0000)]
Added IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())

24 years agofix typo
David Croft [Sat, 9 Sep 2000 20:39:08 +0000 (20:39 +0000)]
fix typo

24 years agoUpdate NEWS
Zeev Suraski [Sat, 9 Sep 2000 20:38:02 +0000 (20:38 +0000)]
Update NEWS

24 years agocheck the range of message numbers in imap_uid.
Chuck Hagenbuch [Sat, 9 Sep 2000 20:26:15 +0000 (20:26 +0000)]
check the range of message numbers in imap_uid.

24 years agoFix attribution.
Andrei Zmievski [Sat, 9 Sep 2000 16:24:06 +0000 (16:24 +0000)]
Fix attribution.

24 years agoUpdate NEWS
Zeev Suraski [Sat, 9 Sep 2000 16:01:40 +0000 (16:01 +0000)]
Update NEWS

24 years agoDon't use unsafe sprintf()
Zeev Suraski [Sat, 9 Sep 2000 15:06:38 +0000 (15:06 +0000)]
Don't use unsafe sprintf()

24 years agoMore security-related (control) patches:
Zeev Suraski [Sat, 9 Sep 2000 15:02:15 +0000 (15:02 +0000)]
More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit.  Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).

24 years ago- Fix for bug #6586
Derick Rethans [Sat, 9 Sep 2000 12:24:20 +0000 (12:24 +0000)]
- Fix for bug #6586

24 years agoMore restrictive getaddrinfo check, better not find it than breaking builds
Stig Venaas [Sat, 9 Sep 2000 12:09:43 +0000 (12:09 +0000)]
More restrictive getaddrinfo check, better not find it than breaking builds

24 years agoFix UNIX build
Zeev Suraski [Sat, 9 Sep 2000 12:02:31 +0000 (12:02 +0000)]
Fix UNIX build

24 years agoCheck for mkstemp()
Zeev Suraski [Sat, 9 Sep 2000 11:54:04 +0000 (11:54 +0000)]
Check for mkstemp()

24 years agoSecurity related updates:
Zeev Suraski [Sat, 9 Sep 2000 11:41:14 +0000 (11:41 +0000)]
Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam().  Still
  needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
  (was it ever tested?).  Files moved with move_uploaded_file() will not be unlink()'d
  again, to avoid (albeit very unlikely) race conditions.

24 years agoFixed #6627. Wrong logic...
Jouni Ahto [Sat, 9 Sep 2000 09:40:16 +0000 (09:40 +0000)]
Fixed #6627. Wrong logic...

24 years ago@Added a more configurable error reporting interface to DB.
Stig Bakken [Sat, 9 Sep 2000 02:39:56 +0000 (02:39 +0000)]
@Added a more configurable error reporting interface to DB.
Added a more configurable error reporting interface to DB.
Also added some more tests, and moved the DB tests to pear/DB/tests.
#Usage example that prints and exits on every error:
#$dbh = DB::connect($dsn);
#$dbh->setErrorHandling(PEAR_ERROR_DIE);
#
#Example with plain callback function:
#$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, "errorHandler");
#
#Example with object callback function:
#$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, array($obj, "errorHandler"));
#
#Handler functions/methods are called with the error object as a parameter.
#

24 years ago* compile fix
Stig Bakken [Sat, 9 Sep 2000 01:15:50 +0000 (01:15 +0000)]
* compile fix

24 years agoChangeLog update
<changelog@php.net> [Sat, 9 Sep 2000 01:09:05 +0000 (01:09 +0000)]
ChangeLog update

24 years ago* don't require "POST" section to be present (TEST, FILE and EXPECT
Stig Bakken [Sat, 9 Sep 2000 00:37:39 +0000 (00:37 +0000)]
* don't require "POST" section to be present (TEST, FILE and EXPECT
  are enough)

24 years agoImplement move_uploaded_file() (untested)
Zeev Suraski [Fri, 8 Sep 2000 22:31:21 +0000 (22:31 +0000)]
Implement move_uploaded_file() (untested)

24 years agoFix build
Zeev Suraski [Fri, 8 Sep 2000 22:26:07 +0000 (22:26 +0000)]
Fix build

24 years agois_uploaded_file() is probably a better name.
Andrei Zmievski [Fri, 8 Sep 2000 21:58:28 +0000 (21:58 +0000)]
is_uploaded_file() is probably a better name.

24 years ago- Implemented is_upload_file()
Zeev Suraski [Fri, 8 Sep 2000 21:56:47 +0000 (21:56 +0000)]
- Implemented is_upload_file()

24 years agoFix build after last commit.
Jon Parise [Fri, 8 Sep 2000 15:39:42 +0000 (15:39 +0000)]
Fix build after last commit.

24 years agoRestore the headers_only test to the centralized SAPI startup. If necessary, it can
Zeev Suraski [Fri, 8 Sep 2000 14:43:57 +0000 (14:43 +0000)]
Restore the headers_only test to the centralized SAPI startup.  If necessary, it can
be overriden in the activate() callback.

24 years agoDon't trust snprintf return
Stanislav Malyshev [Fri, 8 Sep 2000 13:19:51 +0000 (13:19 +0000)]
Don't trust snprintf return

24 years agoNever trust snprintf return value
Stanislav Malyshev [Fri, 8 Sep 2000 12:52:05 +0000 (12:52 +0000)]
Never trust snprintf return value

24 years agoFix crash on very long error messages
Stanislav Malyshev [Fri, 8 Sep 2000 12:32:29 +0000 (12:32 +0000)]
Fix crash on very long error messages
Manual for snprintf says:
       If  the output was truncated, the return value is -1, oth-
       erwise it is the number of characters stored, not  includ-
       ing the terminating null.
And that's a blatant lie - in reality, libc 2.1 always returns number of
characters that _would be_ stored. I hate those libc bugs. Now we should go
and check every place we trusted snprintf return value.

24 years agoFixed typo. Changed php3_error to php_error.
foobar [Fri, 8 Sep 2000 12:28:00 +0000 (12:28 +0000)]
Fixed typo. Changed php3_error to php_error.

24 years agoFix syslog call
Stanislav Malyshev [Fri, 8 Sep 2000 12:07:21 +0000 (12:07 +0000)]
Fix syslog call

24 years agoChanged // to /* */ comments.
foobar [Fri, 8 Sep 2000 11:50:24 +0000 (11:50 +0000)]
Changed // to /* */ comments.

24 years agoSince we don't allow parameters for syslog, we shouln't pass the
Stanislav Malyshev [Fri, 8 Sep 2000 11:24:08 +0000 (11:24 +0000)]
Since we don't allow parameters for syslog, we shouln't pass the
string as format

24 years ago- Add another ..\ to the TSRM search path
Andi Gutmans [Fri, 8 Sep 2000 08:17:17 +0000 (08:17 +0000)]
- Add another ..\ to the TSRM search path

24 years ago- Add TSRM to the apache workspace include path
Andi Gutmans [Fri, 8 Sep 2000 08:15:25 +0000 (08:15 +0000)]
- Add TSRM to the apache workspace include path

24 years ago- last parameter of pdf_get_parameter(), pdf_get_value() optional
Uwe Steinmann [Fri, 8 Sep 2000 06:47:04 +0000 (06:47 +0000)]
- last parameter of pdf_get_parameter(), pdf_get_value() optional
- fixes to make it compile with sun cc

24 years agoChangeLog update
<changelog@php.net> [Fri, 8 Sep 2000 01:09:11 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Fri, 8 Sep 2000 01:09:08 +0000 (01:09 +0000)]
NEWS update

24 years ago- The mcrypt extension also works with 2.4.4 since php 4.0.2
Derick Rethans [Thu, 7 Sep 2000 21:28:28 +0000 (21:28 +0000)]
- The mcrypt extension also works with 2.4.4 since php 4.0.2

24 years agoBetter IPv6 checking
Stig Venaas [Thu, 7 Sep 2000 17:56:12 +0000 (17:56 +0000)]
Better IPv6 checking

24 years agoFix readdir bug in libc5
Stanislav Malyshev [Thu, 7 Sep 2000 17:55:53 +0000 (17:55 +0000)]
Fix readdir bug in libc5
@Fix readdir bug in libc5
# If libc5 receives 0 in *result of readdir_r, it just returns error
# That's a clear bug, so this is a workaround.

24 years ago- Converted __string_value() to toString(), since the former is obsolete.
Andrei Zmievski [Thu, 7 Sep 2000 16:36:22 +0000 (16:36 +0000)]
- Converted __string_value() to toString(), since the former is obsolete.
- Made sure DB results are freed where necessary.
- Made DB::getAssoc() use $params if passed.
- Implemented DB::getAll().

24 years agoWrap long lines.
Andrei Zmievski [Thu, 7 Sep 2000 15:40:44 +0000 (15:40 +0000)]
Wrap long lines.

24 years ago-
Andi Gutmans [Thu, 7 Sep 2000 15:38:22 +0000 (15:38 +0000)]
-

24 years ago- Fix crash bug on NetBSD and OpenBSD. MAXPATHLEN didn't get defined
Andi Gutmans [Thu, 7 Sep 2000 15:31:29 +0000 (15:31 +0000)]
- Fix crash bug on NetBSD and OpenBSD. MAXPATHLEN didn't get defined
  correctly and caused a stack overrun. This was *hard* to debug.

24 years ago- Smarter detection of MAXPATHLEN
Andi Gutmans [Thu, 7 Sep 2000 15:20:29 +0000 (15:20 +0000)]
- Smarter detection of MAXPATHLEN

24 years ago- Get rid of build warning on Windows
Andi Gutmans [Thu, 7 Sep 2000 14:11:38 +0000 (14:11 +0000)]
- Get rid of build warning on Windows

24 years agomake ZTS mode compile
Thies C. Arntzen [Thu, 7 Sep 2000 12:32:47 +0000 (12:32 +0000)]
make ZTS mode compile

24 years agoSend $HTTP_POST_FILES to the right place
Zeev Suraski [Thu, 7 Sep 2000 04:12:31 +0000 (04:12 +0000)]
Send $HTTP_POST_FILES to the right place

24 years agoChangeLog update
<changelog@php.net> [Thu, 7 Sep 2000 01:09:04 +0000 (01:09 +0000)]
ChangeLog update

24 years ago- Centralize some configuration stuff
Andi Gutmans [Wed, 6 Sep 2000 20:27:12 +0000 (20:27 +0000)]
- Centralize some configuration stuff
- Use inline in my strtok_r implementation

24 years ago- Save two lines
Andi Gutmans [Wed, 6 Sep 2000 18:42:06 +0000 (18:42 +0000)]
- Save two lines

24 years ago- Fix header
Andi Gutmans [Wed, 6 Sep 2000 18:38:36 +0000 (18:38 +0000)]
- Fix header

24 years agoUnless overwritten, default to no optimization in debug mode.
Sascha Schumann [Wed, 6 Sep 2000 18:37:39 +0000 (18:37 +0000)]
Unless overwritten, default to no optimization in debug mode.

24 years ago4.0.3-dev
Sascha Schumann [Wed, 6 Sep 2000 16:52:33 +0000 (16:52 +0000)]
4.0.3-dev

24 years agoAdd TSRM include dirs
Sascha Schumann [Wed, 6 Sep 2000 15:41:40 +0000 (15:41 +0000)]
Add TSRM include dirs

24 years agoConvert some more "complex" expressions manually to Z_* macros.
Sascha Schumann [Wed, 6 Sep 2000 14:25:47 +0000 (14:25 +0000)]
Convert some more "complex" expressions manually to Z_* macros.

24 years agoRename symbols whose first character was an underscore.
Sascha Schumann [Wed, 6 Sep 2000 14:16:12 +0000 (14:16 +0000)]
Rename symbols whose first character was an underscore.

24 years agoConvert to Z_* macros
Sascha Schumann [Wed, 6 Sep 2000 14:13:31 +0000 (14:13 +0000)]
Convert to Z_* macros

24 years agoA little script for converting source files to the Z_* macros
Sascha Schumann [Wed, 6 Sep 2000 14:12:53 +0000 (14:12 +0000)]
A little script for converting source files to the Z_* macros

24 years agofix #6552 & #6577
Thies C. Arntzen [Wed, 6 Sep 2000 13:50:09 +0000 (13:50 +0000)]
fix #6552 & #6577
thanx to Blake Schwendiman" <blake@intechra.net>

24 years agodeleted unnecessary defines
Daniel Beulshausen [Wed, 6 Sep 2000 10:00:34 +0000 (10:00 +0000)]
deleted unnecessary defines
i also plan to let windows build with crypt() support

24 years agoadded LIBGD define
Daniel Beulshausen [Wed, 6 Sep 2000 09:53:05 +0000 (09:53 +0000)]
added LIBGD define
# what's with the 'PHPAPI' on line 274 in gd.c, should it get exported?
# it currently breaks the windows build

24 years agofixed debug build and removed dsw
Daniel Beulshausen [Wed, 6 Sep 2000 09:37:04 +0000 (09:37 +0000)]
fixed debug build and removed dsw