Obviously I was smart enough to forget to attach the patch, here it is.

greetings,
Rob

2009/11/19 Rob Vermaas <[email protected]>:
> Hi,
>
> while trying to compile tar from the master branch of the GIT
> repository, I encountered the following errror:
>
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../gnu -I../ -I../gnu
> -I../lib -I../lib    -g -O2 -c tar.c [b
> tar.c: In function 'format_default_settings':
> tar.c:914: error: expected expression before ')' token
> make[2]: *** [tar.o] Error 1
>
> Attached is a patch to fix the problem of a misplaced comma.
>
> greetings,
>
> Rob
>
> --
> Rob Vermaas
>
> [email] [email protected]
>



-- 
Rob Vermaas

[email] [email protected]
diff --git a/src/tar.c b/src/tar.c
index a1185f6..8662bf4 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -907,9 +907,9 @@ format_default_settings (void)
 	    archive_format_string (DEFAULT_ARCHIVE_FORMAT), 
 	    DEFAULT_ARCHIVE, DEFAULT_BLOCKING,              
 	    quoting_style_args[DEFAULT_QUOTING_STYLE],
-	    DEFAULT_RMT_COMMAND,
+	    DEFAULT_RMT_COMMAND
 #ifdef REMOTE_SHELL
-	    REMOTE_SHELL
+	    ,REMOTE_SHELL
 #endif
 	    );
 }

Reply via email to