History log of /PHP-5.4/ext/standard/file.c (Results 251 – 275 of 533)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.3.0
# bb640840 26-Dec-2002 Wez Furlong

Remove cruft that opened a stream that was never closed in get_meta_tags().
(probably my fault).
Noticed by Philip Olson


Revision tags: php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3
# 7364e3b7 05-Dec-2002 Ilia Alshanetsky

Fixed bug #12556, updated the test for this bug.


# cc13af6a 30-Nov-2002 Ilia Alshanetsky

Fixed bug #20716.


# 5c96f911 27-Nov-2002 Sterling Hughes

don't use stupid constants, be smart, just read the line


Revision tags: php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1
# 78e2e69b 06-Nov-2002 Ilia Alshanetsky

Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.


# c4e3bbb5 29-Oct-2002 Marcus Boerger

no C++ comments
#args sorry on that & thx jani


# 083fc401 29-Oct-2002 Marcus Boerger

fix overrun


Revision tags: php-4.3.0pre2
# e1508efb 24-Oct-2002 Marcus Boerger

fix compiler warning?: implement default mentioned by manual


# 30abd183 22-Oct-2002 Ilia Alshanetsky

Fixed a possible segmentation fault in file() function.


# dabf1053 21-Oct-2002 Wez Furlong

Refine stream_select() to work with streams that have data in their read
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual selec

Refine stream_select() to work with streams that have data in their read
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual select(2) call is performed; instead the
streams with buffered data are returned; just like a regular select
call.
Prevent erroneous warning in stream_select when obtaining the fd.

show more ...


# 829f1855 19-Oct-2002 Wez Furlong

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 the number of bytes in the line.
Functions like fgetc

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 the number of bytes in the line.
Functions like fgetcsv(), fgetss() can be made binary safe by calling
php_stream_get_line directly.

# HEADS UP: You will need to make clean after updating your CVS, as the
# binary signature has changed.

show more ...


# 4b83b189 18-Oct-2002 Ilia Alshanetsky

Fixed bug #19971 (optimized the file() function).
The file() function is now also binary safe.


# 9b87199e 18-Oct-2002 Wez Furlong

Improve file().
Patch by Tal Peer <tal@php.net>


# 2f6952c9 15-Oct-2002 Wez Furlong

Nope, that last one wasn't a leak in main/streams.c, it was
file_get_contents misinterpreting the result...


# 86e60a2d 14-Oct-2002 Wez Furlong

@- 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)


Revision tags: RELEASE_1_0b1, php-4.3.0pre1
# 9d5bab5a 05-Oct-2002 Wez Furlong

EOF related fixes.


# 9b108434 02-Oct-2002 David Reid

Add more BeOS support...


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 76947703 28-Sep-2002 Wez Furlong

Rename streams functions to fit with naming conventions, adding aliases
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.


# 8aae36ae 28-Sep-2002 Wez Furlong

Add missing folding marker.


# 315e0a59 27-Sep-2002 Wez Furlong

Implement stream_select() which works just like socket_select, but only on
streams.
@ - Added stream_select() which works like socket_select but only works on
@ streams returned by fope

Implement stream_select() which works just like socket_select, but only on
streams.
@ - Added stream_select() which works like socket_select but only works on
@ streams returned by fopen(), fsockopen() and pfsockopen(). (Wez)

show more ...


# c484eb8c 26-Sep-2002 Wez Furlong

Fix segfault in wrapper error log mechanism when errors are logged on
second and subsequent events.
Implement very simple recursion protection for user streams written
like this:
clas

Fix segfault in wrapper error log mechanism when errors are logged on
second and subsequent events.
Implement very simple recursion protection for user streams written
like this:
class urlEncodeStream {
var $fp = NULL;

function stream_open($path, $mode, $options, &$opened_path)
{
$this->fp = fopen($path, $mode); // <-- this recurses infinitely
return is_resource($this->fp);
}
}

file_register_wrapper('urlencode', 'urlEncodeStream');
$fp = fopen('urlencode:///tmp/outputfile.txt', 'w');

Noticed by: Yasuo.

show more ...


# 4c2a9c09 26-Sep-2002 Wez Furlong

Remove an unused variable and a now-unused function.


# 3a67c677 26-Sep-2002 Wez Furlong

Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias

Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.

Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h

show more ...


# 419efa6e 26-Sep-2002 Hartmut Holzgraefe

symbolic constants for fnmatch flags added


# 0141e970 25-Sep-2002 Wez Furlong

Make these all work with persistent streams too.


1...<<11121314151617181920>>...22