platform/upstream/coreutils.git
23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 09:08:53 +0000 (09:08 +0000)]
*** empty log message ***

23 years ago(TESTS): Add no-arg.
Jim Meyering [Sun, 22 Apr 2001 09:08:45 +0000 (09:08 +0000)]
(TESTS): Add no-arg.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 08:31:40 +0000 (08:31 +0000)]
*** empty log message ***

23 years agoFix bugs when computing length of large files.
Jim Meyering [Sun, 22 Apr 2001 08:31:24 +0000 (08:31 +0000)]
Fix bugs when computing length of large files.
Add overflow and write error checks.  Use uint_fast32_t, not
unsigned long, to do checksum calculation, as C99 says
uint_fast32_t should be no slower and might be faster.

Include <stdio.h> and "system.h" even if CRCTAB is defined,
so that the code will compile if CRCTAB is defined.
Include "human.h" if CRCTAB is not defined.
(uint_fast32_t): Define if it appears that stdint.h didn't.
(BIT, remainder, main, crctab): Use uint_fast32_t, not unsigned long,
for checksums.
(fill_r, remainder, main): Use ANSI prototypes.
(fill_r, remainder, main): Omit duplicate code.
(main): Use uintmax_t, not unsigned long, for file lengths.
Use size_t, not long, for result of fread.
Check for overflow when computing file lengths.
Check for write error immediately after printing a line, so that
we don't write to stdout indefinitely after an error.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 07:29:13 +0000 (07:29 +0000)]
*** empty log message ***

23 years ago(usage): Mention that sync makes dd pad with spaces (rather than NULs)
Jim Meyering [Sun, 22 Apr 2001 07:28:58 +0000 (07:28 +0000)]
(usage): Mention that sync makes dd pad with spaces (rather than NULs)
when used with block or unblock.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 07:28:11 +0000 (07:28 +0000)]
*** empty log message ***

23 years ago*** empty log message *** FILEUTILS-4_0_44
Jim Meyering [Sat, 21 Apr 2001 18:26:19 +0000 (18:26 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 17:52:02 +0000 (17:52 +0000)]
*** empty log message ***

23 years agoWrite to a new file, so that a restrictive umask doesn't interfere.
Jim Meyering [Sat, 21 Apr 2001 17:51:46 +0000 (17:51 +0000)]
Write to a new file, so that a restrictive umask doesn't interfere.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:39:33 +0000 (14:39 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:39:14 +0000 (14:39 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:36:32 +0000 (14:36 +0000)]
*** empty log message ***

23 years agoEnsure that initial group id's are properly set for `d' and `d/f3'.
Jim Meyering [Sat, 21 Apr 2001 14:36:20 +0000 (14:36 +0000)]
Ensure that initial group id's are properly set for `d' and `d/f3'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:08:04 +0000 (14:08 +0000)]
*** empty log message ***

23 years agoCheck for chsize.
Jim Meyering [Sat, 21 Apr 2001 14:08:00 +0000 (14:08 +0000)]
Check for chsize.
Link with ftruncate.o unconditionally if ftruncate is missing.
This was required when cross-compiling to i586-mingw32msvc.

