summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-12-04 11:57:49 +0000
committerRichard M. Stallman <rms@gnu.org>2002-12-04 11:57:49 +0000
commitc5992177028419221efa87505dddba4af07a5ca3 (patch)
treefe7ab4ce01c83f51b7b90abb300599c9292b0b12 /lib-src
parentd4c2acb9d8ef8b63c1d28c1ef1ce31a701f43ab3 (diff)
downloademacs-c5992177028419221efa87505dddba4af07a5ca3.tar.gz
*** empty log message ***
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 8d9447e021e..b3df68fdaef 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,30 @@
+2002-12-04 Richard M. Stallman <rms@gnu.org>
+
+ * Update getopt from gnulib version; changes described below.
+
+ * getopt1.c: Conditionally find getopt.h.
+ [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
+
+ * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
+ (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
+ (wchar.h): Include, maybe.
+ (attribute_hidden): Define if not defind.
+ (__getopt_initialized): Use attribute_hidden.
+ (__libc_argc, __libc_argv): Renamed from original_argc, etc.
+ (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
+ Conditional on USE_NONOPTION_FLAGS.
+ (SWAP_FLAGS): New definitions.
+ (exchange): Test USE_NONOPTION_FLAGS.
+ (_getopt_initialize): Test USE_NONOPTION_FLAGS.
+ (_getopt_internal): Error if argc < 1. New local var print_errors.
+ Improve test for ambiguous long option.
+ Add LIBIO support for error message output.
+ (NONOPTION_P): Test USE_NONOPTION_FLAGS.
+
+ * getopt.h: Maybe include ctype.h.
+ Treat __cplusplus like __STDC__.
+ (decls): Use __ in arg names.
+
2002-12-02 Stephen Eglen <stephen@gnu.org>
* emacsclient.c (main): Tell user how to start server within Emacs