summaryrefslogtreecommitdiff
path: root/ext/session/mod_files.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix for Bug #26757: session.save_path defaults to bogus value on win32Wez Furlong2004-03-291-0/+6
| | | | | | | Merge from branch with one main difference: the default save_path is set to the empty string on all platforms, whereas the code in the branch only does so for win32.
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* This is only needed for Windows.foobar2003-09-251-0/+4
|
* Fixed bug #25070 (Don't forget to unlock session files on win32 beforeIlia Alshanetsky2003-09-241-0/+1
| | | | | | | | | | closing them). Regions should be locked only briefly and should be unlocked before closing a file or exiting the program. On Win32 locked files that are closed without being explicitly unlocked will be unlocked only when "system resources become avaliable".
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* support setting the filemode using session.save_pathSascha Schumann2003-02-111-10/+43
|
* Remove ugly netware hacks from the codeSascha Schumann2003-01-241-12/+0
|
* Add INI setting session.hash_bits_per_character which enables developersSascha Schumann2003-01-161-4/+6
| | | | | to choose how session ids are represented, regardless of the hash algorithm.
* handle ERANGE from strtol properlySascha Schumann2003-01-121-0/+5
|
* Modified for NetWare.Anantha Kesari H Y2003-01-031-0/+12
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* php_error -> php_error_docrefMarcus Boerger2002-12-051-8/+8
|
* The pread/pwrite macros check for a bug in the Linux glibc now.Sascha Schumann2002-10-021-2/+2
| | | | | | | | | | The bug causes the kernel not to return -1/EAGAIN. The new test case has been borrowed from the Linux Test Project. This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be defined even if the more complex checks failed (ac_cv_func_NAME=no was set albeit with no difference).
* Disable pread/pwrite for now until we can clarify why it should beSascha Schumann2002-10-011-2/+2
| | | | | impossible to write a check for a broken OS feature.
* Add header file required for pread/pwrite (on my system at least).Wez Furlong2002-09-301-0/+4
|
* Improve error messagesSascha Schumann2002-09-251-1/+8
|
* Reenable pwrite/pread supportSascha Schumann2002-09-061-0/+9
| | | | | | | The old checks supposed that pread/pwrite worked, if a declaration was found in <unistd.h>. We now actually check whether they work successfully before using them.
* taking out the PWRITE calls tooDan Kalowsky2002-09-041-4/+0
|
* This fixes Bug #19022 and #15983Dan Kalowsky2002-09-041-4/+0
|
* Use mtime instead of atime, as we always update the session file anyway.Zeev Suraski2002-08-171-1/+1
|
* - Tell the user why his session doesn't work if he uses custom session_id()s.Markus Fischer2002-05-301-2/+7
|
* 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
|