diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-12-13 01:04:21 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-12-13 01:04:21 -0500 |
commit | 567cc81c7e3f38c3ca9b223f5d771205711b1f5c (patch) | |
tree | b2268a3ed66e0dd932768d8d1ec2ec280aaa1734 /src/misc/ptsname.c | |
parent | b4ef1830b7863bfba1da4bdad56a20ef398672a8 (diff) | |
download | musl-567cc81c7e3f38c3ca9b223f5d771205711b1f5c.tar.gz musl-567cc81c7e3f38c3ca9b223f5d771205711b1f5c.tar.xz musl-567cc81c7e3f38c3ca9b223f5d771205711b1f5c.zip |
fix handling of "--" with getopt_long argv permutation
if argv permutation is used, the option terminator "--" should be moved before any skipped non-option arguments rather than being left in the argv tail where the caller will see and interpret it.
Diffstat (limited to 'src/misc/ptsname.c')
0 files changed, 0 insertions, 0 deletions