summaryrefslogtreecommitdiff
path: root/main/php_streams.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'PHP-5.4' into PHP-5.5"Ferenc Kovacs2014-10-151-3/+0
| | | | | This reverts commit 30a73658c63a91c413305a4c4d49882fda4dab3e, reversing changes made to 7fac56e0729385bbd2bb040f06a20a697d9de5fd.
* Merge branch 'PHP-5.5' into PHP-5.6Chris Wright2014-08-271-0/+3
|\ | | | | | | | | * PHP-5.5: Fix stream_select() issue with OpenSSL buffer
| * Merge branch 'PHP-5.4' into PHP-5.5Chris Wright2014-08-271-0/+3
| |\ | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Fix stream_select() issue with OpenSSL buffer Conflicts: ext/openssl/xp_ssl.c
| | * Fix stream_select() issue with OpenSSL bufferChris Wright2014-08-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure data from OpenSSL internal buffer has been transfered to PHP stream buffer before a select() emulation operation is performed Addresses bug #65137 https://bugs.php.net/bug.php?id=65137 Conflicts: ext/openssl/xp_ssl.c
* | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-04-201-0/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.5: Fix bug #65701: Do not use cache for file file copy
| * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2014-04-201-0/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.4: Fix bug #65701: Do not use cache for file file copy
| | * Fix bug #65701: Do not use cache for file file copyBoro Sitnikovski2014-04-201-0/+1
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | slim post dataMichael Wallner2013-08-271-1/+1
| | |
* | | Constify streams API and a few other calls down the rabbit hole.Andrey Hristov2013-07-301-22/+22
|/ / | | | | | | | | (`char *` to `const char *` for parameters and few return values) In a few places int len moved to size_t len.
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Merge branch 'PHP-5.4'Xinchen Hui2012-10-091-0/+0
|\ \ | |/
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-091-0/+0
| |\
| | * Fixed bug #63236 (Executable permission on various source files)Xinchen Hui2012-10-091-0/+0
| | |
| | * - Fixed bug #61253: Wrappers opened with errors concurrency problemGustavo André dos Santos Lopes2012-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #NOTE: There is a very small possibility that this will further break #extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the #only one and it may leak memory after this. I say "further break" because #extensions that do that are already broken (will segfault) under ZTS, which is #why this patch is necessary. #There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * Fixed bug #53541 (format string bug in ext/phar).Ilia Alshanetsky2010-12-141-3/+11
| | |
| | * - Renamed php_stream_rep_nonstand_mode to Gustavo André dos Santos Lopes2010-11-051-6/+0
| | | | | | | | | | | | | | | | | | php_stream_mode_sanitize_fdopen_fopencookie, made it not exported and movied it from php_streams.h to php_streams_int.h.
| | * - Fixed bug #53241 (stream casting that relies on fdopen/fopencookie failsGustavo André dos Santos Lopes2010-11-051-0/+6
| | | | | | | | | | | | with streams opened with, inter alia, the 'xb' mode).
| | * Fix bug #52802 (Out-of-date comment forAdam Harvey2010-09-101-4/+4
| | | | | | | | | | | | | | | file_get_contents/php_stream_copy_to_mem) by updating the relevant comments.
| * | - Fixed bug #61253: Wrappers opened with errors concurrency problemGustavo André dos Santos Lopes2012-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #NOTE: There is a very small possibility that this will further break #extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the #only one and it may leak memory after this. I say "further break" because #extensions that do that are already broken (will segfault) under ZTS, which is #why this patch is necessary. #There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
| * | - Year++Felipe Pena2012-01-011-1/+1
| | |
| * | - Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead ofGustavo André dos Santos Lopes2011-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | out parameter). - Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk instead of size_t, as the function only returns SUCCESS/FAILURE.
| * | implement streams metadata API per RFCStanislav Malyshev2011-05-251-0/+11
| | |
* | | - Fixed bug #61253: Wrappers opened with errors concurrency problemGustavo André dos Santos Lopes2012-03-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #NOTE: There is a very small possibility that this will further break #extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the #only one and it may leak memory after this. I say "further break" because #extensions that do that are already broken (will segfault) under ZTS, which is #why this patch is necessary. #There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
* | | - Year++Felipe Pena2012-01-011-1/+1
| | |
* | | - Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead ofGustavo André dos Santos Lopes2011-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | out parameter). - Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk instead of size_t, as the function only returns SUCCESS/FAILURE.
* | | implement streams metadata API per RFCStanislav Malyshev2011-05-251-0/+11
|/ /
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | Fixed bug #53541 (format string bug in ext/phar).Ilia Alshanetsky2010-12-141-3/+11
| |
* | - Added leak_variable() function.Gustavo André dos Santos Lopes2010-11-151-1/+8
| | | | | | | | | | | | | | - Added mechanism to force outer streams to be closed before their inner ones. - Fixed temp:// streams only handling correctly (through an ad hoc mechanism) reverse closing order when the inner stream is of type memory.
* | - Renamed php_stream_rep_nonstand_mode to Gustavo André dos Santos Lopes2010-11-051-6/+0
| | | | | | | | | | | | php_stream_mode_sanitize_fdopen_fopencookie, made it not exported and movied it from php_streams.h to php_streams_int.h.
* | - Fixed bug #53241 (stream casting that relies on fdopen/fopencookie failsGustavo André dos Santos Lopes2010-11-051-0/+6
| | | | | | | | with streams opened with, inter alia, the 'xb' mode).
* | Fix bug #52802 (Out-of-date comment forAdam Harvey2010-09-101-4/+4
| | | | | | | | | | file_get_contents/php_stream_copy_to_mem) by updating the relevant comments.
* | add the constant back. quite a lot of code uses it.Antony Dovgal2010-04-281-0/+1
| |
* | Removed safe_modeKalle Sommer Nielsen2010-04-261-1/+0
|/ | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Better fix for #47997Arnaud Le Blanc2009-04-191-4/+2
|
* Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams)Arnaud Le Blanc2009-04-191-0/+5
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Cleanup: remove trailing whitespacesLars Strojny2008-12-131-18/+18
|
* MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSEAntony Dovgal2008-07-231-1/+1
|
* - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())Felipe Pena2008-07-221-0/+2
|
* closeder/readdir/rewinddir must work only with directoriesDmitry Stogov2008-06-111-0/+2
|
* Added ability to use stream wrappers in include_pathDmitry Stogov2008-03-271-0/+3
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|