From 7b9878d56ceb1a8ed1255ea1e6010638af7252c6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 1 Nov 2006 13:14:15 +0000 Subject: [PATCH] * lib/getopt_.h: Fix comments. --- ChangeLog | 4 ++++ lib/getopt_.h | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd1e95035b..6b0d29c8e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-11-01 Eric Blake + + * lib/getopt_.h: Fix comments. + 2006-10-31 Eric Blake * modules/tmpdir (Depends-on): Add sys_stat. diff --git a/lib/getopt_.h b/lib/getopt_.h index 3c406e53dc..27fce3dc79 100644 --- a/lib/getopt_.h +++ b/lib/getopt_.h @@ -1,5 +1,5 @@ /* Declarations for getopt. - Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005 + Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -196,9 +196,10 @@ struct option scanning, explicitly telling `getopt' that there are no more options. - If OPTS begins with `--', then non-option arguments are treated as - arguments to the option '\0'. This behavior is specific to the GNU - `getopt'. */ + If OPTS begins with `-', then non-option arguments are treated as + arguments to the option '\1'. This behavior is specific to the GNU + `getopt'. If OPTS begins with `+', or POSIXLY_CORRECT is set in + the environment, then do not permute arguments. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW; -- 2.30.2