From: Vitezslav Cizek Date: Wed, 26 Mar 2014 21:01:22 +0000 (+0200) Subject: fix an eternal loop in handle_option X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=852895847f41f9b5f268fc84f892c94497f4ffbe;p=chaz%2Ftar fix an eternal loop in handle_option * src/names.c (handle_option): increment loop counter --- diff --git a/src/names.c b/src/names.c index 9fc0ad5..594e7fd 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;