From 852895847f41f9b5f268fc84f892c94497f4ffbe Mon Sep 17 00:00:00 2001 From: Vitezslav Cizek Date: Wed, 26 Mar 2014 23:01:22 +0200 Subject: [PATCH] fix an eternal loop in handle_option * src/names.c (handle_option): increment loop counter --- src/names.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2