1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
* test-skeleton.c (main): Request getopt to not reorder the
	command line.
This commit is contained in:
Ulrich Drepper
2003-06-01 18:07:34 +00:00
parent 80b5421740
commit 6f1acb30c1
5 changed files with 130 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* Skeleton for test programs.
Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@ -184,7 +184,7 @@ main (int argc, char *argv[])
setbuf (stdout, NULL);
#endif
while ((opt = getopt_long (argc, argv, "", options, NULL)) != -1)
while ((opt = getopt_long (argc, argv, "+", options, NULL)) != -1)
switch (opt)
{
case '?':