Commit Graph
16177 Commits
Author SHA1 Message Date
Jim Meyering effc1da025 Don't include sys/time.h; system.h already does it. 2003-07-23 07:05:41 +00:00
Jim Meyering 01b8949299 *** empty log message *** 2003-07-23 07:03:49 +00:00
Jim Meyering 9c8f60eaa0 (TESTS_ENVIRONMENT): Define PACKAGE_VERSION. 2003-07-23 07:03:42 +00:00
Jim Meyering 6cf4280099 Add a check for whether $NON_ROOT_USERNAME
can access the required version of rm.
2003-07-23 07:03:31 +00:00
Jim Meyering 5256994141 . 2003-07-23 07:01:36 +00:00
Jim Meyering 6224687c1b *** empty log message *** 2003-07-23 07:01:24 +00:00
Jim Meyering 24ec26fbca (out-delim3a): New test. 2003-07-23 07:01:19 +00:00
Jim Meyering 8d4d26f39f *** empty log message *** 2003-07-23 07:00:35 +00:00
Jim Meyering 1725e8a642 Update to version 1.33. 2003-07-23 07:00:29 +00:00
Jim Meyering 9efbdbc75b . 2003-07-23 06:59:54 +00:00
Jim Meyering 873a22151f . 2003-07-23 06:59:26 +00:00
Jim Meyering e8794d23ec *** empty log message *** 2003-07-23 06:58:25 +00:00
Jim Meyering f9c9ff7475 *** empty log message *** 2003-07-23 06:58:01 +00:00
Jim Meyering 6315f15a23 (parse_tabstops): Detect overflow in tabstop sizes. 2003-07-23 06:57:57 +00:00
Jim Meyering 496c3add2b *** empty log message *** 2003-07-23 06:39:47 +00:00
Jim Meyering 8d69e13ee5 Include xstrndup.h.
(xstrndup): Remove function, now that it's been factored out into
it's own file.
2003-07-23 06:39:44 +00:00
Jim Meyering b220480e9d Tweak comment: Solaris2.5.1 -> Solaris 2.5.1 2003-07-23 06:38:18 +00:00
Jim Meyering 1818879388 Tweak comment: Solaris2.7 -> Solaris 2.7 2003-07-23 06:37:45 +00:00
Jim Meyering 5bbf05f92a Normalize naming of Sun operating systems in comments, e.g., SunOS4 -> SunOS 4,
Solaris5.9 -> Solaris 9.  From Paul Eggert.
2003-07-23 06:27:07 +00:00
Jim Meyering 2dd33cf2b1 *** empty log message *** 2003-07-23 06:26:25 +00:00
Jim Meyering 9817a27dc0 Normalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4,
Solaris5.9 -> Solaris 9.  From Paul Eggert.
2003-07-23 06:24:12 +00:00
Jim Meyering 8c67c629b7 *** empty log message *** 2003-07-23 06:23:47 +00:00
Jim Meyering ed5baef6bd . 2003-07-23 06:18:23 +00:00
Jim Meyering 4b45560264 *** empty log message *** 2003-07-23 06:17:55 +00:00
Jim Meyering 789e064aaf *** empty log message *** 2003-07-23 06:16:14 +00:00
Jim Meyering 8c0ec86f25 include "xstrndup.h" 2003-07-23 06:16:05 +00:00
Jim Meyering ee6abf82dd Factored out of dircolors.c from coreutils. 2003-07-23 06:14:20 +00:00
Jim Meyering 6c61676f7d (libfetish_a_SOURCES): Add xstrndup.c and xstrndup.h. 2003-07-23 06:00:50 +00:00
Jim Meyering 47316ed6df Use `SunOS 4', not SunOS4
Solaris 2.6, not Solaris 5.6, etc.
From Paul Eggert.
2003-07-23 06:00:07 +00:00
Jim Meyering 100354efca *** empty log message *** 2003-07-23 05:48:02 +00:00
Jim Meyering 3d0b2cc66a (wc): Fix typo in computation of file from file_x,
which caused the former to be used uninitialized if file_x was
nonzero.
2003-07-23 05:47:57 +00:00
Jim Meyering a68226bb5b *** empty log message *** 2003-07-23 05:38:41 +00:00
Jim Meyering 0ff72c1f5c (XCALLOC, XREALLOC, CCLONE): Fix under- and over-parenthesization in macros. 2003-07-23 05:38:36 +00:00
Jim Meyering a19486436f tweak comment 2003-07-22 21:56:23 +00:00
Jim Meyering d146304528 *** empty log message *** 2003-07-22 21:53:44 +00:00
Jim Meyering 9239223865 (set_fields): Use xcalloc in place of xmalloc+memset. 2003-07-22 21:53:39 +00:00
Jim Meyering 9903c3432c *** empty log message *** 2003-07-22 16:32:38 +00:00
Jim Meyering 1277d8b91c (.x.1): Substitute 's,$t/$*,$*,' on output of
help2man, to avoid having `rm.td/rm' appear in rm.1.  Reported by
Thomas Luzat.  See http://bugs.debian.org/202413 for details.
2003-07-22 16:32:33 +00:00
Jim Meyering f7259485a4 *** empty log message *** 2003-07-22 16:31:16 +00:00
Jim Meyering 4457508c7a don't include stdboo.h. it's already included via system.h 2003-07-22 14:18:58 +00:00
Jim Meyering 0bdc16c6f5 . 2003-07-22 14:16:50 +00:00
Jim Meyering 52393e15b7 *** empty log message *** 2003-07-22 14:15:40 +00:00
Jim Meyering 6dc75c643b (main) [lint]: Initialize spec_list_string to avoid warning. 2003-07-22 14:15:31 +00:00
Jim Meyering e21334b795 Don't include <unistd.h>. system.h already does that. 2003-07-22 14:13:37 +00:00
Jim Meyering 15890cb3df *** empty log message *** 2003-07-22 13:00:48 +00:00
Jim Meyering 3fe298f13f (set_fields): Mark all selected indices before trying to
determine range endpoints.
2003-07-22 13:00:45 +00:00
Jim Meyering c55974d115 New test for the above fix. 2003-07-22 12:44:22 +00:00
Jim Meyering 68371a1d4c *** empty log message *** 2003-07-22 11:56:37 +00:00
Jim Meyering bf2cf0b7ba 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.

(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-22 11:56:24 +00:00
Jim Meyering a5eacea399 *** empty log message *** 2003-07-20 21:13:08 +00:00