summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Check that realpath is available. Bug: #9469foobar2001-10-231-1/+1
| | | | | # TSRM still uses it without checking. I can't fix that.
* Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.Sascha Schumann2001-10-131-1/+1
|
* @- Added mmapfile(), read a file into a variabele with mmap (Ilia A, Derick)Derick Rethans2001-10-071-0/+85
| | | | | | - Added mmapfile(), read a file into a variabele with mmap (Patch by: Ilia A. <ilia@prohost.org>)
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-1/+1
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* 1) update to the ZEND_NUM_ARGS() and Z_*_P{0,2} macrosSterling Hughes2001-08-171-286/+262
| | | | | | 2) minor ws improvements, removing unecessary error checking logic, and making the error messages a bit nicer looking
* Removed select(), fd_set(), etc. (wasn't present in the first place, andSterling Hughes2001-08-151-111/+0
| | | | | | these are implemented in the sockwasn't present in the first place, and these are implemented in the sockets extension))
* WhitespaceZeev Suraski2001-08-111-114/+114
|
* more tsrm cleanupSascha Schumann2001-08-061-8/+6
|
* more tsrm cleanup -- output.c is not doing any fetches anymoreSascha Schumann2001-08-051-3/+3
|
* - TSRMLS_FETCH workZeev Suraski2001-08-051-9/+11
| | | | | - whitespace fixes
* WS PollutionSean Bright2001-08-041-2/+0
|
* Don't allocated quoted strings unless we are in a META tag.Sean Bright2001-08-041-2/+10
|