cvs: php-src(PHP_5_0) /ext/session mod_files.c
| From: | Jani Taskinen | Date: | Thu, 06 Jan 2005 01:59:52 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/session mod_files.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29773@lists.php.net to get a copy of this message | ||
sniper Wed Jan 5 20:59:52 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/session mod_files.c
Log:
Revert. This is always 1.
http://cvs.php.net/diff.php/php-src/ext/session/mod_files.c?r1=1.95.2.1&r2=1.95.2.2&ty=u
Index: php-src/ext/session/mod_files.c
diff -u php-src/ext/session/mod_files.c:1.95.2.1 php-src/ext/session/mod_files.c:1.95.2.2
--- php-src/ext/session/mod_files.c:1.95.2.1 Wed Jan 5 06:09:12 2005
+++ php-src/ext/session/mod_files.c Wed Jan 5 20:59:52 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mod_files.c,v 1.95.2.1 2005/01/05 11:09:12 hyanantha Exp $ */
+/* $Id: mod_files.c,v 1.95.2.2 2005/01/06 01:59:52 sniper Exp $ */
#include "php.h"
@@ -166,7 +166,7 @@
flock(data->fd, LOCK_EX);
#ifdef F_SETFD
- if (fcntl(data->fd, F_SETFD, FD_CLOEXEC)) {
+ if (fcntl(data->fd, F_SETFD, 1)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "fcntl(%d, F_SETFD, 1) failed: %s (%d)",
data->fd, strerror(errno), errno);
}
#endif