[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3358 - GNUnet/src/util/disk
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3358 - GNUnet/src/util/disk |
Date: |
Tue, 5 Sep 2006 16:23:18 -0700 (PDT) |
Author: grothoff
Date: 2006-09-05 16:23:17 -0700 (Tue, 05 Sep 2006)
New Revision: 3358
Modified:
GNUnet/src/util/disk/storage.c
Log:
trying to do better on 1127
Modified: GNUnet/src/util/disk/storage.c
===================================================================
--- GNUnet/src/util/disk/storage.c 2006-09-05 23:09:02 UTC (rev 3357)
+++ GNUnet/src/util/disk/storage.c 2006-09-05 23:23:17 UTC (rev 3358)
@@ -106,9 +106,15 @@
#ifdef HAVE_STAT64
if (0 != STAT64(fn, &buf)) {
+ GE_LOG_STRERROR_FILE(gfsd->ectx,
+ GE_WARNING | GE_USER | GE_REQUEST,
+ "stat64",
+ fn);
+ FREE(fn);
+ return SYSERR;
+ }
#else
if (0 != STAT(fn, &buf)) {
-#endif
GE_LOG_STRERROR_FILE(gfsd->ectx,
GE_WARNING | GE_USER | GE_REQUEST,
"stat",
@@ -116,6 +122,7 @@
FREE(fn);
return SYSERR;
}
+#endif
if ( (! S_ISLNK(buf.st_mode)) ||
(gfsd->include_sym_links == YES) )
gfsd->total += buf.st_size;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3358 - GNUnet/src/util/disk,
grothoff <=