23 years ago.
Jim Meyering [Sat, 21 Apr 2001 10:22:34 +0000 (10:22 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 10:04:15 +0000 (10:04 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 10:01:29 +0000 (10:01 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 09:49:09 +0000 (09:49 +0000)]
*** empty log message ***

23 years ago(main): When given two or more arguments but the only one
Jim Meyering [Sat, 21 Apr 2001 09:47:39 +0000 (09:47 +0000)]
(main): When given two or more arguments but the only one
that exists is a directory, don't treat it as if it were the only
argument.  Before, `mkdir d; ls no-dir d 2>/dev/null' would act like
`ls d' and produce no output.  Now, it prints `d:'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 08:45:20 +0000 (08:45 +0000)]
*** empty log message ***

23 years agotests for latest fix
Jim Meyering [Sat, 21 Apr 2001 08:41:38 +0000 (08:41 +0000)]
tests for latest fix

23 years ago*** empty log message ***
Jim Meyering [Fri, 20 Apr 2001 17:33:48 +0000 (17:33 +0000)]
*** empty log message ***

23 years ago(false invocation): Describe how --help and
Jim Meyering [Fri, 20 Apr 2001 17:33:43 +0000 (17:33 +0000)]
(false invocation): Describe how --help and
--version are treated with and without POSIXLY_CORRECT.
(true invocation): Likewise.

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Apr 2001 05:58:42 +0000 (05:58 +0000)]
*** empty log message ***

23 years ago(default_sort_size): Leave a 1/16 margin for RSS.
Jim Meyering [Sun, 15 Apr 2001 05:58:33 +0000 (05:58 +0000)]
(default_sort_size): Leave a 1/16 margin for RSS.

23 years ago*** empty log message ***
Jim Meyering [Sat, 14 Apr 2001 06:43:30 +0000 (06:43 +0000)]
*** empty log message ***

23 years ago(usage): Tweak --help output: s/line,/newline,/
Jim Meyering [Sat, 14 Apr 2001 06:43:24 +0000 (06:43 +0000)]
(usage): Tweak --help output: s/line,/newline,/

23 years ago*** empty log message ***
Jim Meyering [Fri, 13 Apr 2001 20:33:37 +0000 (20:33 +0000)]
*** empty log message ***

23 years ago(main): Add a comment justifying the use of
Jim Meyering [Fri, 13 Apr 2001 20:33:32 +0000 (20:33 +0000)]
(main): Add a comment justifying the use of
`multi-character' rather than `multibyte' in a diagnostic.

23 years ago*** empty log message ***
Jim Meyering [Fri, 13 Apr 2001 07:16:35 +0000 (07:16 +0000)]
*** empty log message ***

23 years ago(RLIMIT_AS): Do not define; just use conditional
Jim Meyering [Fri, 13 Apr 2001 07:15:06 +0000 (07:15 +0000)]
(RLIMIT_AS): Do not define; just use conditional
code, since RLIMIT_RSS is similar (and is not standardized).
(default_sort_size): Don't allocate more than the RSS limit,
if this host has such a limit.

23 years ago*** empty log message ***
Jim Meyering [Sun, 8 Apr 2001 20:00:14 +0000 (20:00 +0000)]
*** empty log message ***

23 years agothat's necessary when the offset spans a DST transition.
Jim Meyering [Sun, 8 Apr 2001 19:58:59 +0000 (19:58 +0000)]
that's necessary when the offset spans a DST transition.

23 years ago*** empty log message ***
Jim Meyering [Sun, 8 Apr 2001 17:16:39 +0000 (17:16 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 8 Apr 2001 08:25:35 +0000 (08:25 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 4 Apr 2001 14:50:53 +0000 (14:50 +0000)]
*** empty log message ***

23 years agoDon't inspect MB_LEN_MAX. Paul Eggert says it's
Jim Meyering [Wed, 4 Apr 2001 14:50:47 +0000 (14:50 +0000)]
Don't inspect MB_LEN_MAX. Paul Eggert says it's
not always defined correctly.

23 years ago*** empty log message ***
Jim Meyering [Mon, 2 Apr 2001 12:38:49 +0000 (12:38 +0000)]
*** empty log message ***

23 years agoSkip nonexistent directories.
Jim Meyering [Mon, 2 Apr 2001 12:37:38 +0000 (12:37 +0000)]
Skip nonexistent directories.

23 years agoInclude <getopt.h>.
Jim Meyering [Mon, 2 Apr 2001 09:02:23 +0000 (09:02 +0000)]
Include <getopt.h>.
(usage, main): Add support for long options, and check option
syntax as POSIX requires, though (as usual for GNU apps)
options can follow file names unless POSIXLY_CORRECT is set.
Many diagnostic revamped.
(long_options): New constant.
(badfieldspec): New arg MSGID.  Mark as noreturn.
(parse_field_count): New arg MSGID; if null, just return null on error.
(new_key): Renamed from key_init.  All callers changed.  Now allocates
the new key.

23 years agoUpdate from GNU libc.
Jim Meyering [Mon, 2 Apr 2001 08:31:28 +0000 (08:31 +0000)]
Update from GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Mon, 2 Apr 2001 08:31:22 +0000 (08:31 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 1 Apr 2001 21:28:27 +0000 (21:28 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 24 Mar 2001 10:36:33 +0000 (10:36 +0000)]
*** empty log message ***

23 years agoRequire autoconf-2.49d.
Jim Meyering [Sat, 24 Mar 2001 10:35:18 +0000 (10:35 +0000)]
Require autoconf-2.49d.

23 years agoDocument --, -, sort long options, and sort -o after files.
Jim Meyering [Sat, 24 Mar 2001 09:18:04 +0000 (09:18 +0000)]
Document --, -, sort long options, and sort -o after files.

23 years ago*** empty log message ***
Jim Meyering [Sat, 24 Mar 2001 08:50:50 +0000 (08:50 +0000)]
*** empty log message ***

23 years ago(jm_ICONV): Recommend GNU libiconv.
Jim Meyering [Sat, 24 Mar 2001 08:50:21 +0000 (08:50 +0000)]
(jm_ICONV): Recommend GNU libiconv.

23 years ago*** empty log message *** FILEUTILS-4_0_43
Jim Meyering [Fri, 23 Mar 2001 22:25:02 +0000 (22:25 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Mar 2001 22:22:46 +0000 (22:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Mar 2001 22:22:21 +0000 (22:22 +0000)]
*** empty log message ***

23 years ago(check-copyright): New target and rule.
Jim Meyering [Fri, 23 Mar 2001 22:22:14 +0000 (22:22 +0000)]
(check-copyright): New target and rule.
(alpha): Depend on it.

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Mar 2001 22:20:16 +0000 (22:20 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 20 Mar 2001 20:40:34 +0000 (20:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Mar 2001 11:59:55 +0000 (11:59 +0000)]
*** empty log message ***

23 years ago(version_etc_copyright): Update to 2001.
Jim Meyering [Mon, 19 Mar 2001 11:52:29 +0000 (11:52 +0000)]
(version_etc_copyright): Update to 2001.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Mar 2001 22:13:09 +0000 (22:13 +0000)]
*** empty log message ***

23 years ago*** empty log message *** TEXTUTILS-2_0_13
Jim Meyering [Sun, 18 Mar 2001 16:55:12 +0000 (16:55 +0000)]
*** empty log message ***

23 years ago*** empty log message *** FILEUTILS-4_0_42
Jim Meyering [Sun, 18 Mar 2001 16:54:25 +0000 (16:54 +0000)]
*** empty log message ***

23 years agoIf the $DJDIR envvar is defined, set SHELL
Jim Meyering [Sun, 18 Mar 2001 16:53:58 +0000 (16:53 +0000)]
If the $DJDIR envvar is defined, set SHELL
to $DJDIR/bin/bash.exe.  Patch from Richard Dawe, based on a
suggestion from Eli Zaretskii.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Mar 2001 16:50:20 +0000 (16:50 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Mar 2001 07:54:48 +0000 (07:54 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Mar 2001 07:54:29 +0000 (07:54 +0000)]
*** empty log message ***

23 years ago(usage): Warn that the +N form will be withdrawn.
Jim Meyering [Sun, 18 Mar 2001 07:54:19 +0000 (07:54 +0000)]
(usage): Warn that the +N form will be withdrawn.

23 years ago(usage): Warn that the +N form will be withdrawn.
Jim Meyering [Sun, 18 Mar 2001 07:53:14 +0000 (07:53 +0000)]
(usage): Warn that the +N form will be withdrawn.

23 years agoWarn that the +N form will be withdrawn.
Jim Meyering [Sun, 18 Mar 2001 07:51:15 +0000 (07:51 +0000)]
Warn that the +N form will be withdrawn.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Mar 2001 07:30:29 +0000 (07:30 +0000)]
*** empty log message ***

23 years agoAdd the standard $VERBOSE-handling hook.
Jim Meyering [Sat, 17 Mar 2001 22:30:24 +0000 (22:30 +0000)]
Add the standard $VERBOSE-handling hook.
This test currently fails for mips-dec-ultrix4.4.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Mar 2001 22:30:15 +0000 (22:30 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Mar 2001 22:16:01 +0000 (22:16 +0000)]
*** empty log message ***

23 years agoUse ../envvar-check rather than open-coding the same tests.
Jim Meyering [Sat, 17 Mar 2001 22:15:54 +0000 (22:15 +0000)]
Use ../envvar-check rather than open-coding the same tests.

23 years agoSet/use $as_unset, for those shells
Jim Meyering [Sat, 17 Mar 2001 22:12:03 +0000 (22:12 +0000)]
Set/use $as_unset, for those shells
(like Ultrix4's /bin/sh) that don't accept `unset'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Mar 2001 10:14:52 +0000 (10:14 +0000)]
*** empty log message ***

23 years ago(usage): Tweak the obsolescent usage line so that
Jim Meyering [Sat, 17 Mar 2001 10:14:29 +0000 (10:14 +0000)]
(usage): Tweak the obsolescent usage line so that
help2man recognizes it as such.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Mar 2001 10:10:06 +0000 (10:10 +0000)]
*** empty log message ***

23 years agoDocument pr changes.
Jim Meyering [Sat, 17 Mar 2001 08:57:49 +0000 (08:57 +0000)]
Document pr changes.

23 years agoDocument pr changes.
Jim Meyering [Sat, 17 Mar 2001 08:54:37 +0000 (08:54 +0000)]
Document pr changes.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Mar 2001 08:54:21 +0000 (08:54 +0000)]
*** empty log message ***

23 years ago(install-data-yes): Install LC_TIME locale
Jim Meyering [Sat, 17 Mar 2001 08:53:58 +0000 (08:53 +0000)]
(install-data-yes): Install LC_TIME locale
for all packages, not just for fileutils.
(uninstall): Remove LC_TIME locale too.

23 years ago(INT_STRLEN_BOUND): New macro.
Jim Meyering [Sat, 17 Mar 2001 08:50:51 +0000 (08:50 +0000)]
(INT_STRLEN_BOUND): New macro.

23 years agoAdjust to minor spacing changes in pr headers.
Jim Meyering [Sat, 17 Mar 2001 08:49:25 +0000 (08:49 +0000)]
Adjust to minor spacing changes in pr headers.

23 years agoInclude mbswidth.h.
Jim Meyering [Sat, 17 Mar 2001 08:48:23 +0000 (08:48 +0000)]
Include mbswidth.h.
(standard_header, header, test_suite): Remove.
(date_format, date_text, file_text, header_width_available): New vars.
(long_options, main, init_header, usage):
Add new -D or --date-format option.
(CHARS_FOR_DATE_AND_PAGE, T_BUF_FMT, T_BUF_SIZE, NO_DATE): Remove.
(init_header): Allow arbitrary width for date format.  Change
"Page %5d" to "Page %d", since the code no longer assumes fixed width.
Do not assume that localtime succeeds.
(init_header, print_header, usage): Do not truncate headers.
(init_header, print_header): Defer width calculations until
page is printed, since "Page 100000" is wider than "Page 1".
Count columns, not bytes, in page headers.
Custom headers take up only the center, not the whole header.
(print_header): Use printf rather than fprintf(stdout).

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 23:42:21 +0000 (23:42 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 23:41:08 +0000 (23:41 +0000)]
*** empty log message ***

23 years agoRemove my copy of AC_FUNC_MEMCMP, now that
Jim Meyering [Fri, 16 Mar 2001 23:40:10 +0000 (23:40 +0000)]
Remove my copy of AC_FUNC_MEMCMP, now that
the version in autoconf has been updated.
(jm_FUNC_MEMCMP): Adjust.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 17:01:17 +0000 (17:01 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
Jim Meyering [Fri, 16 Mar 2001 17:01:11 +0000 (17:01 +0000)]
(jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.

23 years ago(jm_PREREQ): Add jm_PREREQ_TEMPNAME.
Jim Meyering [Fri, 16 Mar 2001 16:38:52 +0000 (16:38 +0000)]
(jm_PREREQ): Add jm_PREREQ_TEMPNAME.
(jm_PREREQ_TEMPNAME): New function.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 12:02:29 +0000 (12:02 +0000)]
*** empty log message ***

23 years ago(uint64_t): Define to uintmax_t if
Jim Meyering [Fri, 16 Mar 2001 12:02:22 +0000 (12:02 +0000)]
(uint64_t): Define to uintmax_t if
not defined, and if UINT64_MAX is not defined.
Required at least for Vax Ultrix4.3, which doesn't define uint64_t.
Reported by John David Anglin.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 08:40:42 +0000 (08:40 +0000)]
*** empty log message ***

23 years ago(wget-update): Also get `missing'.
Jim Meyering [Fri, 16 Mar 2001 08:40:38 +0000 (08:40 +0000)]
(wget-update): Also get `missing'.
Use for-loops.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 08:37:07 +0000 (08:37 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Thu, 15 Mar 2001 14:50:26 +0000 (14:50 +0000)]
*** empty log message ***

23 years ago(BeOS): Use wildcard syntax.
Jim Meyering [Thu, 15 Mar 2001 14:50:16 +0000 (14:50 +0000)]
(BeOS): Use wildcard syntax.

23 years ago(locale_charset): Allow wildcard syntax. Also resolve
Jim Meyering [Thu, 15 Mar 2001 14:49:56 +0000 (14:49 +0000)]
(locale_charset): Allow wildcard syntax. Also resolve
alias if codeset is empty.

23 years ago*** empty log message ***
Jim Meyering [Tue, 13 Mar 2001 15:57:21 +0000 (15:57 +0000)]
*** empty log message ***

23 years ago(path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:
Jim Meyering [Tue, 13 Mar 2001 15:57:15 +0000 (15:57 +0000)]
(path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:
Don't insert a backslash when concatenating e.g., `C:' and `foo'.
From Bruno Haible.