Skip to content
Snippets Groups Projects
Commit e975e893e474 authored by Lasse Collin's avatar Lasse Collin
Browse files

Allow extra commas in filter-specific options on xz command line.

This may slightly ease writing scripts that construct
filter-specific option strings dynamically.
parent ed21dc852b5a
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,13 @@
char *name = s;
while (true) {
if (*name == ',') {
if (*++name == '\0')
break;
continue;
}
char *split = strchr(name, ',');
if (split != NULL)
*split = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment