[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a

Clint Adams schizo at debian.org
Tue Aug 23 13:05:30 UTC 2011


The following commit has been merged in the upstream branch:
commit 21a9b404cc275e52589c18657559247e689c57c1
Author: Clint Adams <schizo at debian.org>
Date:   Mon Oct 11 16:29:56 2004 +0000

    faked.c: ifdef fail() function as it is only used with the tcp ipc.
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-35

diff --git a/debian/changelog b/debian/changelog
index 88903ef..0cfc9f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+fakeroot (1.1.3) unstable; urgency=low
+
+  * faked.c: ifdef fail() function as it is only used with
+    the tcp ipc.
+
+ -- Clint Adams <schizo at debian.org>  Mon, 11 Oct 2004 12:28:52 -0400
+
 fakeroot (1.1.2) unstable; urgency=low
 
   * faked.c: a few more signedness cleanups.
diff --git a/faked.c b/faked.c
index 5aa02ce..7cf2aac 100644
--- a/faked.c
+++ b/faked.c
@@ -159,6 +159,7 @@ char *save_file = NULL;
 static int comm_sd = -1;
 #endif /* FAKEROOT_FAKENET */
 
+#ifdef FAKEROOT_FAKENET
 static void fail(const char *msg)
 {
   if (errno > 0)
@@ -168,6 +169,7 @@ static void fail(const char *msg)
 
   exit(1);
 }
+#endif
 
 struct data_node_s;
 typedef struct data_node_s {
@@ -488,7 +490,6 @@ int save_database(const uint32_t remote)
 
 int load_database(const uint32_t remote)
 {
-  data_node_t *i;
   int r;
 
   uint64_t stdev, stino, stmode, stuid, stgid, stnlink, strdev;

-- 
fakeroot



More information about the Fakeroot-commits mailing list