History log of /PHP-7.4/main/streams/plain_wrapper.c (Results 201 – 222 of 222)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7
# f940b0fe 13-Sep-2003 Ard Biesheuvel

Pointer size fix


# a326bde2 27-Aug-2003 Ilia Alshanetsky

Prevent a crash when expand_filepath() fails.


Revision tags: php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2
# fa342d24 05-Jul-2003 Wez Furlong

MFB: binary mode by default under win32.


Revision tags: php-5.0.0b1
# 5ecc91c2 28-Jun-2003 Wez Furlong

Merge selectable descriptor casting from PHP_4_3 branch.


Revision tags: php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4
# 2d1a6e5d 21-May-2003 Wez Furlong

MFB context refcounting and text-mode fopen fixes


Revision tags: BEFORE_FD_REVERT
# f10a7b90 19-May-2003 Marcus Boerger

Fix warning


# 1b0fdbf6 19-May-2003 Marcus Boerger

Fix memleaks


Revision tags: php-4.3.2RC3
# 65d359d7 14-May-2003 Sara Golemon

Fold 'options' parameter into wops->unlink method


Revision tags: RELEASE_0_9b
# 5126fbe5 14-May-2003 Sara Golemon

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapp

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops

show more ...


Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# 86fb577d 18-Mar-2003 Wez Furlong

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_E

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.

show more ...


# ce01fd95 18-Mar-2003 Wez Furlong

Avoid using FILE* where possible.
Tidy up handling of potential error situations for the php:// wrapper.


# 16e705a5 15-Mar-2003 Wez Furlong

64bit fixes


Revision tags: php-4.3.2RC1
# c3e6bcd3 01-Mar-2003 Wez Furlong

Ensure that all fields are initialized to NULL.


# cd98ed7b 28-Feb-2003 Wez Furlong

Implement memory mapping for win32.
Could do with some rigorous testing; simple readfile() tests here appear to work.


# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...


# 5e118977 25-Feb-2003 Ilia Alshanetsky

Fixed various compiler warnings.


# 9e0fb1a3 25-Feb-2003 Ilia Alshanetsky

Use native flock() whenever possible.


# 862634ff 25-Feb-2003 Ilia Alshanetsky

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().


# 088e2692 24-Feb-2003 Wez Furlong

MFB: Bunch of streams related fixes.


# 8e3f23e3 19-Feb-2003 foobar

ws fixes + missing $Id$ tags, headers added


# 2cc68ad7 16-Feb-2003 Wez Furlong

Move streams files around a bit, to ease maintenance.
I will update the win32 .dsp in a moment.


123456789