[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05

Clint Adams schizo at debian.org
Sun Nov 15 03:16:56 UTC 2009


The following commit has been merged in the upstream branch:
commit 4bf2e5fcf0c9b3713eb5fe2dcf305dd49ad0f024
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/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