Commit Graph

18644 Commits

Author SHA1 Message Date
Ilia Alshanetsky
a747d1f864 Changed strncpy() to strlcpy(). 2002-12-24 17:30:48 +00:00
Ilia Alshanetsky
59b6ffee1e A variety of CS style fixes, which include:
* Changed all argument parsing to use the new zend_parse_parameters()
 * If a function is unavailable due to lack of support for a certain feature,
   do not make the function avaliable, rather then making it print an error
   saying that the functionality offered by the function is not avaliable.
 * Lots of WS fixes all over the file.
 * Change strcpy() to strncpy() to prevent possible buffer overflows.
Fixed a bug in ncurses_pair_content(), 1st parameter was wrong.
Fixed several function prototypes that failed to indicate that functions
accepted arguments by reference.
2002-12-24 17:20:33 +00:00
eb668bcd9b ChangeLog update 2002-12-24 01:31:43 +00:00
Melvyn Sopacua
0764c3101b Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't
supported and there are no matches.

# BSDi/Mac OSX are affected.
2002-12-23 18:33:46 +00:00
Stefan Esser
0bb1ff71d6 fix compile error on IRIX 2002-12-23 08:50:05 +00:00
Edin Kadribasic
f13ecb9832 MFB:
Ignore the new name of the binary built. Allows cvsclean to work again
in sapi/cgi.
2002-12-23 03:35:38 +00:00
Wez Furlong
05ea039144 MFB: fpos_t -> off_t 2002-12-23 02:56:46 +00:00
d5b8ef54e9 ChangeLog update 2002-12-23 01:33:10 +00:00
Ilia Alshanetsky
af55703d52 Fixed various memory leaks.
# Should this be MFHed?
2002-12-22 20:16:37 +00:00
Moriyoshi Koizumi
45f67837e6 Removed "%s" from format strings 2002-12-22 19:51:49 +00:00
Ilia Alshanetsky
0ae3050aa5 Fixed bug #21146. 2002-12-22 19:44:01 +00:00
Moriyoshi Koizumi
d70f96550c php_error => php_error_docref 2002-12-22 19:16:09 +00:00
Moriyoshi Koizumi
9b3f810564 WS fix 2002-12-22 19:05:06 +00:00
Moriyoshi Koizumi
dcc030f5ef Fixed bug #21144 2002-12-22 19:01:44 +00:00
Wez Furlong
c5091eedf1 Forgot to include this in my previous commit for #21131 fix. 2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5 Fix for Bug #21131: fopen($file, 'a+') would incorrectly assume that
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Sascha Schumann
20e8bc31f0 (char *) vptr += expr; is refused by the IRIX compiler, so we use
vptr = (char *) vptr + expr; instead.
2002-12-22 16:34:13 +00:00
Sascha Schumann
280f4a4373 'index' is a function name in the C library, do not use it as variable name.
also, cast the 'void *' correctly to a 'char *' for manipulation
instead of an 'int'.
2002-12-22 16:03:28 +00:00
Wez Furlong
90c478664a A Simple fix for Bug #12360 (fsockopen timeout doesn't work).
Analysis:
On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would
attempt to connect to each possible address that matched the requested IP.

If the remote host:port combination are dropping packets this would cause the
first connection to timeout (after waiting for the full timeout duration).

PHP would then attempt the second address and wait the full duration again.

Solution:
If the first connection attempt times out, abort the connection loop.
2002-12-22 13:55:45 +00:00
Melvyn Sopacua
e03bccb1ad Delete some security related env variables 2002-12-22 12:48:49 +00:00
f023f6f8fc ChangeLog update 2002-12-22 01:33:28 +00:00
Stig Bakken
aded559898 * Windows fix from Edin 2002-12-22 01:32:01 +00:00
Stig Bakken
c4ddda3e23 * set default xml-rpc cache ttl to 1 hour 2002-12-22 01:31:13 +00:00
Frank M. Kromann
ca4a0cdb8a Create php.exe in cli directory to avoid conflict with the cgi version 2002-12-21 22:43:47 +00:00
Edin Kadribasic
17687a4fff MFB:
Updated list of bundled windows extensions compiled by
Christoph Grottolo <cg@gordimer.net>
2002-12-21 22:19:51 +00:00
Edin Kadribasic
473366d6e7 MFB: Reflect recent changes to the build process. 2002-12-21 22:05:55 +00:00
Moriyoshi Koizumi
9dc6f0c5f2 Made auth information inaccessible under safe mode as discussed in the list 2002-12-21 21:50:28 +00:00
Melvyn Sopacua
2169eb2ccc MFB: There won't be a warning/fix on this, so remove the test 2002-12-21 21:01:52 +00:00
Ilia Alshanetsky
29d507d224 Moved the bug fix news entry to 4.3.0 section, to indicate that it has been
MFHed.
2002-12-21 20:37:17 +00:00
Andrei Zmievski
2feb1cf6d7 MFB. 2002-12-21 20:12:08 +00:00
Ilia Alshanetsky
da498edd5e Bug fixing news & range() changes. 2002-12-21 18:06:04 +00:00
Ilia Alshanetsky
98e85ae80b Fixed bug #20987 (no handling for client certificates). 2002-12-21 18:03:46 +00:00
Derick Rethans
16e5459f94 MFB: Fix typo 2002-12-21 17:48:37 +00:00
Melvyn Sopacua
9dc1412e46 MFB: Skip the test, until a proper descision is made 2002-12-21 16:58:23 +00:00
Moriyoshi Koizumi
4456b3274f WS 2002-12-21 06:34:31 +00:00
Moriyoshi Koizumi
f4883b916c Added some notes about the brigade bug detection 2002-12-21 06:33:19 +00:00
550aedb63d ChangeLog update 2002-12-21 01:34:00 +00:00
Andrei Zmievski
64ab75c206 *** empty log message *** 2002-12-21 01:11:44 +00:00
Andrei Zmievski
ddea2a190f Alias dba_popen() to dba_open() until persistent STDIO streams are
implemented.
2002-12-21 01:09:27 +00:00
Sascha Schumann
76a158a336 test commit 2002-12-20 20:53:10 +00:00
Stefan Esser
e4e299614e need more space 2002-12-20 19:37:07 +00:00
Georg Richter
d5f02c553b fixed some warning when using external 4.x libs 2002-12-20 18:52:27 +00:00
Frank M. Kromann
ad69583ba1 Fixing Win32 build by adding missing libraries 2002-12-20 18:40:31 +00:00
Sara Golemon
13308b5a94 Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Marcus Boerger
efd314e767 -Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Frank M. Kromann
710e49a30b Make sure the debug version is created in the right directory 2002-12-20 17:34:34 +00:00
Ilia Alshanetsky
3a4bf3f904 When low & high are the same return an array containing the low value.
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3 @Make uniqid() parameters optional and allow any prefix length. (Marcus) 2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27 MFB 2002-12-20 17:04:33 +00:00
Andrei Zmievski
c45f76112f At least this problem exposed some leaks.. 2002-12-20 16:45:34 +00:00