Wez Furlong
86e60a2d7a
@- fgets($fp) (with no length parameter) now uses a buffer as long as the
...
@ the next line available from the $fp. Previously, there was a 1KB limit.
@ (Wez)
2002-10-14 02:28:35 +00:00
Wez Furlong
39f8d4c971
Add a sanity check and more verbose output in the case of an error.
2002-10-14 02:25:51 +00:00
Wez Furlong
be5606504c
Implement better SSL error handling.
2002-10-14 01:27:43 +00:00
7e6280630b
NEWS update
2002-10-14 00:36:11 +00:00
cf3493a78d
ChangeLog update
2002-10-14 00:35:29 +00:00
Wez Furlong
483f355d30
Fix stream_eof result interpretation (and thus the user-streams test).
2002-10-14 00:16:02 +00:00
Wez Furlong
2d97f4d4c7
Remove some old code.
2002-10-13 23:43:46 +00:00
Wez Furlong
0bcd2ccb2c
A much better probable fix for #16114 .
2002-10-13 23:43:21 +00:00
Wez Furlong
bc0948bbda
Probable fix for #16114
2002-10-13 23:21:05 +00:00
Wez Furlong
5f7c347f17
Fix a nasty nasty bug:
...
When not enough data to satisfy a read was found in the buffer, fgets modifies
the buf pointer to point to the position to store the next chunk. It then
returned the modified buf pointer, instead of a pointer to the start of the
buffer.
Also added some infrastructure for making fgets grow the buffer on-demand to
the correct line-size. Since streams uses reasonable chunk sizes, the
performance of the realloc's should be pretty good; in the best case, the line
is already found completely in the buffer, so the returned buffer will be
allocated to precisely the correct size.
In the worst case, where the buffer only contains part of the line, we get a
realloc per buffer fill. The reallocs are either the size of the remainder
of the line, or the chunk_size (if the buffer sill does not contain a complete
line). Each realloc adds an extra byte for a NUL terminator.
I think this will perform quite well using the default chunk size of 8K.
2002-10-13 22:52:33 +00:00
Wez Furlong
70b796b143
(php_socket_errno) win32 errno compatible macro.
...
(php_socket_strerror) win32 compatible strerror replacement.
Add an E_NOTICE when a socket write fails.
2002-10-13 22:01:40 +00:00
Ilia Alshanetsky
63212d27ee
Increased the API number. (re: floats patch)
2002-10-13 15:28:21 +00:00
Derick Rethans
f9fdd74a03
- Fixed bug #19885 , dl() no longer gives a fatal error when a module
...
could not be loaded. (Derick)
2002-10-13 14:14:34 +00:00
Sascha Schumann
47a1421d89
Redo the patch on Linux, the cygwin diff seems to be a bit broken.
2002-10-13 11:54:08 +00:00
Sascha Schumann
356f7503fa
PHP + thttpd (+IRCG) build using CYGWIN now
2002-10-13 11:50:16 +00:00
Sascha Schumann
4f61b16768
Remove set .x
2002-10-13 11:28:34 +00:00
Sascha Schumann
240cdb743e
Use if block rather than an or expression
2002-10-13 11:28:06 +00:00
Derick Rethans
bfc3250187
- Hardcode dependent ini setting
2002-10-13 11:14:49 +00:00
Martin Jansen
0b69dbc931
* Add missing PHP_SUBST(awk).
2002-10-13 10:20:15 +00:00
Yasuo Ohgaki
1917f5f382
Fixed proto. Clean up.
2002-10-13 09:48:18 +00:00
Yasuo Ohgaki
a6de0807ae
Need to init connstring when there are 2 args.
2002-10-13 09:41:35 +00:00
Shane Caraveo
69f56e8c4a
make fastcgi usage threadsafe, ready for future multithreaded fastcgi implementation
...
get rid of environment overwriting but hooking into php's environment function
set $_ENV correctly for mod_fastcgi
add -b to specify binding for fastcgi
new readme file with information for running under apache2.0 and iis
2002-10-13 09:40:44 +00:00
Yasuo Ohgaki
2c23e56c7f
Introduce connect_type option to pg_connect().
...
pg_connect(conn_str, conn_type) is allowed.
@Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo)
# If you have better idea about constant name(s), let me know.
2002-10-13 09:37:27 +00:00
Shane Caraveo
96b9c0a523
make php_import_environment_variables overwritable so fastcgi can correctly
...
set $_ENV.
2002-10-13 08:38:09 +00:00
Shane Caraveo
acb9bc95e3
fixes for unix, untested
...
remove exit calls
fix a couple function definitions
2002-10-13 08:34:27 +00:00
foobar
7298d563f7
ignore test.dbm
2002-10-13 08:08:53 +00:00
foobar
8f393dc053
These should be ignored.
2002-10-13 08:08:07 +00:00
Shane Caraveo
2b40a0f2a3
fix shutdown issues
2002-10-13 07:23:17 +00:00
Shane Caraveo
bfd3efcbd3
fix invalid handle issue that shutdown php fastcgi prematurly
...
fix checking os name for impersonation
2002-10-13 05:55:03 +00:00
Yasuo Ohgaki
6edd9d2f72
Enable pg_escape_bytea().
2002-10-13 03:00:48 +00:00
Ilia Alshanetsky
b855893b0c
Fixed ZTS build
...
Fixed 2 ZTS related warnings
2002-10-13 01:40:46 +00:00
Wez Furlong
3a8c49afc1
Make PHP follow 301 correctly.
...
# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# something to do with Ilia's patch to fix memory leaks.
2002-10-13 01:03:43 +00:00
495dbef642
ChangeLog update
2002-10-13 00:33:52 +00:00
foobar
62103501be
Add note about fhttpd removal.
2002-10-12 23:05:34 +00:00
foobar
068907c9bc
- Removed sapi/fhttpd (this webserver is dead)
2002-10-12 23:02:43 +00:00
Ilia Alshanetsky
e842ef9f4b
MFZE1 (floats & locale issue)
2002-10-12 21:15:35 +00:00
Pierre Joye
06455b10bf
No more needed here
2002-10-12 20:46:57 +00:00
Derick Rethans
e17d6518b1
- woohooo! Automatic build test submits!
2002-10-12 19:29:56 +00:00
Stig Bakken
2809b32e63
* update test
2002-10-12 18:27:05 +00:00
James Cox
27ab17b20e
mention vpopmail.
2002-10-12 17:47:45 +00:00
Derick Rethans
db89afc45b
- Hardcode setting which affects the test
2002-10-12 17:12:43 +00:00
Derick Rethans
8f7f6045b0
- Make the test do what it says
2002-10-12 16:53:13 +00:00
Sander Roobol
36fd03b578
Typo
2002-10-12 16:16:36 +00:00
Ilia Alshanetsky
bcf1d4ff80
Fixed a bug introduced by previous patch.
2002-10-12 16:09:01 +00:00
Pierre Joye
09b9d5d956
Add test for single directory creation
...
this test actually fails
2002-10-12 15:18:31 +00:00
foobar
a6c3ba12bf
added cybercash to the killed exts list..
2002-10-12 14:59:40 +00:00
Stig Bakken
c93ff0fa6f
* 1.0b1 is today
2002-10-12 14:20:32 +00:00
Stig Bakken
6fc63bbdd8
* added "pear makerpm" command for wrapping PEAR packages in RPMs
2002-10-12 14:19:50 +00:00
Stig Bakken
846ad56a13
* rename System::type to System::which
2002-10-12 14:17:44 +00:00
Stig Bakken
c0c85a8c77
* CLI layout adjustment
2002-10-12 13:43:41 +00:00