Hello,
I just found a little bug in the latest 1.20 tar regarding checkpoint-action
command.
Attached there is a patch to correct this.
Please let me know if you think to put it into mainstream.
Regards,
--
Gianluca Renzi
R&D Eurek Elettronica
diff -Nru tar-1.20/src/checkpoint.c ../build/tar-1.20/src/checkpoint.c
--- tar-1.20/src/checkpoint.c 2008-01-23 10:19:58.000000000 +0100
+++ ../build/tar-1.20/src/checkpoint.c 2008-12-04 11:36:09.093428192 +0100
@@ -80,7 +80,7 @@
if (strcmp (str, ".") == 0 || strcmp (str, "dot") == 0)
alloc_action (cop_dot);
- if (strcmp (str, "bell") == 0)
+ else if (strcmp (str, "bell") == 0)
alloc_action (cop_bell);
else if (strcmp (str, "echo") == 0)
alloc_action (cop_echo);