[Bug-tar] [PATCH] fix an eternal loop in handle_option

2014-03-26 Thread Vitezslav Cizek
Signed-off-by: Vitezslav Cizek vci...@suse.cz
---
 src/names.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/names.c b/src/names.c
index 9fc0ad5..963ec07 100644
--- a/src/names.c
+++ b/src/names.c
@@ -439,7 +439,7 @@ handle_option (const char *str)
   int i;
 
   while (*str  isspace (*str))
-;
+str++;
   if (*str != '-')
 return 1;
 
-- 
1.8.4.5


-- 
Vita Cizek


signature.asc
Description: Digital signature


Re: [Bug-tar] tar has PROGRAM ERROR:

2013-11-13 Thread Vitezslav Cizek
Hi Linda,

* Dne Pondělí 11. listopad 2013, 02:47:33 [CET] Linda A. Walsh napsal:
 
 On openSuse, w/tar-1.26-17.1.x86_64, I tried using
 the --portability flag to get only older headers..
 
 Instead I got:
 tar cf out --portability P-1.1.4/
 tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
 Try `tar --help' or `tar --usage' for more information.
 
 tar bug or platform (opensuse) bug?
 
This is a tar bug which was fixed in 1.27
(commit 2a61a3701f1fa04e83a2a39013ab56530a44b777)

You can create a bug in openSUSE bugzilla and we'll get this fixed.

-- 
Vita Cizek


signature.asc
Description: Digital signature