Commit 602af901 authored by Sebastian Pipping's avatar Sebastian Pipping Committed by Paolo Bacchilega

Stop mis-treating p7zip 15.09 as pre-4.55 (#757793)

parent 9ba0e356
......@@ -98,7 +98,7 @@ list__process_line (char *line,
strncpy (version, ver_start, ver_len);
version[ver_len] = 0;
if (strcmp (version, "4.55") < 0)
if ((strcmp (version, "4.55") < 0) && (ver_len > 1) && (version[1] == '.'))
self->old_style = TRUE;
else
self->old_style = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment