platform/upstream/coreutils.git
21 years ago.
Jim Meyering [Sat, 9 Aug 2003 10:56:40 +0000 (10:56 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Aug 2003 10:44:33 +0000 (10:44 +0000)]
*** empty log message ***

21 years agoUse the e.g., `$(FNMATCH_H)' notation for AC_REPLACED
Jim Meyering [Sat, 9 Aug 2003 10:44:06 +0000 (10:44 +0000)]
Use the e.g., `$(FNMATCH_H)' notation for AC_REPLACED
variable names, rather than @FNMATCH_H@.
Likewise for $(ALLOCA_H).
(fnmatch.h): Use `$@' in the commands, in place of the three copies
of the literal target, `fnmatch.h'.
(alloca.h): Likewise.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Aug 2003 10:28:01 +0000 (10:28 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Aug 2003 10:22:01 +0000 (10:22 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c]) with gl_REGEX.
Jim Meyering [Sat, 9 Aug 2003 10:21:58 +0000 (10:21 +0000)]
(jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c]) with gl_REGEX.
Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
Remove AC_FUNC_VPRINTF.
Add gl_ERROR.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Aug 2003 09:58:34 +0000 (09:58 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Remove fnmatch_.h.
Jim Meyering [Sat, 9 Aug 2003 09:58:30 +0000 (09:58 +0000)]
(libfetish_a_SOURCES): Remove fnmatch_.h.
(lib_OBJECTS): New macro, for convenience when cutting and
pasting Makefile.am templates from gnulib.
(EXTRA_DIST): Remove fnmatch_loop.c.
(BUILT_SOURCES): Append $(FNMATCH_H).

Import the following changes from gnulib templates
for alloca and fnmatch):
(all-local $(lib_OBJECTS)): New dependencies.
(alloca.h): Use alloca.h-t for temporary.
(EXTRA_DIST): Append fnmatch_.h, fnmatch_loop.c.
(fnmatch.h): New rule.
(MOSTLYCLEANFILES): Add fnmatch.h, fnmatch.h-t.
(DISTCLEANFILES): Remove fnmatch.h

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Aug 2003 09:52:37 +0000 (09:52 +0000)]
*** empty log message ***

21 years ago(split invocation): Add -d or --numeric-suffixes option to 'split'.
Jim Meyering [Sat, 9 Aug 2003 09:50:52 +0000 (09:50 +0000)]
(split invocation): Add -d or --numeric-suffixes option to 'split'.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Aug 2003 09:47:10 +0000 (09:47 +0000)]
*** empty log message ***

21 years agoReflect that `split -a 0' is now accepted.
Jim Meyering [Sat, 9 Aug 2003 09:46:13 +0000 (09:46 +0000)]
Reflect that `split -a 0' is now accepted.

21 years ago(suffix_alphabet): New var.
Jim Meyering [Sat, 9 Aug 2003 09:16:39 +0000 (09:16 +0000)]
(suffix_alphabet): New var.
(longopts, usage, next_file_name, main): Support -d.
(next_file_name, main): Allow -a0, as POSIX requires.
(next_file_name): Don't assume ASCII-like encoding;
'a' through 'z' are not contiguous in EBCDIC.

21 years ago*** empty log message ***
Jim Meyering [Fri, 8 Aug 2003 21:15:01 +0000 (21:15 +0000)]
*** empty log message ***

