comparison lib/ChangeLog @ 5453:d29dafc60cf3

Merge from coreutils to support a more-standard getopt.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 17 Nov 2004 01:13:54 +0000
parents cdbf151dab54
children 05fcfdcb38a6
comparison
equal deleted inserted replaced
5452:cf3e0bde637c 5453:d29dafc60cf3
1 2004-11-16 Paul Eggert <eggert@cs.ucla.edu> 1 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
2
3 * getopt.c (_getopt_initialize, _getopt_internal_r, _getopt_internal):
4 New arg POSIXLY_CORRECT. All callers changed.
5 (getopt): Argv is now char * const *, as per standard.
6 (_getopt_internal_r, _getopt_internal): Argv is now char **,
7 not char *__getopt_argv_const *.
8 * getopt1.c (getopt_long, _getopt_long_r, getopt_long_only,
9 _getopt_long_only_r): Likewise.
10 * getopt_.h (getopt, getopt_long, geopt_long_only): Likewise.
11 * getopt_int.h (_getopt_internal, _getopt_internal_r,
12 _getopt_long_r, _getopt_long_only_r): Likewise.
13 * getopt_.h (__getopt_argv_const): Remove.
14 (getopt): Argv is now char * const *, as per standard.
2 15
3 * getdate.y (tORDINAL): New token. 16 * getdate.y (tORDINAL): New token.
4 (day, relunit): Allow it for relative times. 17 (day, relunit): Allow it for relative times.
5 (relative_time_table): Use tORDINAL for ordinals. 18 (relative_time_table): Use tORDINAL for ordinals.
6 19