diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-17 01:07:07 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-17 01:07:07 +0000 |
commit | b209e757d82b173a220033b3e3ec6b0e043c83c7 (patch) | |
tree | 9cfa97874eba1a91883d6a985c5cbe75b26f893f | |
parent | 2fb1ffff55c194ac089560aa61b99b669fb2d46d (diff) | |
download | coreutils-b209e757d82b173a220033b3e3ec6b0e043c83c7.tar.xz |
Recent checkins for getopt, canon-host.
-rw-r--r-- | lib/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 79872b59d..09128a69b 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,22 @@ 2004-11-16 Paul Eggert <eggert@cs.ucla.edu> + * getopt.c (_getopt_initialize, _getopt_internal_r, _getopt_internal): + New arg POSIXLY_CORRECT. All callers changed. + (getopt): Argv is now char * const *, as per standard. + (_getopt_internal_r, _getopt_internal): Argv is now char **, + not char *__getopt_argv_const *. + * getopt1.c (getopt_long, _getopt_long_r, getopt_long_only, + _getopt_long_only_r): Likewise. + * getopt_.h (getopt, getopt_long, geopt_long_only): Likewise. + * getopt_int.h (_getopt_internal, _getopt_internal_r, + _getopt_long_r, _getopt_long_only_r): Likewise. + * getopt_.h (__getopt_argv_const): Remove. + (getopt): Argv is now char * const *, as per standard. + + * canon-host.c: Include "strdup.h". + (canon_host): Use getaddrinfo if available, so that IPv6 works. + Use strdup instead of malloc/strcpy to duplicate strings. + * getdate.y (tORDINAL): New token. (day, relunit): Allow it for relative times. (relative_time_table): Use tORDINAL for ordinals. |