]> Dogcows Code - chaz/tar/commitdiff
Bugfix.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 5 Oct 2008 09:09:16 +0000 (09:09 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 5 Oct 2008 09:09:16 +0000 (09:09 +0000)
* src/checkpoint.c (checkpoint_compile_action): Add missing
`else'.

ChangeLog
src/checkpoint.c
tests/listed01.at

index 0c13afffdb8ad1ddbaeb5eadb7e13bb41fe8ce17..ec8fefd7625cea0709fe3c5144ed4c4ed13fda50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-05  Xavier Hienne <xavier.hienne@free.fr> (tiny change)
+
+       * src/checkpoint.c (checkpoint_compile_action): Add missing
+       `else'. 
+
 2008-09-24  Sergey Poznyakoff  <gray@gnu.org.ua>
 
        * NEWS: Update.
index cde5e590284e74cc0ca1208febc72a234830de25..9f031f7e277f5247efe944d8bfedb8d95e62abef 100644 (file)
@@ -80,7 +80,7 @@ checkpoint_compile_action (const char *str)
   
   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);
index 56584f2455143668f983c4df04ea61ba86439c06..b9fc2e40b136c37c16da8193e9a3e210e42e2411 100644 (file)
@@ -39,7 +39,7 @@ tar --create \
 
 tar tf archive.1 || exit 1
 
-sleep 1
+sleep 2
 
 genfile --length 10240 --pattern zeros --file directory/file2
 
This page took 0.025023 seconds and 4 git commands to generate.