summaryrefslogtreecommitdiff
path: root/ext/session/mod_files.c
Commit message (Collapse)AuthorAgeFilesLines
* Add #ifdef.. around F_SETFD.Sascha Schumann2002-04-231-0/+3
|
* Set the close-on-exec flag for fds. Child processes should not inheritSascha Schumann2002-04-221-10/+7
| | | | | | | | | | the fd. Also rip out the broken O_EXCL use. Our file names are not unique and this left a small window open where creating a session file would fail (a, b notice that the file does not exist; a creates the file successfully; b tries to create, but fails due to O_EXCL).
* Merge in session API changes (carry around tsrm context)Sascha Schumann2002-03-061-8/+5
| | | | | | Now PHP_SESSION_API is defined to the date of the last change, so that externa source-code can handle changes more gracefully.
* Weep out all recent commits of Yasuo.Sascha Schumann2002-03-061-8/+9
| | | | | | | | | | | | | | | I don't have time right now to leave in the good ones and remove only the bad ones. There are some semantical changes which I reject, because they aim at fixing a bug which is at a completely other location. Then SID does not gefined anymore properly. (This broken patch has not been sent to me at all.) Also, there were *so* many whitespace changes which already make these commits bogus.
* Fix crash bug #14232Yasuo Ohgaki2002-03-061-1/+3
|
* Remove TSRMLS_FETCH() and use TSRMLS_C/TSRMLS_DYasuo Ohgaki2002-03-061-8/+5
| | | | | # Need a little more work for backword compatibility
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Revert last commit. Last patch has problem for the 1st request.Yasuo Ohgaki2002-02-031-12/+5
| | | | | | # I also found what's wrong in mod_mm.c :) # I'll fix it later since don't have much time now.
* Fixed crash when save_path is invalid.Yasuo Ohgaki2002-02-031-5/+12
| | | | | | Fixed crash when user save handler is incorrectly used. Fixed crash when session read failed.
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* - TSRMLS_FETCH workZeev Suraski2001-08-051-3/+6
| | | | | - whitespace fixes
* removed warningsHarald Radi2001-06-101-2/+2
|
* Fold a bit more codeRasmus Lerdorf2001-06-061-0/+11
|
* small ws fix.Sterling Hughes2001-05-301-1/+1
|
* Revert as per Herr Schumann's request.Sterling Hughes2001-05-301-2/+2
|
* Try #2Sterling Hughes2001-05-301-1/+1
| | | | | # aka, flying blind in a shitstorm, but it shouldn't hurt anything
* should fix warnings under winblows.Sterling Hughes2001-05-301-2/+2
|
* Nuke some warnings.Sascha Schumann2001-05-131-2/+2
|
* Replace ssize_t with long, as Win32 lacks proper support for that type.Sascha Schumann2001-05-121-2/+2
|
* Save a couple of syscalls per sessionSascha Schumann2001-05-111-18/+33
| | | | | | | Fix apparent new-session-files-were-not-locked bug Replace %m with portable "%s", strerror(errno)
* - Change macros from V_ to VCWD_ because of AIX name clashAndi Gutmans2001-04-301-6/+6
|
* Nuke calls to sprintf, snprintf, strcat, strcpy and rely onSascha Schumann2001-03-131-18/+38
| | | | | memcpy and smart_strs.
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Fixed crash (bus error) in readdir() and session cleanup when compiledfoobar2000-10-181-1/+1
| | | | | with Sun CC.
* fix indentationSascha Schumann2000-10-171-1/+1
|
* fixes bug 7055 & 7235Daniel Beulshausen2000-10-161-6/+14
|
* Libc5-readdir_r workaroundSascha Schumann2000-09-111-1/+1
|
* Rename symbols whose first character was an underscore.Sascha Schumann2000-09-061-11/+11
|
* Fix crashStanislav Malyshev2000-09-051-1/+0
| | | | | # This is getting worse... Seems that more work is needed
* s/PATH_MAX/MAXPATHLEN/Sascha Schumann2000-09-011-1/+1
|
* Solaris/x86 insists of having a large buffer for storing the result ofSascha Schumann2000-09-011-2/+3
| | | | | | | readdir_r(), otherwise it will segfault. PR: #6479
* Fix buildZeev Suraski2000-08-201-3/+3
|
* Provide PHP_SEPARATOR which expands to the default directory separatorSascha Schumann2000-08-201-9/+3
| | | | | on the target platform.
* Open session files in binary mode (fix #5953)Stanislav Malyshev2000-08-051-3/+7
| | | | | @- Fixed \n in session variables bug on Win32 (Stas)
* Always use the current DIR_DELIMITER to create the session file pathSascha Schumann2000-07-111-1/+1
|
* Unify use of my email addressSascha Schumann2000-07-101-1/+1
|
* (PHP session_destroy) return the error condition from storage handler'sSascha Schumann2000-07-051-1/+3
| | | | | | | session_destroy method. Submitted by: juhl@eisenstein.dk
* Fix Win32 buildZeev Suraski2000-06-041-1/+0
|
* - Fix problem in sessions module under Win32. Need to use ; as an optionsAndi Gutmans2000-05-271-1/+1
| | | | | - delimiter in save_path instead of :.
* Use reentrant version of readdir. If the target platform does not supportSascha Schumann2000-05-231-2/+2
| | | | | | the POSIX-like readdir_r, we fall back to readdir. In ZTS mode, this will cause php_readdir_r calls to be serialized.
* - Support virtual unlink()Andi Gutmans2000-05-231-2/+2
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* Complain, if write(2) failed.Sascha Schumann2000-05-151-1/+4
|
* - Change some open's to V_OPEN()'sAndi Gutmans2000-04-301-3/+3
|
* - Fix virtual cwd bugZeev Suraski2000-04-201-1/+1
| | | | | - Add more V_STAT() V_LSTAT() changes
* Improved error messagesSascha Schumann2000-03-291-3/+13
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* Fine tune Andi's patchZeev Suraski2000-02-111-2/+2
|
* More cosmetic thingsSascha Schumann2000-02-111-32/+26
|