gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3755 - GNUnet/src/applications/fs/fsui


From: grothoff
Subject: [GNUnet-SVN] r3755 - GNUnet/src/applications/fs/fsui
Date: Mon, 13 Nov 2006 13:38:04 -0800 (PST)

Author: grothoff
Date: 2006-11-13 13:38:00 -0800 (Mon, 13 Nov 2006)
New Revision: 3755

Modified:
   GNUnet/src/applications/fs/fsui/downloadtest.c
   GNUnet/src/applications/fs/fsui/fsuitest.c
   GNUnet/src/applications/fs/fsui/searchtest.c
   GNUnet/src/applications/fs/fsui/serializetest.c
Log:
fx

Modified: GNUnet/src/applications/fs/fsui/downloadtest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/downloadtest.c      2006-11-13 20:54:24 UTC 
(rev 3754)
+++ GNUnet/src/applications/fs/fsui/downloadtest.c      2006-11-13 21:38:00 UTC 
(rev 3755)
@@ -50,8 +50,6 @@
   SNPRINTF(fn,
           strlen("/tmp/gnunet-fsui-downloadtest/FSUITEST") + 14,
           "/tmp/gnunet-fsui-downloadtest/FSUITEST%u",
-          DIR_SEPARATOR_STR,
-          name,
           i);
   disk_directory_create_for_file(NULL, fn);
   return fn;

Modified: GNUnet/src/applications/fs/fsui/fsuitest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/fsuitest.c  2006-11-13 20:54:24 UTC (rev 
3754)
+++ GNUnet/src/applications/fs/fsui/fsuitest.c  2006-11-13 21:38:00 UTC (rev 
3755)
@@ -35,21 +35,14 @@
 #define CHECK(a) if (!(a)) { ok = NO; GE_BREAK(NULL, 0); goto FAILURE; }
 
 static char * makeName(unsigned int i) {
-  char * name;
   char * fn;
 
-  fn = STRDUP("/tmp/gnunet-fsuitest");
-  name = string_expandFileName(NULL, fn);
-  disk_directory_create(NULL, name);
-  FREE(fn);
-  fn = MALLOC(strlen(name) + 40);
+  fn = MALLOC(strlen("/tmp/gnunet-fsui-serializetest/FSUITEST") + 14);
   SNPRINTF(fn,
-          strlen(name) + 40,
-          "%s%sFSUITEST%u",
-          DIR_SEPARATOR_STR,
-          name,
+          strlen("/tmp/gnunet-fsui-test/FSUITEST") + 14,
+          "/tmp/gnunet-fsui-test/FSUITEST%u",
           i);
-  FREE(name);
+  disk_directory_create_for_file(NULL, fn);
   return fn;
 }
 

Modified: GNUnet/src/applications/fs/fsui/searchtest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/searchtest.c        2006-11-13 20:54:24 UTC 
(rev 3754)
+++ GNUnet/src/applications/fs/fsui/searchtest.c        2006-11-13 21:38:00 UTC 
(rev 3755)
@@ -39,8 +39,6 @@
   SNPRINTF(fn,
           strlen("/tmp/gnunet-fsui-searchtest/FSUITEST") + 14,
           "/tmp/gnunet-fsui-searchtest/FSUITEST%u",
-          DIR_SEPARATOR_STR,
-          name,
           i);
   disk_directory_create_for_file(NULL, fn);
   return fn;

Modified: GNUnet/src/applications/fs/fsui/serializetest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/serializetest.c     2006-11-13 20:54:24 UTC 
(rev 3754)
+++ GNUnet/src/applications/fs/fsui/serializetest.c     2006-11-13 21:38:00 UTC 
(rev 3755)
@@ -46,8 +46,6 @@
   SNPRINTF(fn,
           strlen("/tmp/gnunet-fsui-serializetest/FSUITEST") + 14,
           "/tmp/gnunet-fsui-serializetest/FSUITEST%u",
-          DIR_SEPARATOR_STR,
-          name,
           i);
   disk_directory_create_for_file(NULL, fn);
   return fn;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]