about summary refs log tree commit diff
path: root/posix/tst-getopt_long1.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix warning in posix/tst-getopt_long1.c.Joseph Myers2014-12-021-1/+1
| | | | | | | | | | | | 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 *.
* Provide more helpful error message in getoptUlrich Drepper2011-05-151-0/+62
If provide with an ambiguous long option we now show all the possibilities.