summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug: #16638.foobar2002-07-131-2/+1
|
* @Fixed socket_set_timeout on win32 (Jason, Edin, Jani)Jason Greene2002-07-101-3/+2
|
* - Fix TSRMLS_* stuffAndi Gutmans2002-07-081-2/+2
|
* Unify error messagesDerick Rethans2002-07-081-16/+16
|
* - Fix for bug #15547 (Patch by Justin Garrett <usjgarrett@byu.edu>)Derick Rethans2002-07-021-0/+5
|
* - fixed bug in enclosure handling (was still hardcoded to '"' in one place)Hartmut Holzgraefe2002-06-181-8/+2
| | | | | - added possibility to pass empty enclosure if you really don't want one
* - Fix proto.Markus Fischer2002-06-101-1/+1
|
* - Fix typoAndi Gutmans2002-05-231-3/+3
|
* - Fix errormessage and whitespaceDerick Rethans2002-05-231-7/+7
|
* Added 4th parameter to specify enclosure character. Patch by Dean Richard ↵Yasuo Ohgaki2002-05-231-11/+40
| | | | | | | Benson <dean@vipersoft.co.uk> Spit more meaningful error messages when delim and/or enclosure char is null.
* Change safe-mode rule for rmdir() to match unlink() - allow is targetRasmus Lerdorf2002-05-121-1/+1
| | | | | | is opened by caller or in a directory owned by caller @ Minor fix to rmdir() under safe-mode (Rasmus)
* fix problem with mkdir() on freebsdjim winstead2002-05-061-2/+2
|
* Make this code work on compilers which don't consider the addressSascha Schumann2002-05-041-19/+18
| | | | | of a variable on the stack available at compile time.
* Fix ZTS build.Sebastian Bergmann2002-04-301-4/+4
|
* Implement user-space funtions to operate on stream contexts.Wez Furlong2002-04-301-8/+117
|
* Implement stream context and status notification system.Wez Furlong2002-04-101-24/+135
| | | | | | Bump the BC for zlib notice to a warning # See my RFC to php-dev a few days ago
* Fix gzip/bz2 builds for WindowsZeev Suraski2002-04-051-12/+12
|
* Phase 3 of OO wrapper cleanupWez Furlong2002-03-281-23/+18
| | | | | # What was phase 2?
* - Use proper macros for php_stream_cast() return values (fixes #16211).Markus Fischer2002-03-211-4/+6
|
* added fnmatch() and glob() functionsHartmut Holzgraefe2002-03-211-0/+28
| | | | | could someone please check if i got the virtual dir stuff right?
* Convert the gzfile related functions into aliases for their equivalentsWez Furlong2002-03-211-51/+2
| | | | | | | | | | in ext/standard/file.c, so a gzopen()ed file pointer can be used in fread, fseek etc. Improved behaviour of zlib stream. Moved passthru code into streams.c # I'm not happy about BG(mmap_file) Nuked gzgetss_state as no longer needed.
* Make state parameter of php_strip_tags passed by reference.Wez Furlong2002-03-201-7/+5
| | | | | Move state tracking to stream structure.
* Streams are all tracked as resources now.Wez Furlong2002-03-201-5/+7
| | | | | | Add some logic that will help track down leaks when debug is enabled.
* fix for bug #16168Wez Furlong2002-03-191-0/+1
|
* s/fgetwrapperdata/file_get_wrapper_data/Wez Furlong2002-03-191-2/+2
|
* TSRMLS related work on streams, as discussed with Zeev.Wez Furlong2002-03-181-4/+4
| | | | | | # Should be the last "broad" commit for a while # Don't forget to make clean ; make
* Fix the build and all of the outstanding VC++ warningsZeev Suraski2002-03-181-7/+11
|
* s/get_file_contents/file_get_contents/Wez Furlong2002-03-161-2/+2
|
* Ooops.Wez Furlong2002-03-161-2/+2
|
* Implement get_file_contents() as discussed (briefly!) by myself, DerickWez Furlong2002-03-161-1/+44
| | | | | | and Sterling on php-dev some months ago. It returns the file contents as a string, and uses mmap if possible.
* Allow php_stream_copy_to_stream to do nothing when used with codeWez Furlong2002-03-161-1/+1
| | | | | that calculates a max length of zero. (Thanks again Marcus).
* This should help with some build problems/warnings under win32.Wez Furlong2002-03-161-0/+2
| | | | | | | Someone still needs to add the streams.c file to the MSVC project/workspace though (there are so many that I don't really know what I am doing :-).
* * formatting, plus remove some old fopen wrappersWez Furlong2002-03-161-12/+12
|
* New PHP streams...Wez Furlong2002-03-151-560/+213
|
* Maintain headers.Sebastian Bergmann2002-02-281-2/+2
|
* - mkdir(): made second (mode) parameter optional, default to 0777Markus Fischer2002-01-111-15/+11
| | | | | | switched to zend_parse_parameters(). # Added vim 'noet' setting
* - Added open basedir checks to file functions. (Patch byDerick Rethans2001-12-211-0/+19
| | | | | Christoph Kassen <chkassen@chkassen.de>)
* Use memset() instead.Sean Bright2001-12-211-1/+4
|
* Initialize variable to avoid bogus data and possible segfault.Sean Bright2001-12-211-6/+1
|
* Switched some functions to use zend_parse_parameters, cleaned up someSean Bright2001-12-211-53/+29
| | | | | unused variables and some whitespace work.
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* proto fixHartmut Holzgraefe2001-12-071-0/+3
|
* proto fixesHartmut Holzgraefe2001-12-061-2/+2
|
* Make the length parameter to fgets optional (defaults to 1024)Sterling Hughes2001-12-041-5/+8
|
* WS fixfoobar2001-11-181-3/+3
|
* Many other reasons that setvbuf can fail than "wrong arguments", returningSterling Hughes2001-11-141-3/+0
| | | | | false should be enough
* Fix all (at least, I tried to catch all) proto's in file.cJeroen van Wolffelaar2001-11-111-28/+28
|
* Add warning when set_file_buffer() failsJeroen van Wolffelaar2001-11-111-1/+4
|
* - Fixing this bad ideaDerick Rethans2001-11-101-82/+0
|
* Fix apache win32 dso build.James Moore2001-11-101-1/+1
| | | | | (This is untested on linux but shouldnt break anything)