[PHP-CVS] cvs: php4 /ext/standard file.c

2003-06-14 Thread Marcus Boerger
helly Sat Jun 14 13:08:49 2003 EDT Modified files: /php4/ext/standard file.c Log: Fix ZTS mode Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.347 php4/ext/standard/file.c:1.348 --- php4/ext/standard/file.c:1.347 Fri Jun 13 17:33:59

[PHP-CVS] cvs: php4 /ext/standard file.c /main/streams streams.c

2003-06-14 Thread Marcus Boerger
helly Sat Jun 14 15:30:42 2003 EDT Modified files: /php4/ext/standard file.c /php4/main/streams streams.c Log: Fix ZTS mode (hopefully all is working fine now again) Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.348

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-05-31 Thread Ilia Alshanetsky
iliaa Fri May 30 20:32:45 2003 EDT Modified files: /php4/ext/standard file.c Log: Fixed bug #23913 (make rename() work across partitions on *nix) Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.343 php4/ext/standard/file.c:1.344 ---

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-03-28 Thread Ilia Alshanetsky
iliaa Fri Mar 28 09:31:31 2003 EDT Modified files: /php4/ext/standard file.c Log: CS Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.328 php4/ext/standard/file.c:1.329 --- php4/ext/standard/file.c:1.328 Fri Mar 21 17:22:15 2003 +++

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-03-21 Thread Sterling Hughes
sterlingFri Mar 21 17:22:16 2003 EDT Modified files: /php4/ext/standard file.c Log: fix segfault in file_set_contents() when the file could not successfully be opened. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.327

[PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h /main/streams xp_socket.c

2003-02-27 Thread Wez Furlong
wez Thu Feb 27 14:10:24 2003 EDT Modified files: /php4/ext/standard file.c /php4/main php_streams.h /php4/main/streams xp_socket.c Log: Add a generic meta data api for streams. Index: php4/ext/standard/file.c diff -u

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-27 Thread Hartmut Holzgraefe
hholzgraFri Feb 28 02:52:23 2003 EDT Modified files: /php4/ext/standard file.c Log: make sure that GNU extensions exist for fnmatch() Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.319 php4/ext/standard/file.c:1.320 ---

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-27 Thread Hartmut Holzgraefe
hholzgraFri Feb 28 02:57:01 2003 EDT Modified files: /php4/ext/standard file.c Log: it is still to early in the morning for coding :( Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.320 php4/ext/standard/file.c:1.321 ---

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-26 Thread Derick Rethans
derick Wed Feb 26 14:34:16 2003 EDT Modified files: /php4/ext/standard file.c Log: - Fix proto Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.314 php4/ext/standard/file.c:1.315 --- php4/ext/standard/file.c:1.314 Tue Feb 25 15:12:18

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h /main/streams plain_wrapper.c

2003-02-26 Thread Marcus Börger
At 02:39 25.02.2003, Ilia Alshanetsky wrote: iliaa Mon Feb 24 20:39:07 2003 EDT Log: Added locking to streams. Allow PHP to automatically release locks on files when terminating the stream. Fixed bugs in the handling of the 3rd optional parameter to flock(). What about

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-25 Thread Moriyoshi Koizumi
moriyoshi Tue Feb 25 15:12:22 2003 EDT Modified files: /php4/ext/standard file.c Log: Set fgetss() free from the length parameter Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.313 php4/ext/standard/file.c:1.314 ---

[PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h /main/streams cast.c plain_wrapper.c streams.c

2003-02-24 Thread Wez Furlong
wez Mon Feb 24 16:40:24 2003 EDT Modified files: /php4/ext/standard file.c /php4/main php_streams.h /php4/main/streams cast.c plain_wrapper.c streams.c Log: MFB: Bunch of streams related fixes. Index: php4/ext/standard/file.c diff -u

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h /main/streams cast.c plain_wrapper.c streams.c

2003-02-24 Thread Rasmus Lerdorf
On Mon, 24 Feb 2003, Wez Furlong wrote: wez Mon Feb 24 16:40:24 2003 EDT Modified files: /php4/ext/standardfile.c /php4/mainphp_streams.h /php4/main/streamscast.c plain_wrapper.c streams.c Log: MFB: Bunch of streams

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-24 Thread Moriyoshi Koizumi
moriyoshi Mon Feb 24 17:39:47 2003 EDT Modified files: /php4/ext/standard file.c Log: Made fgetss() binary safe too Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.311 php4/ext/standard/file.c:1.312 ---

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h /main/streams cast.c plain_wrapper.c streams.c

2003-02-24 Thread Wez Furlong
PHP_4_3. I made the original fixes there and then up-ported them to PHP5, which wasn't suffering so much since the ze-stream patch. --Wez. On Mon, 24 Feb 2003, Rasmus Lerdorf wrote: On Mon, 24 Feb 2003, Wez Furlong wrote: wez Mon Feb 24 16:40:24 2003 EDT Modified files:

[PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h /main/streams plain_wrapper.c

2003-02-24 Thread Ilia Alshanetsky
iliaa Mon Feb 24 20:39:07 2003 EDT Modified files: /php4/main php_streams.h /php4/main/streams plain_wrapper.c /php4/ext/standard file.c Log: Added locking to streams. Allow PHP to automatically release locks on files when terminating the

[PHP-CVS] cvs: php4 /ext/standard file.c /ext/standard/tests/file bug22382.phpt test2.csv

2003-02-23 Thread Ilia Alshanetsky
iliaa Sun Feb 23 22:13:25 2003 EDT Added files: /php4/ext/standard/tests/file bug22382.phpt test2.csv Modified files: /php4/ext/standard file.c Log: Fixed bug #22382 (fgetcsv did not handle \ correctly). Index:

[PHP-CVS] cvs: php4 /ext/standard file.c filters.c user_filters.c /main php_streams.h /main/streams cast.c context.h filter.c filter_api.h php_stream_context.h php_stream_filter_api.h php_stream_plain_wrapper.h php_stream_userspace.h plain_wrapper.h streams.c userspace.h

2003-02-17 Thread Wez Furlong
wez Mon Feb 17 20:22:22 2003 EDT Added files: /php4/main/streams php_stream_context.h php_stream_filter_api.h php_stream_plain_wrapper.h php_stream_userspace.h Removed files:

[PHP-CVS] cvs: php4 /ext/standard file.c /main/streams php_stream_filter_api.h

2003-02-17 Thread Sara Golemon
pollita Mon Feb 17 21:53:24 2003 EDT Modified files: /php4/main/streams php_stream_filter_api.h /php4/ext/standard file.c Log: Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains. Automagically decide what to do if noone

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-09 Thread Ilia Alshanetsky
iliaa Sun Feb 9 15:05:14 2003 EDT Modified files: /php4/ext/standard file.c Log: Added feature request #14097 (option allowing file() command not to include line endings in it's output. As well as another option, which allows blank lines to be excluded

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-09 Thread Ilia Alshanetsky
iliaa Sun Feb 9 15:35:54 2003 EDT Modified files: /php4/ext/standard file.c Log: Added feature request #17983 (optional parameter to mkdir() that makes directory creation recursive). Fixed prototype for file() function. Index:

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-09 Thread Wez Furlong
wez Sun Feb 9 18:11:23 2003 EDT Modified files: /php4/ext/standard file.c Log: ZTS fix Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.299 php4/ext/standard/file.c:1.300 --- php4/ext/standard/file.c:1.299 Sun Feb 9 15:43:05 2003

Re: [PHP-CVS] cvs: php4 /ext/standard file.c

2003-01-20 Thread Jani Taskinen
MFH? On Sat, 18 Jan 2003, Derick Rethans wrote: derick Sat Jan 18 08:55:58 2003 EDT Modified files: /php4/ext/standard file.c Log: - Fixed memleak in fscanf(). Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.292

Re: [PHP-CVS] cvs: php4 /ext/standard file.c

2003-01-20 Thread Jani Taskinen
MFH? On Sat, 18 Jan 2003, Wez Furlong wrote: wezSat Jan 18 09:10:22 2003 EDT Modified files: /php4/ext/standard file.c Log: Fix potential problem for 64-bit architectures. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.293

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-01-18 Thread Derick Rethans
derick Sat Jan 18 08:55:58 2003 EDT Modified files: /php4/ext/standard file.c Log: - Fixed memleak in fscanf(). Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.292 php4/ext/standard/file.c:1.293 --- php4/ext/standard/file.c:1.292

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-01-18 Thread Wez Furlong
wez Sat Jan 18 09:10:22 2003 EDT Modified files: /php4/ext/standard file.c Log: Fix potential problem for 64-bit architectures. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.293 php4/ext/standard/file.c:1.294 ---

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-01-09 Thread Ilia Alshanetsky
iliaa Thu Jan 9 17:49:19 2003 EDT Modified files: /php4/ext/standard file.c Log: Fixed a memory corruption that occurs when an unterminated is encountered this bug maybe be related to #21556. Index: php4/ext/standard/file.c diff -u

[PHP-CVS] cvs: php4 /ext/standard file.c

2003-01-09 Thread Ilia Alshanetsky
iliaa Thu Jan 9 18:23:32 2003 EDT Modified files: /php4/ext/standard file.c Log: CS fixes Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.289 php4/ext/standard/file.c:1.290 --- php4/ext/standard/file.c:1.289 Thu Jan 9 17:49:18

[PHP-CVS] cvs: php4 /ext/standard file.c

2002-12-26 Thread Wez Furlong
wez Thu Dec 26 17:35:01 2002 EDT Modified files: /php4/ext/standard file.c Log: Remove cruft that opened a stream that was never closed in get_meta_tags(). (probably my fault). Noticed by Philip Olson Index: php4/ext/standard/file.c diff -u

[PHP-CVS] cvs: php4 /ext/standard file.c

2002-11-27 Thread Sterling Hughes
sterlingWed Nov 27 15:05:21 2002 EDT Modified files: /php4/ext/standard file.c Log: don't use stupid constants, be smart, just read the line Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.279 php4/ext/standard/file.c:1.280 ---

Re: [PHP-CVS] cvs: php4 /ext/standard file.c

2002-11-27 Thread Derick Rethans
On Wed, 27 Nov 2002, Sterling Hughes wrote: sterling Wed Nov 27 15:05:21 2002 EDT Modified files: /php4/ext/standardfile.c Log: don't use stupid constants, be smart, just read the line MFH? Derick --

[PHP-CVS] cvs: php4 /ext/standard file.c

2002-10-29 Thread Marcus Börger
helly Tue Oct 29 07:53:58 2002 EDT Modified files: /php4/ext/standard file.c Log: fix overrun Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.276 php4/ext/standard/file.c:1.277 --- php4/ext/standard/file.c:1.276 Thu Oct 24 15:17:08

Re: [PHP-CVS] Re: [PHP-QA] Re: [PHP-CVS] cvs: php4 /ext/standard file.c /ext/standard/tests/strings strtoupper.phpt

2002-10-25 Thread Melvyn Sopacua
At 01:30 25-10-2002, Ilia A. wrote: Could you please try the attached patch and let me know if it fixes the problem. Confirmed. Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h streams.c

2002-10-19 Thread Wez Furlong
wez Sat Oct 19 09:11:48 2002 EDT Modified files: /php4/main streams.c php_streams.h /php4/ext/standard file.c Log: made fgets() binary safe. php_stream_gets is now a macro which calls php_stream_get_line. The latter has an option argument to return

[PHP-CVS] cvs: php4 /ext/standard file.c

2002-10-18 Thread Wez Furlong
wez Fri Oct 18 12:55:48 2002 EDT Modified files: /php4/ext/standard file.c Log: Improve file(). Patch by Tal Peer [EMAIL PROTECTED] Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.270 php4/ext/standard/file.c:1.271 ---

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h streams.c

2002-10-18 Thread Ilia A.
On October 18, 2002 05:04 pm, Rasmus Lerdorf wrote: On October 18, 2002 04:40 pm, Rasmus Lerdorf wrote: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. That's a bit misleading. By definition file() cannot be binary-safe in that

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h streams.c

2002-10-18 Thread Ilia A.
On October 18, 2002 04:40 pm, Rasmus Lerdorf wrote: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. That's a bit misleading. By definition file() cannot be binary-safe in that \n is treated specially. Not quite, in the old code (4.2.3)

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.hstreams.c

2002-10-18 Thread Rasmus Lerdorf
On October 18, 2002 04:40 pm, Rasmus Lerdorf wrote: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. That's a bit misleading. By definition file() cannot be binary-safe in that \n is treated specially. Not quite, in the old code

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.hstreams.c

2002-10-18 Thread Rasmus Lerdorf
But EOL is not always \n and it can be a mix of \r\n \n or \r. You have no way of knowing which eol caused the break for any particular line. In that sense file() is irreversible. Why would I care about that, the EOL are not stripped by file(), so I do not need to know EOLs when

[PHP-CVS] cvs: php4 /ext/standard file.c /main streams.c

2002-10-15 Thread Wez Furlong
wez Tue Oct 15 12:45:27 2002 EDT Modified files: /php4/ext/standard file.c /php4/main streams.c Log: Nope, that last one wasn't a leak in main/streams.c, it was file_get_contents misinterpreting the result... Index: php4/ext/standard/file.c

[PHP-CVS] cvs: php4 /ext/standard file.c /main streams.c

2002-10-13 Thread Wez Furlong
wez Sun Oct 13 22:28:36 2002 EDT Modified files: /php4/ext/standard file.c /php4/main streams.c Log: - 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.

[PHP-CVS] cvs: php4 /ext/standard file.c

2002-09-28 Thread Wez Furlong
wez Sat Sep 28 09:04:48 2002 EDT Modified files: /php4/ext/standard file.c Log: Add missing folding marker. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.264 php4/ext/standard/file.c:1.265 --- php4/ext/standard/file.c:1.264

[PHP-CVS] cvs: php4 /ext/standard file.c file.h http_fopen_wrapper.c

2002-09-26 Thread Wez Furlong
wez Thu Sep 26 06:17:42 2002 EDT Modified files: /php4/ext/standard file.c file.h http_fopen_wrapper.c Log: Remove an unused variable and a now-unused function. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.261

[PHP-CVS] cvs: php4 /ext/standard file.c file.h /main streams.c user_streams.c

2002-09-26 Thread Wez Furlong
wez Thu Sep 26 08:12:28 2002 EDT Modified files: /php4/ext/standard file.c file.h /php4/main streams.c user_streams.c Log: Fix segfault in wrapper error log mechanism when errors are logged on second and subsequent events. Implement very simple