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);
        }
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to