summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
Commit message (Collapse)AuthorAgeFilesLines
* fgetss/gzgetss fixesRasmus Lerdorf1999-09-211-1/+2
|
* Here was also something missing.Egon Schmid1999-09-201-1/+1
|
* Added optional allowable_tags arguments to strip_tags() and fgetss() toRasmus Lerdorf1999-09-201-5/+19
| | | | | | | | | allow you to specify a string of tags that are not to be stripped Could have used flex for this, and Andrew sent me a flex file to do this, but I could do the same thing with only minor additions to the existing state machine and the resulting code is much smaller and tighter.
* - Thread-unsafe win32 compiles againAndi Gutmans1999-09-151-1/+1
| | | | | - Some strlcpy changes including one bug fix.
* That's important enough to be cachedZeev Suraski1999-09-121-0/+4
|
* avoid mmap overhead for small filesSascha Schumann1999-09-111-10/+11
|
* optimize fpassthru/readfile to use mmap instead of freadSascha Schumann1999-09-111-18/+56
| | | | | which especially increases speed on large files.
* *** empty log message ***Zeev Suraski1999-09-041-5/+5
|
* merge in fix from php3Sascha Schumann1999-08-281-1/+1
|
* Removed '3' from key functions in PHP (maintained compatibility throughZeev Suraski1999-08-021-32/+32
| | | | | php3_compat.h)
* More symbol work.Andrey Hristov1999-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | I've defined a few macros to help with module/request init/startup function definitions. Basically: PHP_MINIT_FUNCTION(module) PHP_MSHUTDOWN_FUNCTION(module) PHP_RINIT_FUNCTION(module) PHP_RSHUTDOWN_FUNCTION(module) PHP_MINFO_FUNCTION(module) These will expand to proper function prototypes. Now to specify these in the module entry, use: PHP_MINIT(module) PHP_MSHUTDOWN(module) PHP_RINIT(module) PHP_RSHUTDOWN(module) PHP_MINFO(module) I've updated all modules in ext/standard and everything from ext/apache to ext/db. If you can, please update your module to use these macros.
* A bunch of grunt work updating function entries and declarations.Andrey Hristov1999-07-241-2/+2
|
* Kill compiler warnings.Andrey Hristov1999-07-191-3/+3
|
* License updateZeev Suraski1999-07-161-20/+9
|
* more portingSascha Schumann1999-06-271-0/+3
|
* * fixed some #if/#ifdef issuesStig Bakken1999-06-161-232/+228
| | | | | | | | | | | | * hand-patched in php3 changes from 3.0.6 to HEAD in these files: fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch] ext/standard/php3_string.h ext/standard/string.c * added some new file/socket macros for more readable code: FP_FGETS(buf,len,sock,fp,issock) FP_FREAD(buf,len,sock,fp,issock) FP_FEOF(sock,fp,issock) FP_FGETC(sock,fp,issock)
* reversing another patch that slippedStig Bakken1999-06-151-2/+2
|
* * reverse fsock/string import patchesStig Bakken1999-06-151-330/+382
|
* * now using php4.ini instead of php3.iniStig Bakken1999-06-151-383/+331
| | | | | | * re-imported fopen-wrappers, fsock and string code from php3 NB! I have not tested all of the imported functions yet.
* * Fix a buglet in the session moduleZeev Suraski1999-06-111-2/+2
| | | | | | | | | * Make some renames in the session module - avoid having a function called 'delete' so that we don't piss any C++ compilers. Also rename the {startup,shutdown}_globals to {startup,shutdown}_session_globals, so that they're a bit less general names, and made them static. * Remove uselss variables
* Apply the fix for feof()Sascha Schumann1999-05-201-2/+1
|
* conv_proto *.[ch]Sascha Schumann1999-05-161-26/+26
|
* kill some compiler warningsSascha Schumann1999-05-161-5/+5
|
* Add fgetcsv() here as wellRasmus Lerdorf1999-04-271-0/+116
|
* A lot of cleanups... Removed old thread-safe code and other redundant code ↵Zeev Suraski1999-04-241-50/+49
| | | | and files
* Remove tls.[ch]Zeev Suraski1999-04-231-3/+0
|
* moved fdf, hyperwave, informix and some smaller filesStig Bakken1999-04-221-1/+1
|
* * Rename php_compat.[ch] to flock_compat.[ch] and move it to ext/standardZeev Suraski1999-04-211-1/+3
| | | | | * Fix Win32 compilation
* cleanup, flock() supportSascha Schumann1999-04-211-0/+54
|
* crypt constantsSascha Schumann1999-04-211-0/+3
|
* More thread safety workZeev Suraski1999-04-211-119/+152
|
* Make Win32 happy with the recent changes.Zeev Suraski1999-04-181-1/+1
|
* First commit of re-structuring phase one. We have started using automake inStig Bakken1999-04-171-0/+1435
sub-directories and started to move extension code into ext/<name>. For now, I have moved the "standard" extension (which is quite a mix of everything right now) and the GD extension into their own subdirs in ext/. The configure script now also runs configure in the libzend directory automatically and makes sure php4 and libzend use the same config.cache file. To avoid running configure in libzend, use the --no-recursion option. "make" in php4 also builds libzend now. The Apache module doesn't compile right now, but a fix for that is coming up.