Jim Meyering [Sat, 29 Dec 2001 23:01:15 +0000 (23:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:59:09 +0000 (22:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:58:40 +0000 (22:58 +0000)]
(main): With -r, always dereference symlinks.
Jim Meyering [Sat, 29 Dec 2001 22:55:43 +0000 (22:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:55:17 +0000 (22:55 +0000)]
.
Jim Meyering [Sat, 29 Dec 2001 22:53:38 +0000 (22:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Dec 2001 22:53:09 +0000 (22:53 +0000)]
(TESTS): Add r-vs-symlink.
Jim Meyering [Fri, 28 Dec 2001 08:08:15 +0000 (08:08 +0000)]
.
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.
Jim Meyering [Fri, 21 Dec 2001 11:40:55 +0000 (11:40 +0000)]
*** empty log message ***
Jim Meyering [Fri, 21 Dec 2001 11:39:22 +0000 (11:39 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 21 Dec 2001 11:36:35 +0000 (11:36 +0000)]
(usage): Deprecate --kilobytes. Document size suffixes.
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".
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.
Jim Meyering [Fri, 21 Dec 2001 11:28:34 +0000 (11:28 +0000)]
(usage, parse_integer): Prefer K to k for 1024.
Jim Meyering [Thu, 20 Dec 2001 16:54:24 +0000 (16:54 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Dec 2001 16:53:56 +0000 (16:53 +0000)]
*** empty log message ***
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'.
Jim Meyering [Thu, 20 Dec 2001 10:01:41 +0000 (10:01 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 19 Dec 2001 18:10:46 +0000 (18:10 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Dec 2001 18:10:24 +0000 (18:10 +0000)]
Add FSF copyright notice.
Jim Meyering [Wed, 19 Dec 2001 15:07:13 +0000 (15:07 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Dec 2001 15:05:38 +0000 (15:05 +0000)]
*** empty log message ***
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.
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'.
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'.
Jim Meyering [Mon, 17 Dec 2001 19:45:12 +0000 (19:45 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 19:45:03 +0000 (19:45 +0000)]
(usage): Remove strap `)' in --help output.
Jim Meyering [Mon, 17 Dec 2001 09:09:05 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 09:08:39 +0000 (09:08 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 09:07:22 +0000 (09:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Dec 2001 09:06:56 +0000 (09:06 +0000)]
(url_dir_list): Don't set define it here, but...
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.
Jim Meyering [Mon, 17 Dec 2001 09:01:08 +0000 (09:01 +0000)]
(real_dir): Remove unused variable.
Jim Meyering [Sun, 16 Dec 2001 22:59:07 +0000 (22:59 +0000)]
use generated fs_name function
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.
Jim Meyering [Sat, 15 Dec 2001 20:46:00 +0000 (20:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 16:59:00 +0000 (16:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 16:58:53 +0000 (16:58 +0000)]
(STREQ): Define.
Jim Meyering [Sat, 15 Dec 2001 16:57:15 +0000 (16:57 +0000)]
(__restrict_arr): Update from libc.
Jim Meyering [Sat, 15 Dec 2001 16:45:38 +0000 (16:45 +0000)]
from Marcus Brinkmann
Jim Meyering [Sat, 15 Dec 2001 10:38:55 +0000 (10:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 10:37:11 +0000 (10:37 +0000)]
*** empty log message ***
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 `//'.
Jim Meyering [Sat, 15 Dec 2001 09:29:14 +0000 (09:29 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 09:28:50 +0000 (09:28 +0000)]
Also accept SunOS4's `Not owner' diagnostic.
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.
Jim Meyering [Sat, 15 Dec 2001 09:07:18 +0000 (09:07 +0000)]
Fail also if ./$i --version fails.
Jim Meyering [Fri, 14 Dec 2001 11:21:13 +0000 (11:21 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Dec 2001 11:21:04 +0000 (11:21 +0000)]
(jm_MACROS): Check for iswspace.
Suggestion from Bruno Haible.
Jim Meyering [Thu, 13 Dec 2001 11:17:49 +0000 (11:17 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Dec 2001 11:12:35 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Dec 2001 11:12:23 +0000 (11:12 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 11 Dec 2001 11:51:17 +0000 (11:51 +0000)]
*** empty log message ***
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/
Jim Meyering [Tue, 11 Dec 2001 11:49:14 +0000 (11:49 +0000)]
split long line
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/
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/
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/
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/
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/
Jim Meyering [Tue, 11 Dec 2001 11:41:15 +0000 (11:41 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 10 Dec 2001 00:17:05 +0000 (00:17 +0000)]
.
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.
Jim Meyering [Sun, 9 Dec 2001 22:57:15 +0000 (22:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 22:56:52 +0000 (22:56 +0000)]
*** empty log message ***
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'.
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'.
Jim Meyering [Sun, 9 Dec 2001 22:46:53 +0000 (22:46 +0000)]
(xreadlink): Add cast to avoid a warning.
Jim Meyering [Sun, 9 Dec 2001 22:39:02 +0000 (22:39 +0000)]
(readtoken): Declare an index to be of type unsigned
to avoid a pedantic warning.
Jim Meyering [Sun, 9 Dec 2001 22:08:19 +0000 (22:08 +0000)]
Don't include assert.h.
(getstr): Remove warning-evoking assertions.
Return -1 if offset parameter is out of bounds.
Change the type of a local from int to size_t.
Jim Meyering [Sun, 9 Dec 2001 21:02:43 +0000 (21:02 +0000)]
(my_strftime_localtime_r): Include this function
definition in the `#if ! HAVE_TM_GMTOFF' block.
Jim Meyering [Sun, 9 Dec 2001 21:01:23 +0000 (21:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 21:01:15 +0000 (21:01 +0000)]
Remove declarations of xmalloc and xrealloc.
Include xalloc.h instead.
Jim Meyering [Sun, 9 Dec 2001 10:27:44 +0000 (10:27 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 20:44:05 +0000 (20:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 20:42:13 +0000 (20:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 20:41:53 +0000 (20:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 20:41:46 +0000 (20:41 +0000)]
(wget_files): Remove ansi2knr.c, since it's
no longer available at that location.
Jim Meyering [Sat, 8 Dec 2001 19:19:19 +0000 (19:19 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 06:57:58 +0000 (06:57 +0000)]
tweak to align with libc
Jim Meyering [Wed, 5 Dec 2001 14:14:43 +0000 (14:14 +0000)]
(join invocation): tweak wording
Jim Meyering [Tue, 4 Dec 2001 21:38:54 +0000 (21:38 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Dec 2001 21:37:37 +0000 (21:37 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Dec 2001 17:55:12 +0000 (17:55 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Dec 2001 17:55:08 +0000 (17:55 +0000)]
Don't use diff's -u option. It's not portable.
Besides, with GNU diff one can use the DIFF_OPTIONS envvar.
Jim Meyering [Mon, 3 Dec 2001 16:07:50 +0000 (16:07 +0000)]
(usage): Don't split translatable strings in the middle of a sentence.
Jim Meyering [Mon, 3 Dec 2001 16:07:23 +0000 (16:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Dec 2001 15:56:48 +0000 (15:56 +0000)]
(usage): Merge lone "\n" into adjacent string.
Jim Meyering [Mon, 3 Dec 2001 15:56:24 +0000 (15:56 +0000)]
(usage): Merge lone "\n" into adjacent string.
Jim Meyering [Sun, 2 Dec 2001 22:47:09 +0000 (22:47 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 22:27:01 +0000 (22:27 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 22:26:57 +0000 (22:26 +0000)]
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
instead of hard-coding --help and --version descriptions.
Jim Meyering [Sun, 2 Dec 2001 20:18:43 +0000 (20:18 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 20:16:28 +0000 (20:16 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 20:10:31 +0000 (20:10 +0000)]
*** empty log message ***