svn: /php/php-src/branches/PHP_5_2/ext/session/ session.c
| From: | Guenter Knauf | Date: | Tue, 03 Nov 2009 17:32:58 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_2/ext/session/ session.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60826@lists.php.net to get a copy of this message | ||
guenter Tue, 03 Nov 2009 17:32:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290175
Log:
removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
Changed paths:
U php/php-src/branches/PHP_5_2/ext/session/session.c
Modified: php/php-src/branches/PHP_5_2/ext/session/session.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/session/session.c 2009-11-03 17:16:45 UTC (rev 290174)
+++ php/php-src/branches/PHP_5_2/ext/session/session.c 2009-11-03 17:32:58 UTC (rev 290175)
@@ -61,12 +61,6 @@
* Helpers *
*********** */
-#ifdef NETWARE
-# define SESS_SB_MTIME(sb) ((sb).st_mtime.tv_sec)
-#else
-# define SESS_SB_MTIME(sb) ((sb).st_mtime)
-#endif
-
#define IF_SESSION_VARS() \
if (PS(http_session_vars) && PS(http_session_vars)->type == IS_ARRAY)
@@ -1013,7 +1007,7 @@
#define LAST_MODIFIED "Last-Modified: "
memcpy(buf, LAST_MODIFIED, sizeof(LAST_MODIFIED) - 1);
- strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &SESS_SB_MTIME(sb));
+ strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime);
ADD_HEADER(buf);
}
}