summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib_fopen_wrapper.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Use zend_string* instead of char* for opened_patch handling. Avoid ↵Dmitry Stogov2015-03-041-1/+1
| | | | | | | | reallocations and improve string reuse.
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-9/+9
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-9/+9
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | fix signed/unsigned warning and add a noteAnatol Belski2014-09-191-2/+4
| |
* | ported ext/zlibAnatol Belski2014-08-191-1/+1
|/
* Fixes to various stream cast on win64Anatol Belski2014-03-191-1/+3
| | | | | | This fixes further issues on win64 with casts from the streams. Sockets/descriptors handling was unitized. This has an impact only on win64, php_socket_t otherwise can be feed back to int datatype.
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Constify streams API and a few other calls down the rabbit hole.Andrey Hristov2013-07-301-1/+1
| | | | | (`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
|
* Fix bug #61139 gzopen leaks when specifying invalid modeNikita Popov2012-02-191-15/+10
| | | | | Needs to be merged to 5.4.
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - fix bug #52926, zlib fopen wrapper does not use the contextPierre Joye2010-09-261-1/+1
|
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-1/+1
| | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-1/+1
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - MFH: Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results)Felipe Pena2009-01-201-0/+4
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed bug #41304 (compress.zlib temp files left)Dmitry Stogov2007-05-081-2/+2
|
* Prevent double close() of the same file handleDmitry Stogov2007-04-261-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* move static declaration to *.c filesNuno Lopes2006-08-141-1/+1
| | | | | mroe static/const keywording
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fixed a nasty resource/memory/disk-space leak when opening zlib filesIlia Alshanetsky2004-08-261-2/+8
| | | | | via wrapper stacking ala compress.zlib://http://...
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Route mkdir()/rmdir() via wrapper ops.Sara Golemon2003-12-131-1/+3
| | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper
* Route rename() via wrapper ops.Sara Golemon2003-12-121-1/+2
| | | | | | | Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename()
* gztell() is not necessary, the return value of gzseek() represents theIlia Alshanetsky2003-07-241-7/+5
| | | | | | new position. With zlib 1.1.4 gztell() alse returns 0 when working on non-zlib files (test ext/zlib/tests/gzreadgzwriteplain.phpt).
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Setup unlink() method in wrapper_ops structure, implement unlink in ↵Sara Golemon2003-05-141-1/+2
| | | | plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
* WS & CS fixesfoobar2003-03-171-26/+37
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Fix for #21304 (gzopen did not report errors on open; "a" mode broken)Wez Furlong2002-12-311-6/+0
|
* MFB zlib related fixesWez Furlong2002-12-091-14/+31
| | | | | (sorry I didn't get around to doing this sooner)
* email address changeHartmut Holzgraefe2002-11-251-1/+1
|
* Fix for 19906.Wez Furlong2002-10-151-4/+5
| | | | | | | | gzeof has different semantics from feof, in that gzeof will return true if the read position is at EOF, even if the most recent read was 100% successful. feof will return true only (usually) if the most recent fread failed.
* Don't use streams-level buffer on zlib streams.Wez Furlong2002-10-151-1/+3
|
* This seems to resolve the issues with fgets.Wez Furlong2002-10-051-6/+6
| | | | | | | | I've moved EOF detection into the streams layer; a stream reader implementation should set stream->eof when it detects EOF. Fixed test for user streams - it still fails but that is due to an output buffering bug.
* Rename file_get_wrapper_data -> file_get_meta_data.Wez Furlong2002-09-261-3/+5
| | | | | | | | | | 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
* Implement read buffering in streams.Wez Furlong2002-09-231-14/+11
| | | | | | | | | | | | Eliminate similar code from network.c. Implement fgets equivalent at the streams level, which can detect the mac, dos and unix line endings and handle them appropriately. The default behaviour is unix (and dos) line endings. An ini option to control this behaviour will follow. # Don't forget to make clean! # I've done some testing but would appreciate feedback from # people with scripts/extensions that seek around a lot.
* *cough*Wez Furlong2002-08-221-1/+1
|
* Fix error messages.Wez Furlong2002-08-221-0/+2
|