]> granicus.if.org Git - php/commitdiff
NetWare Specific stat member changes
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 10 Mar 2005 13:37:54 +0000 (13:37 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 10 Mar 2005 13:37:54 +0000 (13:37 +0000)
ext/standard/ftp_fopen_wrapper.c

index 809a32bedfc1f56f4a69a1b5864541893375308f..8637f25f60ccc398d3f083c629ef6339b7f6a9f8 100644 (file)
@@ -780,9 +780,15 @@ static int php_stream_ftp_url_stat(php_stream_wrapper *wrapper, char *url, int f
        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_mtime.tv_sec = -1;
+       ssb->sb.st_ctime.tv_sec = -1;
+#else
        ssb->sb.st_atime = -1;
        ssb->sb.st_mtime = -1;
        ssb->sb.st_ctime = -1;
+#endif
        ssb->sb.st_nlink = 1;
        ssb->sb.st_rdev = -1;
 #ifdef HAVE_ST_BLKSIZE