21 years ago(read_filesystem_list) [MOUNTED_GETFSSTAT]:
Jim Meyering [Fri, 8 Aug 2003 21:14:57 +0000 (21:14 +0000)]
(read_filesystem_list) [MOUNTED_GETFSSTAT]:
Use MNT_NOWAIT, rather than MNT_WAIT.  Otherwise, `df DIR' could
hang on OSF/1 5.1 for DIR on both local and remote file systems.
Reported by (and fix confirmed by) Nelson H. F. Beebe.

21 years ago.
Jim Meyering [Thu, 7 Aug 2003 09:41:34 +0000 (09:41 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 09:36:43 +0000 (09:36 +0000)]
*** empty log message ***

21 years ago(RE_SYNTAX_POSIX_AWK): Remove SPACE in SPACE-TAB sequence.
Jim Meyering [Thu, 7 Aug 2003 09:36:38 +0000 (09:36 +0000)]
(RE_SYNTAX_POSIX_AWK): Remove SPACE in SPACE-TAB sequence.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 09:33:53 +0000 (09:33 +0000)]
*** empty log message ***

21 years agoInclude getndelim2.h rather than getdelim2.h.
Jim Meyering [Thu, 7 Aug 2003 09:33:48 +0000 (09:33 +0000)]
Include getndelim2.h rather than getdelim2.h.
(cut_fields): Invoke getndelim2 rather than getdelim2.

21 years ago.
Jim Meyering [Thu, 7 Aug 2003 09:32:44 +0000 (09:32 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 09:32:07 +0000 (09:32 +0000)]
*** empty log message ***

21 years agoNew file, from gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:31:47 +0000 (09:31 +0000)]
New file, from gnulib.

21 years agoMerge from gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:31:22 +0000 (09:31 +0000)]
Merge from gnulib.

21 years ago(jm_MACROS): Use gl_GETNDELIM2 rather than checking for getdelim.
Jim Meyering [Thu, 7 Aug 2003 09:30:09 +0000 (09:30 +0000)]
(jm_MACROS): Use gl_GETNDELIM2 rather than checking for getdelim.
(jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
than rolling our own.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 09:26:21 +0000 (09:26 +0000)]
*** empty log message ***

21 years agoMerge from gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:26:06 +0000 (09:26 +0000)]
Merge from gnulib.

21 years agoMerge from gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:25:26 +0000 (09:25 +0000)]
Merge from gnulib.

21 years agosuperseded by getndelim2.[ch]
Jim Meyering [Thu, 7 Aug 2003 09:24:34 +0000 (09:24 +0000)]
superseded by getndelim2.[ch]

21 years agoNew files, from gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:23:16 +0000 (09:23 +0000)]
New files, from gnulib.

21 years agoNew files, from gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:22:36 +0000 (09:22 +0000)]
New files, from gnulib.

21 years ago(libfetish_a_SOURCES): Change getdelim2.c and
Jim Meyering [Thu, 7 Aug 2003 09:20:18 +0000 (09:20 +0000)]
(libfetish_a_SOURCES): Change getdelim2.c and
getdelim2.h to getndelim2.c and getndelim2.h.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 09:13:55 +0000 (09:13 +0000)]
*** empty log message ***

21 years agoMerge with gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:13:50 +0000 (09:13 +0000)]
Merge with gnulib.
(gl_C_RESTRICT): Renamed from ACX_C_RESTRICT.  All uses changed.
Rename cache vars to gl_cv_*.  Incorporate latest Autoconf CVS tricks.

21 years agoMerge with gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:12:15 +0000 (09:12 +0000)]
Merge with gnulib.
(gl_REGEX): New macro.
(jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 09:09:12 +0000 (09:09 +0000)]
*** empty log message ***

21 years agoSync with gnulib.
Jim Meyering [Thu, 7 Aug 2003 09:09:00 +0000 (09:09 +0000)]
Sync with gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 08:04:52 +0000 (08:04 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 7 Aug 2003 08:03:12 +0000 (08:03 +0000)]
.

21 years ago.
Jim Meyering [Thu, 7 Aug 2003 07:40:58 +0000 (07:40 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 07:38:41 +0000 (07:38 +0000)]
*** empty log message ***

21 years agoSync with gnulib (white space change only).
Jim Meyering [Thu, 7 Aug 2003 07:38:25 +0000 (07:38 +0000)]
Sync with gnulib (white space change only).

21 years ago(jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
Jim Meyering [Thu, 7 Aug 2003 07:38:12 +0000 (07:38 +0000)]
(jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
than jm_CHECK_TYPE_STRUCT_TIMESPEC.

21 years agoSync with gnulib, except also require AC_GNU_SOURCE.
Jim Meyering [Thu, 7 Aug 2003 07:37:51 +0000 (07:37 +0000)]
Sync with gnulib, except also require AC_GNU_SOURCE.

21 years agoNew file, taken from gnulib, with support added for __EXTENSIONS__ a la Solaris.
Jim Meyering [Thu, 7 Aug 2003 07:36:41 +0000 (07:36 +0000)]
New file, taken from gnulib, with support added for __EXTENSIONS__ a la Solaris.

21 years ago*** empty log message ***
Jim Meyering [Thu, 7 Aug 2003 06:37:16 +0000 (06:37 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
Jim Meyering [Thu, 7 Aug 2003 06:37:11 +0000 (06:37 +0000)]
(jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
that are present but cannot be compiled.  This avoids spurious warnings
on Solaris 9 sparc with Forte Developer 7 C 5.4.

21 years ago.
Jim Meyering [Wed, 6 Aug 2003 23:10:37 +0000 (23:10 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 6 Aug 2003 23:09:28 +0000 (23:09 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Require gl_FUNC_FNMATCH_GNU instead of AC_FUNC_ERROR_AT_LINE.
Jim Meyering [Wed, 6 Aug 2003 23:09:24 +0000 (23:09 +0000)]
(jm_MACROS): Require gl_FUNC_FNMATCH_GNU instead of AC_FUNC_ERROR_AT_LINE.

21 years agoNew file, from gnulib.
Jim Meyering [Wed, 6 Aug 2003 23:09:10 +0000 (23:09 +0000)]
New file, from gnulib.

21 years ago.
Jim Meyering [Wed, 6 Aug 2003 19:36:32 +0000 (19:36 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 5 Aug 2003 17:11:01 +0000 (17:11 +0000)]
*** empty log message ***

21 years agoSync from gnulib.
Jim Meyering [Tue, 5 Aug 2003 17:10:58 +0000 (17:10 +0000)]
Sync from gnulib.

21 years ago.
Jim Meyering [Tue, 5 Aug 2003 07:23:41 +0000 (07:23 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 4 Aug 2003 08:56:07 +0000 (08:56 +0000)]
*** empty log message ***

21 years ago(main): Use unsigned int instead of int for `nsigs'
Jim Meyering [Mon, 4 Aug 2003 08:55:44 +0000 (08:55 +0000)]
(main): Use unsigned int instead of int for `nsigs'
and for the indices to iterate through nsigs.

21 years ago*** empty log message ***
Jim Meyering [Sun, 3 Aug 2003 10:28:23 +0000 (10:28 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 3 Aug 2003 10:28:14 +0000 (10:28 +0000)]
*** empty log message ***

21 years agoMinor code cleanups, mostly to use more accurate
Jim Meyering [Sun, 3 Aug 2003 10:28:10 +0000 (10:28 +0000)]
Minor code cleanups, mostly to use more accurate
types and to remove unnecessary casts.
(min, max): Remove.  All uses changed to MIN and MAX.
(hard_lc_collate, hard_LC_TIME, struct buffer.eof, struct
keyfield.skipsblanks, struct keyfield.skipeblanks, struct
keyfield.numeric, struct keyfield.general_numeric, struct
keyfield.month, struct keyfield.reverse, reverse, unique,
have_read_stdin): Now bool, not int.  All uses changed.
(eolchar): Now char, not int.
(struct keyfield.ignore): Now bool const *, not int *.
(struct keyfield.translate): Now char const *, not char *.
(struct month.name): Likewise.
(blanks, nonprinting, nondictionary): Now bool[], not int[].
(cleanup, inittables, keycompare, check, mergefps, first_same_file,
check, sort, main): Use const * pointers when possible.
(month_cmp): Rewrite to avoid casts.
(inittables): Initialize tables unconditionally, to avoid branches.
(fillbuf): Return bool, not int.  All uses changed.
(fillbuf, keycompare, new_key, main):
Use SIZE_MAX rather than (size_t) -1.
(trailing_blanks): Renamed from trim_trailing_blanks.
Return the number of blanks to trim.  All uses changed.
(getmonth): Use trailing_blanks rather than open code.
(keycompare): Do not cast char * to unsigned char *; not needed.
CMP_WITH_IGNORE converts args to UCHAR, so no need to convert it
ourselves.
(compare, main): Use | rather than || to avoid jumps.
Replace "diff = NONZERO (alen)" with "diff = 1", since alen must
be nonzero there.
(check, first_same_file, sort, main):
Use bool instead of int local vars when possible.
(check): Merge the old 'checkfp' and 'check' into a single function,
that returns a boolean (true if the file was ordered).
All uses changed.
(main): Use int instead of unsigned for iterating through nsigs.
Rename local var "posix_pedantic" to "posixly_correct".

21 years ago*** empty log message ***
Jim Meyering [Sun, 3 Aug 2003 10:20:35 +0000 (10:20 +0000)]
*** empty log message ***

21 years ago(_Bool): Use a #define, not a typedef.
Jim Meyering [Sun, 3 Aug 2003 10:20:32 +0000 (10:20 +0000)]
(_Bool): Use a #define, not a typedef.

21 years ago*** empty log message ***
Jim Meyering [Sat, 2 Aug 2003 21:16:04 +0000 (21:16 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 2 Aug 2003 20:39:13 +0000 (20:39 +0000)]
*** empty log message ***

21 years ago[!NICE_PRIORITY]: Include <time.h> before <sys/resource.h>
Jim Meyering [Sat, 2 Aug 2003 20:39:06 +0000 (20:39 +0000)]
[!NICE_PRIORITY]: Include <time.h> before <sys/resource.h>
to avoid compilation error on Ultrix. Reported by Christian Krackowizer.

21 years ago*** empty log message ***
Jim Meyering [Sat, 2 Aug 2003 20:07:57 +0000 (20:07 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 2 Aug 2003 20:07:12 +0000 (20:07 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 2 Aug 2003 19:53:59 +0000 (19:53 +0000)]
*** empty log message ***

21 years ago(cut_fields): Don't read again after encountering EOF.
Jim Meyering [Sat, 2 Aug 2003 19:53:52 +0000 (19:53 +0000)]
(cut_fields): Don't read again after encountering EOF.
E.g., `cut -f2' would do so.

