diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-01-21 13:16:15 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-01-21 13:16:15 -0500 |
commit | e8e4e56a8ce1f3d7e4a027ff5478f2f8ea70c46b (patch) | |
tree | 53964a94a44433ba9eb5c1684c79c961c6ceda38 /configure | |
parent | 78a8ef47c4d92b7680c52a85f80a81e29da86bb9 (diff) | |
download | musl-e8e4e56a8ce1f3d7e4a027ff5478f2f8ea70c46b.tar.gz musl-e8e4e56a8ce1f3d7e4a027ff5478f2f8ea70c46b.tar.bz2 musl-e8e4e56a8ce1f3d7e4a027ff5478f2f8ea70c46b.tar.xz musl-e8e4e56a8ce1f3d7e4a027ff5478f2f8ea70c46b.zip |
always set optarg in getopt_long
the standard getopt does not touch optarg unless processing an option
with an argument. however, programs using the GNU getopt API, which we
attempt to provide in getopt_long, expect optarg to be a null pointer
after processing an option without an argument.
before argument permutation support was added, such programs typically
detected its absence and used their own replacement getopt_long,
masking the discrepency in behavior.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions