platform/upstream/coreutils.git
22 years ago.
Jim Meyering [Sun, 13 Jan 2002 19:54:12 +0000 (19:54 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jan 2002 19:44:32 +0000 (19:44 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jan 2002 09:33:37 +0000 (09:33 +0000)]
*** empty log message ***

22 years agoTweak to work with the programs in diffutils.
Jim Meyering [Sun, 13 Jan 2002 09:33:32 +0000 (09:33 +0000)]
Tweak to work with the programs in diffutils.

22 years ago.
Jim Meyering [Sat, 12 Jan 2002 22:33:09 +0000 (22:33 +0000)]
.

22 years ago.
Jim Meyering [Sat, 12 Jan 2002 22:32:46 +0000 (22:32 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jan 2002 22:32:09 +0000 (22:32 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jan 2002 22:30:02 +0000 (22:30 +0000)]
*** empty log message ***

22 years ago(copy_reg): Don't treat errno==ENOENT as a special case.
Jim Meyering [Sat, 12 Jan 2002 22:29:55 +0000 (22:29 +0000)]
(copy_reg): Don't treat errno==ENOENT as a special case.
(same_file_ok): Detect a case that would have lead to the errno==ENOENT
condition above (and a misleading diagnostic), and return 0 so we give
a diagnostic about the source and destination being the same file.
(copy_internal): Use an explicit test for errno==EXDEV to detect
that rename has failed because source and destination are on
different devices.  This reverts part of a change from 1997-12-13,
and is to avoid letting a race condition evoke a bogus diagnostic.
Note that while POSIX has encouraged the errno==EXDEV test for
years, it was inadequate back in 1997. I'm hoping that many
more systems have conforming support these days.
Reported by Michael Gaughen <mgaughen@polyserve.com>

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jan 2002 22:19:06 +0000 (22:19 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jan 2002 09:14:08 +0000 (09:14 +0000)]
*** empty log message ***

22 years ago(shred invocation): List some journaled filesystems.
Jim Meyering [Sat, 12 Jan 2002 09:13:31 +0000 (09:13 +0000)]
(shred invocation): List some journaled filesystems.

22 years ago(usage): Also mention Ext3.
Jim Meyering [Sat, 12 Jan 2002 09:12:13 +0000 (09:12 +0000)]
(usage): Also mention Ext3.

22 years agos/the the/the/ in a comment
Jim Meyering [Sat, 12 Jan 2002 08:48:08 +0000 (08:48 +0000)]
s/the the/the/ in a comment

22 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jan 2002 18:11:35 +0000 (18:11 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 8 Jan 2002 21:51:25 +0000 (21:51 +0000)]
*** empty log message ***

22 years ago(long_time_format): Extended translator comments.
Jim Meyering [Tue, 8 Jan 2002 21:51:14 +0000 (21:51 +0000)]
(long_time_format): Extended translator comments.

22 years agoupdate from master FILEUTILS-4_1_5
Jim Meyering [Sun, 6 Jan 2002 09:34:09 +0000 (09:34 +0000)]
update from master

22 years ago*** empty log message ***
Jim Meyering [Sat, 5 Jan 2002 21:13:34 +0000 (21:13 +0000)]
*** empty log message ***

22 years ago(version_etc_copyright): Update copyright year.
Jim Meyering [Sat, 5 Jan 2002 21:13:29 +0000 (21:13 +0000)]
(version_etc_copyright): Update copyright year.

22 years ago*** empty log message ***
Jim Meyering [Sat, 5 Jan 2002 20:38:36 +0000 (20:38 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sat, 5 Jan 2002 20:11:34 +0000 (20:11 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 5 Jan 2002 20:11:05 +0000 (20:11 +0000)]
*** empty log message ***

22 years agoadd another test
Jim Meyering [Sat, 5 Jan 2002 20:10:44 +0000 (20:10 +0000)]
add another test

22 years ago*** empty log message ***
Jim Meyering [Sat, 5 Jan 2002 19:18:02 +0000 (19:18 +0000)]
*** empty log message ***

22 years ago(install-data-yes, uninstall-data-yes):
Jim Meyering [Wed, 2 Jan 2002 19:59:44 +0000 (19:59 +0000)]
(install-data-yes, uninstall-data-yes):
Install the LC_TIME locale category as an alias for LC_MESSAGES.
This fixes a bug introduced in the 2001-09-22 upgrade to gettext 0.10.40.

22 years ago.
Jim Meyering [Mon, 31 Dec 2001 07:56:43 +0000 (07:56 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 23:01:15 +0000 (23:01 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:59:09 +0000 (22:59 +0000)]
*** empty log message ***

22 years ago(main): With -r, always dereference symlinks.
Jim Meyering [Sat, 29 Dec 2001 22:58:40 +0000 (22:58 +0000)]
(main): With -r, always dereference symlinks.

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:55:43 +0000 (22:55 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sat, 29 Dec 2001 22:55:17 +0000 (22:55 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:53:38 +0000 (22:53 +0000)]
*** empty log message ***

22 years ago(TESTS): Add r-vs-symlink.
Jim Meyering [Sat, 29 Dec 2001 22:53:09 +0000 (22:53 +0000)]
(TESTS): Add r-vs-symlink.

22 years ago.
Jim Meyering [Fri, 28 Dec 2001 08:08:15 +0000 (08:08 +0000)]
.

22 years agoUse notation compatible with SI and with IEC 60027-2.
Jim Meyering [Fri, 21 Dec 2001 11:54:04 +0000 (11:54 +0000)]
Use notation compatible with SI and with IEC 60027-2.
For example, --block-size=1MB now means --block-size=1000000,
whereas --block-size=1MiB now means --block-size=1048576.
A trailing `B' now means decimal, not binary; this is a silent change.
-H or --si now outputs the trailing 'B', for consistency with this.
Programs now output trailing 'K' (not 'k') to mean 1024.
New df, du short option -B is short for --block-size.
You can omit an integer `1' before a block size suffix,
e.g. `df -BG' is equivalent to `df -B 1G' and to `df --block-size=1G'.

Document the above.  Remove documentation
for obsolescent constructs MD, --kilobytes, -m or --megabytes.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Dec 2001 11:40:55 +0000 (11:40 +0000)]
*** empty log message ***

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

22 years ago[!HAVE_CONFIG_H]: Remove block of code that duplicated
Jim Meyering [Fri, 21 Dec 2001 11:39:02 +0000 (11:39 +0000)]
[!HAVE_CONFIG_H]: Remove block of code that duplicated
code in lib/ for compiling this program without config.h.

22 years ago(usage): Deprecate --kilobytes. Document size suffixes.
Jim Meyering [Fri, 21 Dec 2001 11:36:35 +0000 (11:36 +0000)]
(usage): Deprecate --kilobytes.  Document size suffixes.

22 years ago(BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
Jim Meyering [Fri, 21 Dec 2001 11:35:54 +0000 (11:35 +0000)]
(BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
(long_options, usage, main): Add -B.
(usage): Deprecate --kilobytes, -m, --megabytes.
Document size suffixes.

(print_header, show_dev): Enlarge column widths for trailing "B".

22 years ago(BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
Jim Meyering [Fri, 21 Dec 2001 11:31:54 +0000 (11:31 +0000)]
(BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
(long_options, usage, main): Add -B.
(usage): Deprecate --kilobytes, -m, --megabytes.
Document size suffixes.

22 years ago(usage, parse_integer): Prefer K to k for 1024.
Jim Meyering [Fri, 21 Dec 2001 11:28:34 +0000 (11:28 +0000)]
(usage, parse_integer): Prefer K to k for 1024.

22 years ago*** empty log message ***
Jim Meyering [Thu, 20 Dec 2001 16:54:24 +0000 (16:54 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 20 Dec 2001 16:53:56 +0000 (16:53 +0000)]
*** empty log message ***

22 years ago(usage, specify_sort_size): Accept 'K' (which is
Jim Meyering [Thu, 20 Dec 2001 16:53:50 +0000 (16:53 +0000)]
(usage, specify_sort_size): Accept 'K' (which is
now preferred, as it connotes 1024) as well as 'k'.

22 years ago*** empty log message ***
Jim Meyering [Thu, 20 Dec 2001 10:01:41 +0000 (10:01 +0000)]
*** empty log message ***

22 years ago(close_stdout_status): If ferror (stdout), do
Jim Meyering [Thu, 20 Dec 2001 10:01:25 +0000 (10:01 +0000)]
(close_stdout_status): If ferror (stdout), do
not silently exit merely because the output buffer happens to
have nothing pending.

22 years ago*** empty log message ***
Jim Meyering [Wed, 19 Dec 2001 18:10:46 +0000 (18:10 +0000)]
*** empty log message ***

22 years agoAdd FSF copyright notice.
Jim Meyering [Wed, 19 Dec 2001 18:10:24 +0000 (18:10 +0000)]
Add FSF copyright notice.

22 years ago*** empty log message ***
Jim Meyering [Wed, 19 Dec 2001 15:07:13 +0000 (15:07 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 19 Dec 2001 15:05:38 +0000 (15:05 +0000)]
*** empty log message ***

22 years ago(suffixes): Prefer K to k for 1024.
Jim Meyering [Wed, 19 Dec 2001 15:05:33 +0000 (15:05 +0000)]
(suffixes): Prefer K to k for 1024.
(generate_suffix_backwards): New function.
(human_readable_inexact): Use it.

22 years ago(__xstrtol): If there is no number but there
Jim Meyering [Wed, 19 Dec 2001 10:41:27 +0000 (10:41 +0000)]
(__xstrtol): If there is no number but there
is a valid suffix, assume 1.  "MB" now means decimal, "MiB" binary.
Accept 'K' as well as 'k'.

22 years ago(xstrtoumax): If there is no number but there
Jim Meyering [Wed, 19 Dec 2001 10:35:39 +0000 (10:35 +0000)]
(xstrtoumax): If there is no number but there
is a valid suffix, assume 1.  "MB" now means decimal, "MiB" binary.
Accept 'K' as well as 'k'.

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 19:45:12 +0000 (19:45 +0000)]
*** empty log message ***

22 years ago(usage): Remove strap `)' in --help output.
Jim Meyering [Mon, 17 Dec 2001 19:45:03 +0000 (19:45 +0000)]
(usage): Remove strap `)' in --help output.

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 09:09:05 +0000 (09:09 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 09:08:39 +0000 (09:08 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 09:07:22 +0000 (09:07 +0000)]
*** empty log message ***

22 years ago(url_dir_list): Don't set define it here, but...
Jim Meyering [Mon, 17 Dec 2001 09:06:56 +0000 (09:06 +0000)]
(url_dir_list): Don't set define it here, but...

22 years ago(url_dir_list): ...define it here instead.
Jim Meyering [Mon, 17 Dec 2001 09:06:33 +0000 (09:06 +0000)]
(url_dir_list): ...define it here instead.
(hosts, a_host, b_host): Remove now-unused variables.
(alpha_subdir, a_url_dir, b_url_dir): Remove now-unused variables.

22 years ago(real_dir): Remove unused variable.
Jim Meyering [Mon, 17 Dec 2001 09:01:08 +0000 (09:01 +0000)]
(real_dir): Remove unused variable.

22 years agouse generated fs_name function FILEUTILS-4_1_4
Jim Meyering [Sun, 16 Dec 2001 22:59:07 +0000 (22:59 +0000)]
use generated fs_name function

22 years agoUse new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
Jim Meyering [Sat, 15 Dec 2001 20:46:30 +0000 (20:46 +0000)]
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
instead of hard-coding --help and --version descriptions.
Split --help output into smaller pieces.
Use fputs, not printf.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 20:46:00 +0000 (20:46 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 16:59:00 +0000 (16:59 +0000)]
*** empty log message ***

22 years ago(STREQ): Define.
Jim Meyering [Sat, 15 Dec 2001 16:58:53 +0000 (16:58 +0000)]
(STREQ): Define.

22 years ago(__restrict_arr): Update from libc.
Jim Meyering [Sat, 15 Dec 2001 16:57:15 +0000 (16:57 +0000)]
(__restrict_arr): Update from libc.

22 years agofrom Marcus Brinkmann
Jim Meyering [Sat, 15 Dec 2001 16:45:38 +0000 (16:45 +0000)]
from Marcus Brinkmann

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 10:38:55 +0000 (10:38 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 10:37:11 +0000 (10:37 +0000)]
*** empty log message ***

22 years ago(ME_REMOTE): Recognize file systems of type smbfs
Jim Meyering [Sat, 15 Dec 2001 10:36:58 +0000 (10:36 +0000)]
(ME_REMOTE): Recognize file systems of type smbfs
as `remote' if the name starts with `//'.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 09:29:14 +0000 (09:29 +0000)]
*** empty log message ***

22 years agoAlso accept SunOS4's `Not owner' diagnostic.
Jim Meyering [Sat, 15 Dec 2001 09:28:50 +0000 (09:28 +0000)]
Also accept SunOS4's `Not owner' diagnostic.

22 years agoRun each --help and --version test with a few different settings
Jim Meyering [Sat, 15 Dec 2001 09:14:21 +0000 (09:14 +0000)]
Run each --help and --version test with a few different settings
of LC_MESSAGES.

22 years agoFail also if ./$i --version fails.
Jim Meyering [Sat, 15 Dec 2001 09:07:18 +0000 (09:07 +0000)]
Fail also if ./$i --version fails.

22 years ago*** empty log message ***
Jim Meyering [Fri, 14 Dec 2001 11:21:13 +0000 (11:21 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Check for iswspace.
Jim Meyering [Fri, 14 Dec 2001 11:21:04 +0000 (11:21 +0000)]
(jm_MACROS): Check for iswspace.
Suggestion from Bruno Haible.

22 years ago*** empty log message ***
Jim Meyering [Thu, 13 Dec 2001 11:17:49 +0000 (11:17 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 13 Dec 2001 11:12:35 +0000 (11:12 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 13 Dec 2001 11:12:23 +0000 (11:12 +0000)]
*** empty log message ***

22 years ago(wc): Use ISSPACE and iswspace in addition to hard-coding
Jim Meyering [Thu, 13 Dec 2001 11:12:18 +0000 (11:12 +0000)]
(wc): Use ISSPACE and iswspace in addition to hard-coding
the ASCII space character.

22 years ago*** empty log message ***
Jim Meyering [Tue, 11 Dec 2001 11:51:17 +0000 (11:51 +0000)]
*** empty log message ***

22 years ago(main):
Jim Meyering [Tue, 11 Dec 2001 11:49:36 +0000 (11:49 +0000)]
(main):
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

22 years agosplit long line
Jim Meyering [Tue, 11 Dec 2001 11:49:14 +0000 (11:49 +0000)]
split long line

22 years ago(change_file_mode, main):
Jim Meyering [Tue, 11 Dec 2001 11:48:54 +0000 (11:48 +0000)]
(change_file_mode, main):
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

22 years ago(change_file_owner):
Jim Meyering [Tue, 11 Dec 2001 11:48:21 +0000 (11:48 +0000)]
(change_file_owner):
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

22 years ago(main):
Jim Meyering [Tue, 11 Dec 2001 11:47:54 +0000 (11:47 +0000)]
(main):
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

22 years ago(re_protect):
Jim Meyering [Tue, 11 Dec 2001 11:47:25 +0000 (11:47 +0000)]
(re_protect):
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

22 years agoInclude the word `fail' in some diagnostics to make it clearer
Jim Meyering [Tue, 11 Dec 2001 11:46:49 +0000 (11:46 +0000)]
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

22 years ago*** empty log message ***
Jim Meyering [Tue, 11 Dec 2001 11:41:15 +0000 (11:41 +0000)]
*** empty log message ***

22 years ago(buggy_lseek_support): Remove function.
Jim Meyering [Tue, 11 Dec 2001 11:40:50 +0000 (11:40 +0000)]
(buggy_lseek_support): Remove function.
(skip_via_lseek) [__linux__]: New function.
(skip): Use skip_via_lseek, not buggy_lseek_support.

22 years ago. TEXTUTILS-2_0_19
Jim Meyering [Mon, 10 Dec 2001 00:17:05 +0000 (00:17 +0000)]
.

22 years agoRemove explicit declarations of xmalloc and xrealloc,
Jim Meyering [Mon, 10 Dec 2001 00:13:36 +0000 (00:13 +0000)]
Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".
(initbuffer): Don't cast xmalloc return value to char*.
(readline): Reword comment.
Don't cast xrealloc return value to char*
Return NULL, not 0.

22 years ago*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 22:57:15 +0000 (22:57 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 22:56:52 +0000 (22:56 +0000)]
*** empty log message ***

22 years ago(posix_time_parse): Add cast to avoid warning about
Jim Meyering [Sun, 9 Dec 2001 22:56:16 +0000 (22:56 +0000)]
(posix_time_parse): Add cast to avoid warning about
`signed and unsigned type in conditional expression'.

22 years ago(mode_compile): Add cast to avoid warning about
Jim Meyering [Sun, 9 Dec 2001 22:54:19 +0000 (22:54 +0000)]
(mode_compile): Add cast to avoid warning about
`signed and unsigned type in conditional expression'.

22 years ago(xreadlink): Add cast to avoid a warning.
Jim Meyering [Sun, 9 Dec 2001 22:46:53 +0000 (22:46 +0000)]
(xreadlink): Add cast to avoid a warning.