platform/upstream/coreutils.git
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.

22 years ago(readtoken): Declare an index to be of type unsigned
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.

22 years agoDon't include assert.h.
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.

22 years ago(my_strftime_localtime_r): Include this function
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.

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

22 years agoRemove declarations of xmalloc and xrealloc.
Jim Meyering [Sun, 9 Dec 2001 21:01:15 +0000 (21:01 +0000)]
Remove declarations of xmalloc and xrealloc.
Include xalloc.h instead.

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

22 years ago*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 20:44:05 +0000 (20:44 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 8 Dec 2001 20:42:13 +0000 (20:42 +0000)]
*** empty log message ***

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

22 years ago(wget_files): Remove ansi2knr.c, since it's
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.

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

22 years agotweak to align with libc
Jim Meyering [Sat, 8 Dec 2001 06:57:58 +0000 (06:57 +0000)]
tweak to align with libc

22 years ago(join invocation): tweak wording
Jim Meyering [Wed, 5 Dec 2001 14:14:43 +0000 (14:14 +0000)]
(join invocation): tweak wording

22 years ago*** empty log message ***
Jim Meyering [Tue, 4 Dec 2001 21:38:54 +0000 (21:38 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 4 Dec 2001 21:37:37 +0000 (21:37 +0000)]
*** empty log message ***

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

22 years agoDon't use diff's -u option. It's not portable.
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.

22 years ago(usage): Don't split translatable strings in the middle of a sentence.
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.

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

22 years ago(usage): Merge lone "\n" into adjacent string.
Jim Meyering [Mon, 3 Dec 2001 15:56:48 +0000 (15:56 +0000)]
(usage): Merge lone "\n" into adjacent string.

22 years ago(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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 22:47:09 +0000 (22:47 +0000)]
*** empty log message ***

22 years ago*** empty log message *** FILEUTILS-4_1_3
Jim Meyering [Sun, 2 Dec 2001 22:27:01 +0000 (22:27 +0000)]
*** empty log message ***

22 years agoUse new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 20:18:43 +0000 (20:18 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 20:16:28 +0000 (20:16 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 20:10:31 +0000 (20:10 +0000)]
*** empty log message ***

22 years ago(TESTS): Add recursive.
Jim Meyering [Sun, 2 Dec 2001 20:10:25 +0000 (20:10 +0000)]
(TESTS): Add recursive.

22 years agouse diff -u
Jim Meyering [Sun, 2 Dec 2001 20:09:27 +0000 (20:09 +0000)]
use diff -u

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 20:08:14 +0000 (20:08 +0000)]
*** empty log message ***

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

22 years ago(touch): Extend the change of 2001-09-15 to work on
Jim Meyering [Sun, 2 Dec 2001 20:05:33 +0000 (20:05 +0000)]
(touch): Extend the change of 2001-09-15 to work on
systems for which errno is set to EPERM in that case.  Thus, e.g.,
`touch /' by non-root gives a better diagnostic on systems like SunOS4.

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 19:59:49 +0000 (19:59 +0000)]
*** empty log message ***

22 years agoDon't declare getenv, thus reverting the change of 2001-11-18.
Jim Meyering [Sun, 2 Dec 2001 19:59:39 +0000 (19:59 +0000)]
Don't declare getenv, thus reverting the change of 2001-11-18.
It's no longer necessary, now that stdlib.h is always included.

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 17:47:34 +0000 (17:47 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 17:47:01 +0000 (17:47 +0000)]
*** empty log message ***

22 years ago[!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue.
Jim Meyering [Sun, 2 Dec 2001 17:46:54 +0000 (17:46 +0000)]
[!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue.

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 07:50:04 +0000 (07:50 +0000)]
*** empty log message ***

22 years agoDon't emulate dd's skip=N for *all* character devices; lseek works
Jim Meyering [Sun, 2 Dec 2001 07:49:46 +0000 (07:49 +0000)]
Don't emulate dd's skip=N for *all* character devices;  lseek works
just fine on non-tape character devices like /dev/mem and /dev/kmem.

(buggy_lseek_support) [__linux__]: Emulate `skip=N'
behavior using reads, not lseek for Linux tape devices (major == 9).
Kernel lseek support for tapes is broken, up to and including
linux-2.4.16.  Reported by Herbert Xu.

22 years ago(emit-upload-commands): Fix typo: s/distdir/PACKAGE/.
Jim Meyering [Sun, 2 Dec 2001 06:49:33 +0000 (06:49 +0000)]
(emit-upload-commands): Fix typo: s/distdir/PACKAGE/.

22 years ago. TEXTUTILS-2_0_18
Jim Meyering [Sat, 1 Dec 2001 19:52:31 +0000 (19:52 +0000)]
.

22 years ago(po-check): Check for uses of _() not just in .c files, but also in .h files.
Jim Meyering [Sat, 1 Dec 2001 17:56:23 +0000 (17:56 +0000)]
(po-check): Check for uses of _() not just in .c files, but also in .h files.

22 years ago*** empty log message ***
Jim Meyering [Sat, 1 Dec 2001 17:54:34 +0000 (17:54 +0000)]
*** empty log message ***

22 years agoReflect renaming to, and new usage of these macros:
Jim Meyering [Sat, 1 Dec 2001 17:41:25 +0000 (17:41 +0000)]
Reflect renaming to, and new usage of these macros:
HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION.

22 years ago*** empty log message ***
Jim Meyering [Sat, 1 Dec 2001 17:40:17 +0000 (17:40 +0000)]
*** empty log message ***

22 years agoRename just-added macros. Here are the new names:
Jim Meyering [Sat, 1 Dec 2001 17:31:09 +0000 (17:31 +0000)]
Rename just-added macros.  Here are the new names:
  HELP_OPTION_DESCRIPTION
  VERSION_OPTION_DESCRIPTION

22 years ago*** empty log message ***
Jim Meyering [Sat, 1 Dec 2001 17:22:02 +0000 (17:22 +0000)]
*** empty log message ***

22 years ago(EMIT_HELP_DESCRIPTION): New macro.
Jim Meyering [Sat, 1 Dec 2001 17:21:57 +0000 (17:21 +0000)]
(EMIT_HELP_DESCRIPTION): New macro.
(EMIT_VERSION_DESCRIPTION): New macro.

22 years ago(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTION
Jim Meyering [Sat, 1 Dec 2001 17:21:56 +0000 (17:21 +0000)]
(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTION
instead of hard-coding --help and --version descriptions.

22 years ago.
Jim Meyering [Sat, 1 Dec 2001 15:41:16 +0000 (15:41 +0000)]
.