History log of /PHP-7.4/ext/standard/file.c (Results 76 – 100 of 692)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40
# 4d9a1883 08-Apr-2015 Dmitry Stogov

Fixed bug #68887 (resources are not freed correctly)


# fa795b05 08-Apr-2015 Xinchen Hui

Fixed bug #69325 (php_copy_file_ex does not pass the argument)


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# 2dec2163 10-Mar-2015 Daniel Lowrey

Revert "Add stream_socket_crypto_info() function"

This reverts commit 13acb7ec653c543c56437ed417c3889fbf54f608.

With the added capability to negotiate application layer protocols

Revert "Add stream_socket_crypto_info() function"

This reverts commit 13acb7ec653c543c56437ed417c3889fbf54f608.

With the added capability to negotiate application layer protocols
via the TLS ALPN extension userland needs a method to access the
negotiated protocol on a given stream. The reverted commit added
a new stream_socket_crypto_info() function for this purpose.

This original approach was discarded in favor of using the
already-existing stream_get_meta_data() API which specifically
exists for just such purposes and requires the addition of no new
functions.

show more ...


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 2fa8d67a 03-Mar-2015 Dmitry Stogov

Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse.


# 3e841470 28-Feb-2015 Daniel Lowrey

Add TLS ALPN extension support in crypto client/server streams


# 13acb7ec 28-Feb-2015 Daniel Lowrey

Add stream_socket_crypto_info() function


# 6751f8b3 21-Feb-2015 Anatol Belski

revisit fix for bug #65272


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# 61a1e8d1 12-Feb-2015 Dmitry Stogov

Fixed initialization of global variables in ZTS (this caused valgrind reports on few PHPT tests)


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# f2f467bd 02-Feb-2015 Daniel Lowrey

Fixed bug #65272: correctly set flock() out param in windows


# e98caf27 02-Feb-2015 Xinchen Hui

found type is unnecessary


# 7ec8eb38 02-Feb-2015 Xinchen Hui

Use resource directly


# 94280990 02-Feb-2015 Xinchen Hui

Cleanup resource handling APIs


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 4b953534 19-Nov-2014 Veres Lajos

typo fixes - https://github.com/vlajos/misspell_fixer


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35
# 90b4ec51 04-Nov-2014 Bob Weinand

Fix bad merge


# 342d56b2 04-Nov-2014 Bob Weinand

arg1-3 are not variable names to use; removed useless buffer variable


Revision tags: php-5.6.3RC1, php-5.5.19RC1
# afb65ade 22-Oct-2014 Anatol Belski

fix datatype mismatches


Revision tags: php-5.5.18, php-5.4.34, php-5.5.18RC1, php-5.6.1
# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.

show more ...


Revision tags: php-5.6.2
# a770d29d 21-Sep-2014 Nikita Popov

Add smart_str_append for appending zend_strings

Also replaces usages in Zend/ and ext/standard


# e33f3d3b 20-Sep-2014 Nikita Popov

Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just m

Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.

show more ...


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


12345678910>>...28