fix an eternal loop in handle_option
* src/names.c (handle_option): increment loop counter
This commit is contained in:
committed by
Sergey Poznyakoff
parent
b0902369e7
commit
852895847f
@@ -439,7 +439,7 @@ handle_option (const char *str)
|
||||
int i;
|
||||
|
||||
while (*str && isspace (*str))
|
||||
;
|
||||
++str;
|
||||
if (*str != '-')
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user