# HG changeset patch # User Paul Boddie # Date 1715459289 -7200 # Node ID 815d4eff8a4b989b32bde5e051a4e8d4f7a1fdac # Parent 018a2139d27269542d79714ed628c74fdbe33289 Made the command line parsing slightly more flexible. diff -r 018a2139d272 -r 815d4eff8a4b fsaccess/input.c --- a/fsaccess/input.c Sat May 11 19:17:09 2024 +0200 +++ b/fsaccess/input.c Sat May 11 22:28:09 2024 +0200 @@ -54,7 +54,7 @@ args[*num_args] = start; (*num_args)++; - /* NOTE: Only handling spaces as delimiters. */ + /* NOTE: Only handling regions of spaces as delimiters. */ start = strchr(start, ' '); @@ -62,8 +62,13 @@ { *start = '\0'; - if (start < end) + while (start < end) + { start++; + + if (*start != ' ') + break; + } } } }