diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-29 20:36:41 -0600 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-01-31 22:02:49 -0500 |
commit | f1abc29bd09dde14edd942f5868446aaba77f73f (patch) | |
tree | 22c1834e4b3749add6a7dfac0901d12428613b67 /include/tgmath.h | |
parent | 14edadb542848300193b76d2eee7a1eae07f0911 (diff) | |
download | musl-f1abc29bd09dde14edd942f5868446aaba77f73f.tar.gz musl-f1abc29bd09dde14edd942f5868446aaba77f73f.tar.xz musl-f1abc29bd09dde14edd942f5868446aaba77f73f.zip |
fix getopt_long arguments to partial matches
If we find a partial option name match, we need to keep looking for ambiguous/conflicting options. However, we need to remember the position in the candidate argument to find its option-argument later, if there is one. This fixes e.g. option "foobar" being given as "--fooba=baz".
Diffstat (limited to 'include/tgmath.h')
0 files changed, 0 insertions, 0 deletions