From: Jim Meyering Date: Tue, 22 Jul 2003 11:56:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.0.90~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68371a1d4c206b4d51e4ec7228463b6fbdddf1c0;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index f31f6163b5..5a23a1ac10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2003-07-22 Jim Meyering + + * Version 5.0.90. + + Begin to address this comment: What if someone wants to + extract the 1,000,000-th field of some huge input file? + The first step is to rearrange things so that the values + in the printable_field array are all 0/1 rather than 0/1/2. + * src/cut.c (RANGE_START_SENTINEL): Remove. + Store range-start indices in a hash table, rather than + overloading the `printable_field' array. + (range_start_ht): New global. + (hash_int, hash_compare_ints, is_range_start_index): New functions. + (print_kth): Use is_range_start_index; don't test printable_field. + (set_fields): Detect overflow. + (set_fields): Insert each range-start index into range_start_ht. + (main): Call set_fields only once, and only after + output_delimiter_specified and (if required) range_start_ht have + been defined. + 2003-07-20 Paul Eggert * src/wc.c (get_input_fstatus): Fix typo: `stat' was being @@ -5,8 +25,6 @@ 2003-07-20 Jim Meyering - * Version 5.0.90. - * Makefile.maint (sc_changelog): Add another nit-picky check. * src/wc.c (write_counts): Add a comment.