aboutsummaryrefslogtreecommitdiff
path: root/src/xz/options.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-12-08 19:18:16 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-12-08 19:18:16 +0200
commitbc665b84ea6bf7946394a08122177efe41b26a5f (patch)
treea9c5f64e1692ade3b842fa82c9e4a01abc37cb11 /src/xz/options.h
parentTranslations: Update the German man page translations. (diff)
downloadxz-bc665b84ea6bf7946394a08122177efe41b26a5f.tar.xz
xz: Don't modify argv[].
The code that parses --memlimit options and --block-list modified the argv[] when parsing the option string from optarg. This was visible in "ps auxf" and such and could be confusing. I didn't understand it back in the day when I wrote that code. Now a copy is allocated when modifiable strings are needed.
Diffstat (limited to 'src/xz/options.h')
0 files changed, 0 insertions, 0 deletions