21 years agoAdd a test for the above fix.
Jim Meyering [Sat, 2 Aug 2003 19:41:28 +0000 (19:41 +0000)]
Add a test for the above fix.
`cut -f2' would read after EOF.

21 years ago*** empty log message ***
Jim Meyering [Sat, 2 Aug 2003 19:40:48 +0000 (19:40 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 2 Aug 2003 06:27:30 +0000 (06:27 +0000)]
.

21 years agoDocument in TODO Paul's desire to make sort faster (and how he
Jim Meyering [Sat, 2 Aug 2003 06:27:13 +0000 (06:27 +0000)]
Document in TODO Paul's desire to make sort faster (and how he
was foiled this time around).

from Paul Eggert.

21 years ago(sortlines): Add description and references.
Jim Meyering [Sat, 2 Aug 2003 06:25:50 +0000 (06:25 +0000)]
(sortlines): Add description and references.
From Paul Eggert.

21 years ago*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:40:58 +0000 (22:40 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:40:16 +0000 (22:40 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:38:50 +0000 (22:38 +0000)]
*** empty log message ***

21 years ago(General date syntax): Add --rfc-2822 option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:38:36 +0000 (22:38 +0000)]
(General date syntax): Add --rfc-2822 option to GNU date.

21 years ago(Options for date): Fix a typo in format: it's now %d not %_d. Add URLs.
Jim Meyering [Fri, 1 Aug 2003 22:37:20 +0000 (22:37 +0000)]
(Options for date): Fix a typo in format: it's now %d not %_d.  Add URLs.
(Time directives, Options for date, Examples of date): Add --rfc-2822
option to GNU date.

21 years ago(long_options, usage, main): Add --rfc-2822 option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:36:34 +0000 (22:36 +0000)]
(long_options, usage, main): Add --rfc-2822 option to GNU date.

21 years agoAdd --rfc-2822 option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:35:57 +0000 (22:35 +0000)]
Add --rfc-2822 option to GNU date.

21 years agoEnsure that $? is 0 for the final `exit 0'.
Jim Meyering [Fri, 1 Aug 2003 22:33:04 +0000 (22:33 +0000)]
Ensure that $? is 0 for the final `exit 0'.
Otherwise, with at least the /bin/sh from HPUX 10.20,
the trap code would end up converting that to exit 1 and thus an
unexpected test failure.  Reported by Christian Krackowizer.

21 years ago*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:32:47 +0000 (22:32 +0000)]
*** empty log message ***

21 years ago(TESTS_ENVIRONMENT): Set PATH so that
Jim Meyering [Fri, 1 Aug 2003 22:32:41 +0000 (22:32 +0000)]
(TESTS_ENVIRONMENT): Set PATH so that
the tests in help-version will use the just-built binaries.

21 years ago*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 06:44:33 +0000 (06:44 +0000)]
*** empty log message ***

21 years agoDo not include bumpalloc.h.
Jim Meyering [Fri, 1 Aug 2003 06:44:28 +0000 (06:44 +0000)]
Do not include bumpalloc.h.
(WORD_TABLE): New member alloc.
(ALLOC_NEW_WORD): Remove.
(occurs_alloc): New var.
(digest_word_file, find_occurs_in_text): Check for arithmetic
overflow when computing table size.  Use xrealloc rather than
bumpalloc primitives.

21 years ago*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 06:39:01 +0000 (06:39 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Remove bumpalloc.h.
Jim Meyering [Fri, 1 Aug 2003 06:38:38 +0000 (06:38 +0000)]
(libfetish_a_SOURCES): Remove bumpalloc.h.

21 years ago.
Jim Meyering [Fri, 1 Aug 2003 06:38:15 +0000 (06:38 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 31 Jul 2003 20:33:48 +0000 (20:33 +0000)]
*** empty log message ***

21 years ago(Relative items in date strings): Warn about fuzz in relative units.
Jim Meyering [Thu, 31 Jul 2003 20:33:45 +0000 (20:33 +0000)]
(Relative items in date strings): Warn about fuzz in relative units.

21 years ago.
Jim Meyering [Thu, 31 Jul 2003 11:14:56 +0000 (11:14 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 31 Jul 2003 11:10:52 +0000 (11:10 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 30 Jul 2003 19:31:03 +0000 (19:31 +0000)]
.

21 years ago. COREUTILS-5_0_90 v5.0.90
Jim Meyering [Tue, 29 Jul 2003 21:20:01 +0000 (21:20 +0000)]
.

21 years agoWhen running tests as root, suggest using sudo with NON_ROOT_USERNAME=$USER.
Jim Meyering [Tue, 29 Jul 2003 20:55:00 +0000 (20:55 +0000)]
When running tests as root, suggest using sudo with NON_ROOT_USERNAME=$USER.

21 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 20:54:50 +0000 (20:54 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Tue, 29 Jul 2003 19:38:34 +0000 (19:38 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 18:21:35 +0000 (18:21 +0000)]
*** empty log message ***

21 years ago(tail invocation): Restore two end-of-sentence
Jim Meyering [Tue, 29 Jul 2003 18:20:56 +0000 (18:20 +0000)]
(tail invocation): Restore two end-of-sentence
words that were mistakenly removed on 2002-09-13.