guenter Tue, 03 Nov 2009 17:58:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290178
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/standard/ftp_fopen_wrapper.c
Modified: php/php-src/branches/PHP_5_2/ext/standard/ftp_fopen_wrapper.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/standard/ftp_fopen_wrapper.c
2009-11-03 17:50:10 UTC (rev 290177)
+++ php/php-src/branches/PHP_5_2/ext/standard/ftp_fopen_wrapper.c
2009-11-03 17:58:17 UTC (rev 290178)
@@ -836,32 +836,19 @@
tm.tm_sec += stamp - mktime(gmt);
tm.tm_isdst = gmt->tm_isdst;
-#ifdef NETWARE
- ssb->sb.st_mtime.tv_sec = mktime(&tm);
-#else
ssb->sb.st_mtime = mktime(&tm);
-#endif
} else {
/* error or unsupported command */
mdtm_error:
-#ifdef NETWARE
- ssb->sb.st_mtime.tv_sec = -1;
-#else
ssb->sb.st_mtime = -1;
-#endif
}
ssb->sb.st_ino = 0; /*
Unknown values */
ssb->sb.st_dev = 0;
ssb->sb.st_uid = 0;
ssb->sb.st_gid = 0;
-#ifdef NETWARE
- ssb->sb.st_atime.tv_sec = -1;
- ssb->sb.st_ctime.tv_sec = -1;
-#else
ssb->sb.st_atime = -1;
ssb->sb.st_ctime = -1;
-#endif
ssb->sb.st_nlink = 1;
ssb->sb.st_rdev = -1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php