]> Dogcows Code - chaz/tar/commitdiff
fix an eternal loop in handle_option
authorVitezslav Cizek <vcizek@suse.cz>
Wed, 26 Mar 2014 21:01:22 +0000 (23:01 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Wed, 26 Mar 2014 21:01:22 +0000 (23:01 +0200)
* src/names.c (handle_option): increment loop counter

src/names.c

index 9fc0ad5888ccc0f75e5c4d8da6925d807d4b1f66..594e7fdd591a3116fb54dfc796c3562e7b5e983b 100644 (file)
@@ -439,7 +439,7 @@ handle_option (const char *str)
   int i;
 
   while (*str && isspace (*str))
-    ;
+    ++str;
   if (*str != '-')
     return 1;
 
This page took 0.018055 seconds and 4 git commands to generate.