[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 21d0d8e9dafc343dbec2e18d7fe036d717af6828
Author: Clint Adams <schizo at debian.org>
Date:   Fri Oct 15 23:44:32 2004 +0000

    Andreas Borchert's command-line parsing fix
    
      * faked.c: patch from Andreas Borchert to fix command-line
        parsing.  closes: #276688.
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-36

diff --git a/faked.c b/faked.c
index 7cf2aac..39fc320 100644
--- a/faked.c
+++ b/faked.c
@@ -970,7 +970,7 @@ int main(int argc, char **argv){
       fprintf(stderr,"This fakeroot has been compiled for TCP and does not support --cleanup\n");
 #endif /* FAKEROOT_FAKENET */
     }
-    if(!strcmp(*argv,"--port"))
+    else if(!strcmp(*argv,"--port"))
 #ifndef FAKEROOT_FAKENET
       fprintf(stderr,"This fakeroot has been compiled for SYSV IPC and does not support --port\n");
 #else /* FAKEROOT_FAKENET */

-- 
fakeroot



More information about the Fakeroot-commits mailing list