about summary refs log tree commit diff
path: root/test-skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-01 18:07:34 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-01 18:07:34 +0000
commit6f1acb30c1e30c6470092953ac75e665c4ba6bfb (patch)
treee56d2b78746534bc725c091d3931cc4a23ea1d8d /test-skeleton.c
parent80b5421740a2aeed70072c378762005b671086af (diff)
downloadglibc-6f1acb30c1e30c6470092953ac75e665c4ba6bfb.tar.gz
glibc-6f1acb30c1e30c6470092953ac75e665c4ba6bfb.tar.xz
glibc-6f1acb30c1e30c6470092953ac75e665c4ba6bfb.zip
Update.
	* test-skeleton.c (main): Request getopt to not reorder the
	command line.
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-skeleton.c b/test-skeleton.c
index 24f8fb8eed..64297fa988 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -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 '?':