]> granicus.if.org Git - php/commitdiff
removed now obsolete NetWare hack since I fixed this
authorGuenter Knauf <guenter@php.net>
Tue, 3 Nov 2009 17:16:45 +0000 (17:16 +0000)
committerGuenter Knauf <guenter@php.net>
Tue, 3 Nov 2009 17:16:45 +0000 (17:16 +0000)
with Novell some longer tiem ago in their SDK header.

ext/session/mod_files.c

index a9333fe830656c70b189b6a10cfb1fbce8295f9e..6b525e7cd51ad49264d81e7503716e959121004b 100644 (file)
@@ -244,11 +244,7 @@ static int ps_files_cleanup_dir(const char *dirname, int maxlifetime TSRMLS_DC)
 
                                /* check whether its last access was more than maxlifet ago */
                                if (VCWD_STAT(buf, &sbuf) == 0 &&
-#ifdef NETWARE
-                                               (now - sbuf.st_mtime.tv_sec) > maxlifetime) {
-#else
                                                (now - sbuf.st_mtime) > maxlifetime) {
-#endif
                                        VCWD_UNLINK(buf);
                                        nrdels++;
                                }