search for: 5cf6a94

Displaying 1 result from an estimated 1 matches for "5cf6a94".

Did you mean: 5cf6a49f
2009 Sep 11
1
[FOR REVIEW ONLY] guestfish: Enable grouping in string lists
...izeof(*argv) * argv_i + 1); + argv[argv_i] = tok; + argv_i++; + } } - argv[i] = NULL; + + /* NULL terminate the argument list */ + argv = realloc(argv, sizeof(*argv) * argv_i + 1); + argv[argv_i] = NULL; return argv; } diff --git a/src/generator.ml b/src/generator.ml index 5cf6a94..7571f95 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -6348,7 +6348,8 @@ and generate_fish_cmds () = pr " %s = strcmp (argv[%d], \"-\") != 0 ? argv[%d] : \"/dev/stdout\";\n" name i i | StringList name | DeviceList...