From 6901594ac45b88e68a19dd7221511ddf9ff44f66 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 5 Oct 2008 09:09:16 +0000 Subject: [PATCH] Bugfix. * src/checkpoint.c (checkpoint_compile_action): Add missing `else'. --- ChangeLog | 5 +++++ src/checkpoint.c | 2 +- tests/listed01.at | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c13aff..ec8fefd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-05 Xavier Hienne (tiny change) + + * src/checkpoint.c (checkpoint_compile_action): Add missing + `else'. + 2008-09-24 Sergey Poznyakoff * NEWS: Update. diff --git a/src/checkpoint.c b/src/checkpoint.c index cde5e59..9f031f7 100644 --- a/src/checkpoint.c +++ b/src/checkpoint.c @@ -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); diff --git a/tests/listed01.at b/tests/listed01.at index 56584f2..b9fc2e4 100644 --- a/tests/listed01.at +++ b/tests/listed01.at @@ -39,7 +39,7 @@ tar --create \ tar tf archive.1 || exit 1 -sleep 1 +sleep 2 genfile --length 10240 --pattern zeros --file directory/file2 -- 2.45.2