summaryrefslogtreecommitdiff
path: root/posix/tst-getopt_long1.c
AgeCommit message (Collapse)Author
2014-12-02Fix warning in posix/tst-getopt_long1.c.Joseph Myers
This patch fixes a "discards qualifiers" warning in posix/tst-getopt_long1.c. glibc is built with -Wwrite-strings, meaning a char * cannot be initialized directly with a string constant; the patch casts the string constants to char *. Tested for x86_64. * posix/tst-getopt_long1.c (do_test): Cast elements of argv array to char *.
2011-05-15Provide more helpful error message in getoptUlrich Drepper
If provide with an ambiguous long option we now show all the possibilities.