]> sourceware.org Git - newlib-cygwin.git/commit
newlib: getopt now permutes multi-flag options correctly
authorThomas Kindler <mail+newlib@t-kindler.de>
Tue, 29 May 2018 12:04:56 +0000 (14:04 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 18 Jun 2018 16:45:44 +0000 (18:45 +0200)
commit9dd3c3b0ad176683e2c004cb1c734588b63e59d7
tree22ad79c162a19065d1beeeb52432ff62280181b5
parentebc9171ede5dac2e28ce2c83f8bc550693981394
newlib: getopt now permutes multi-flag options correctly

Previously, "test 1 2 3 -a -b -c"  was permuted to "test -a -b -c 1 2 3",
but "test 1 2 3 -abc" was left as "test 1 2 3 -abc".

Signed-off-by: Thomas Kindler <mail+newlib@t-kindler.de>
newlib/libc/include/getopt.h
newlib/libc/stdlib/getopt.c
This page took 0.028734 seconds and 5 git commands to generate.