tar/tar-1.27.1-T-eternal-loop.patch
Pavel Raiskup be819f0840 tar: option -T eternal loop fix
Resolves: #1083066
Version: 1.27.1-3
2014-04-01 14:37:54 +02:00

14 lines
259 B
Diff

diff --git a/src/names.c b/src/names.c
index e3bbfb6..8f238ba 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;