[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2656 - in GNUnet/src: applications/fs/fsui util
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2656 - in GNUnet/src: applications/fs/fsui util |
Date: |
Wed, 26 Apr 2006 09:04:01 -0700 (PDT) |
Author: grothoff
Date: 2006-04-26 09:03:57 -0700 (Wed, 26 Apr 2006)
New Revision: 2656
Modified:
GNUnet/src/applications/fs/fsui/file_info.c
GNUnet/src/util/state.c
Log:
sync
Modified: GNUnet/src/applications/fs/fsui/file_info.c
===================================================================
--- GNUnet/src/applications/fs/fsui/file_info.c 2006-04-25 17:29:23 UTC (rev
2655)
+++ GNUnet/src/applications/fs/fsui/file_info.c 2006-04-26 16:03:57 UTC (rev
2656)
@@ -288,6 +288,9 @@
IPC_SEMAPHORE_FREE(sem);
return rval;
FORMATERROR:
+ LOG(LOG_WARNING,
+ _("Deleted corrupt URI database in `%s'."),
+ STATE_NAME);
if (0 != MUNMAP(result, buf.st_size))
LOG_FILE_STRERROR(LOG_WARNING, "munmap", fn);
CLOSE(fd);
Modified: GNUnet/src/util/state.c
===================================================================
--- GNUnet/src/util/state.c 2006-04-25 17:29:23 UTC (rev 2655)
+++ GNUnet/src/util/state.c 2006-04-26 16:03:57 UTC (rev 2656)
@@ -186,8 +186,8 @@
dbh,
name);
fd = fileopen(fil,
- O_RDWR|O_CREAT,
- S_IRUSR|S_IWUSR);
+ O_RDWR|O_CREAT,
+ S_IRUSR|S_IWUSR);
if (fd == -1) {
LOG_FILE_STRERROR(LOG_WARNING, "open", fil);
FREE(fil);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2656 - in GNUnet/src: applications/fs/fsui util,
grothoff <=