platform/upstream/coreutils.git
24 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 13:48:40 +0000 (13:48 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 13:30:59 +0000 (13:30 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 10:55:57 +0000 (10:55 +0000)]
*** empty log message ***

24 years ago[HAVE_STDLIB_H]: Include stdlib.h.
Jim Meyering [Mon, 26 Jun 2000 10:55:18 +0000 (10:55 +0000)]
[HAVE_STDLIB_H]: Include stdlib.h.

24 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 06:33:22 +0000 (06:33 +0000)]
*** empty log message ***

24 years ago`id -Gn' (invoked by groups) would fail without giving a diagnostic
Jim Meyering [Mon, 26 Jun 2000 06:32:58 +0000 (06:32 +0000)]
`id -Gn' (invoked by groups) would fail without giving a diagnostic
on malconfigured systems.
(print_user): Give a diagnostic if number->name lookup fails.
(print_group): Likewise.

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 21:19:41 +0000 (21:19 +0000)]
*** empty log message ***

24 years ago(xmalloc, xrealloc): Remove functions.
Jim Meyering [Sun, 25 Jun 2000 21:17:32 +0000 (21:17 +0000)]
(xmalloc, xrealloc): Remove functions.
Include xalloc.h.
Don't include <stdlib.h>.  Don't declare malloc, realloc.

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 21:03:05 +0000 (21:03 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 20:20:28 +0000 (20:20 +0000)]
*** empty log message ***

24 years ago(TESTS): Add fail-perm.
Jim Meyering [Sun, 25 Jun 2000 20:20:23 +0000 (20:20 +0000)]
(TESTS): Add fail-perm.

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 20:19:52 +0000 (20:19 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 20:15:22 +0000 (20:15 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:58:47 +0000 (15:58 +0000)]
*** empty log message ***

24 years ago(copy_internal): Don't return return immediately after a
Jim Meyering [Sun, 25 Jun 2000 15:50:51 +0000 (15:50 +0000)]
(copy_internal): Don't return return immediately after a
failed copy_dir call -- otherwise, the failure to read a single file
in a source directory would cause the containing destination directory
not to have owner/perms set properly.  Reported by Piotr Kwapulinski.

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:50:38 +0000 (15:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:50:29 +0000 (15:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:49:21 +0000 (15:49 +0000)]
*** empty log message ***

24 years ago*** empty log message *** FILEUTILS-4_0v
Jim Meyering [Sun, 25 Jun 2000 14:15:22 +0000 (14:15 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 08:49:02 +0000 (08:49 +0000)]
*** empty log message ***

24 years agoInclude stdio.h before wchar.h to work around
Jim Meyering [Sun, 25 Jun 2000 08:48:58 +0000 (08:48 +0000)]
Include stdio.h before wchar.h to work around
Linux header bug when _XOPEN_SOURCE is defined to 500.

24 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 06:54:36 +0000 (06:54 +0000)]
*** empty log message ***

24 years ago(print_unicode_char): Work around ansi2knr deficiency.
Jim Meyering [Sun, 25 Jun 2000 06:54:32 +0000 (06:54 +0000)]
(print_unicode_char): Work around ansi2knr deficiency.

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 21:05:11 +0000 (21:05 +0000)]
*** empty log message ***

24 years agoIf the compile-test says
Jim Meyering [Sat, 24 Jun 2000 21:04:44 +0000 (21:04 +0000)]
If the compile-test says
strerror_r doesn't work, then resort to a `run'-test that works on
BeOS and segfaults on DEC Unix.

24 years agocheck for decl unconditionally
Jim Meyering [Sat, 24 Jun 2000 14:03:10 +0000 (14:03 +0000)]
check for decl unconditionally

24 years ago.
Jim Meyering [Sat, 24 Jun 2000 12:25:39 +0000 (12:25 +0000)]
.

24 years ago.
Jim Meyering [Sat, 24 Jun 2000 12:21:52 +0000 (12:21 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 12:05:18 +0000 (12:05 +0000)]
*** empty log message ***

24 years agoRevive this file -- to try out an experimental
Jim Meyering [Sat, 24 Jun 2000 12:05:08 +0000 (12:05 +0000)]
Revive this file -- to try out an experimental
version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
for which strerror does return char*, but which lacks a conveniently
accessible declaration of the function.

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 12:01:29 +0000 (12:01 +0000)]
*** empty log message ***

24 years ago[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
Jim Meyering [Sat, 24 Jun 2000 12:01:03 +0000 (12:01 +0000)]
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.

24 years agoLots of minor rewording and grammar correction.
Jim Meyering [Sat, 24 Jun 2000 11:53:51 +0000 (11:53 +0000)]
Lots of minor rewording and grammar correction.
From Brian Youmans.

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 11:52:38 +0000 (11:52 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:38:05 +0000 (07:38 +0000)]
*** empty log message ***

24 years agotweak copyright
Jim Meyering [Sat, 24 Jun 2000 07:37:55 +0000 (07:37 +0000)]
tweak copyright

24 years ago(sysv_sum_file): Avoid overflowing 32-bit accumulator
Jim Meyering [Sat, 24 Jun 2000 07:37:44 +0000 (07:37 +0000)]
(sysv_sum_file): Avoid overflowing 32-bit accumulator
on files larger than 256 MB.

24 years ago.
Jim Meyering [Sat, 24 Jun 2000 07:36:54 +0000 (07:36 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:36:14 +0000 (07:36 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:18:29 +0000 (07:18 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:13:07 +0000 (07:13 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:12:56 +0000 (07:12 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Fri, 23 Jun 2000 21:09:12 +0000 (21:09 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:06:45 +0000 (21:06 +0000)]
*** empty log message ***

24 years agoInclude <wctype.h> after <wchar.h>,
Jim Meyering [Fri, 23 Jun 2000 21:05:50 +0000 (21:05 +0000)]
Include <wctype.h> after <wchar.h>,
for Solaris 2.5.
(mbrtowc, mbstate_t): Define substitutes if
HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT.
(iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT,
not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).

24 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:03:06 +0000 (21:03 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:02:23 +0000 (21:02 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_QUOTEARG): Use AC_MBSTATE_T_OBJECT. Add check for iswprint.
Jim Meyering [Fri, 23 Jun 2000 21:02:15 +0000 (21:02 +0000)]
(jm_PREREQ_QUOTEARG): Use AC_MBSTATE_T_OBJECT.  Add check for iswprint.

24 years agoNew file, defining AC_MBSTATE_T_OBJECT.
Jim Meyering [Fri, 23 Jun 2000 21:00:53 +0000 (21:00 +0000)]
New file, defining AC_MBSTATE_T_OBJECT.

24 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 14:03:02 +0000 (14:03 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 13:50:42 +0000 (13:50 +0000)]
*** empty log message ***

24 years agoAdd missing AC_MSG_RESULT.
Jim Meyering [Fri, 23 Jun 2000 13:49:17 +0000 (13:49 +0000)]
Add missing AC_MSG_RESULT.
Reported by Bruno Haible.

24 years agos/AC_MSG_CHECKING/AC_CHECKING/.
Jim Meyering [Fri, 23 Jun 2000 13:43:41 +0000 (13:43 +0000)]
s/AC_MSG_CHECKING/AC_CHECKING/.
Suggestion from Bruno Haible.

24 years ago*** empty log message ***
Jim Meyering [Thu, 22 Jun 2000 17:10:56 +0000 (17:10 +0000)]
*** empty log message ***

24 years ago(main): Correct a comment.
Jim Meyering [Thu, 22 Jun 2000 17:10:51 +0000 (17:10 +0000)]
(main): Correct a comment.

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 20:23:21 +0000 (20:23 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Add getpass.
Jim Meyering [Wed, 21 Jun 2000 20:23:14 +0000 (20:23 +0000)]
(AC_REPLACE_FUNCS): Add getpass.

24 years agoansideclify
Jim Meyering [Wed, 21 Jun 2000 20:21:03 +0000 (20:21 +0000)]
ansideclify

24 years agoNew file, from Bruno Haible. Required for BeOS.
Jim Meyering [Wed, 21 Jun 2000 20:20:27 +0000 (20:20 +0000)]
New file, from Bruno Haible.  Required for BeOS.

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 20:16:10 +0000 (20:16 +0000)]
*** empty log message ***

24 years ago(xgetcwd): If the required pathname length is smaller
Jim Meyering [Wed, 21 Jun 2000 20:16:03 +0000 (20:16 +0000)]
(xgetcwd): If the required pathname length is smaller
than 1024, return a memory chunk of least possible size, instead
of size PATH_MAX + 2. In the loop, increment the size proportionally.
Use free/xmalloc instead of xrealloc to avoid copying for very long paths.

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 14:47:04 +0000 (14:47 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 13:00:54 +0000 (13:00 +0000)]
*** empty log message ***

24 years ago(canon_host): Use malloc and memcpy to copy an
Jim Meyering [Wed, 21 Jun 2000 13:00:49 +0000 (13:00 +0000)]
(canon_host): Use malloc and memcpy to copy an
address, not strdup.  Include <stdlib.h> and don't declare free().

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 12:56:40 +0000 (12:56 +0000)]
*** empty log message ***

24 years ago(path_concat): Don't access dir[-1] if dir is the empty string.
Jim Meyering [Wed, 21 Jun 2000 12:56:33 +0000 (12:56 +0000)]
(path_concat): Don't access dir[-1] if dir is the empty string.

24 years agoinclude getstr.h
Jim Meyering [Wed, 21 Jun 2000 09:56:42 +0000 (09:56 +0000)]
include getstr.h

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:21:52 +0000 (09:21 +0000)]
*** empty log message ***

24 years ago(libfetish_a_SOURCES): Add getstr.c.
Jim Meyering [Wed, 21 Jun 2000 09:21:22 +0000 (09:21 +0000)]
(libfetish_a_SOURCES): Add getstr.c.
(noinst_HEADERS): Add getstr.h.

24 years ago(getstr): Remove private (and out of date) version of this function.
Jim Meyering [Wed, 21 Jun 2000 09:20:40 +0000 (09:20 +0000)]
(getstr): Remove private (and out of date) version of this function.
(cut_fields): Adjust caller to use the just-extended one in ../lib.

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:20:23 +0000 (09:20 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:16:21 +0000 (09:16 +0000)]
*** empty log message ***

24 years ago(getstr): Move into a separate file.
Jim Meyering [Wed, 21 Jun 2000 09:12:30 +0000 (09:12 +0000)]
(getstr): Move into a separate file.

24 years agocopyright date
Jim Meyering [Wed, 21 Jun 2000 09:10:32 +0000 (09:10 +0000)]
copyright date

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:09:57 +0000 (09:09 +0000)]
*** empty log message ***

24 years agoNew file, extracted from getline.c, with the following
Jim Meyering [Wed, 21 Jun 2000 09:09:22 +0000 (09:09 +0000)]
New file, extracted from getline.c, with the following
changes: new parameter, delim2; both delim[12] parameters have type
`int', not `char'.  The latter would lose with 8-bit delimiters.

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:02:48 +0000 (09:02 +0000)]
*** empty log message ***

24 years agoNew test for that.
Jim Meyering [Wed, 21 Jun 2000 09:02:42 +0000 (09:02 +0000)]
New test for that.

24 years ago(valid_options): Don't segfault on `stty erase -'.
Jim Meyering [Wed, 21 Jun 2000 07:29:03 +0000 (07:29 +0000)]
(valid_options): Don't segfault on `stty erase -'.

24 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 07:28:13 +0000 (07:28 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jun 2000 06:55:04 +0000 (06:55 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jun 2000 06:46:41 +0000 (06:46 +0000)]
*** empty log message ***

24 years ago(main): Fix off-by-argc test, so +N-style options are recognized once again.
Jim Meyering [Tue, 20 Jun 2000 06:46:28 +0000 (06:46 +0000)]
(main): Fix off-by-argc test, so +N-style options are recognized once again.
Reported by Geoff Keunning.
Fix typo in diagnostic: s/compare/skip/.

24 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jun 2000 06:44:21 +0000 (06:44 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 09:50:25 +0000 (09:50 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Remove mkdir.
Jim Meyering [Mon, 19 Jun 2000 09:50:20 +0000 (09:50 +0000)]
(AC_REPLACE_FUNCS): Remove mkdir.

24 years ago.
Jim Meyering [Mon, 19 Jun 2000 09:48:46 +0000 (09:48 +0000)]
.

24 years ago[HAVE_NLIST_H] (NLIST_STRUCT): Define.
Jim Meyering [Mon, 19 Jun 2000 07:25:01 +0000 (07:25 +0000)]
[HAVE_NLIST_H] (NLIST_STRUCT): Define.

24 years agorevert last change
Jim Meyering [Mon, 19 Jun 2000 07:19:41 +0000 (07:19 +0000)]
revert last change

24 years ago*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 06:55:11 +0000 (06:55 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 19 Jun 2000 06:51:58 +0000 (06:51 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 18 Jun 2000 18:17:03 +0000 (18:17 +0000)]
*** empty log message ***

24 years agoInclude memory.h, string.h, and/or strings.h as needed.
Jim Meyering [Sun, 18 Jun 2000 18:16:54 +0000 (18:16 +0000)]
Include memory.h, string.h, and/or strings.h as needed.
(this snippet comes from src/system.h).

24 years ago*** empty log message ***
Jim Meyering [Sun, 18 Jun 2000 18:08:15 +0000 (18:08 +0000)]
*** empty log message ***

24 years ago(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
Jim Meyering [Sun, 18 Jun 2000 18:07:51 +0000 (18:07 +0000)]
(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
`checking whether...' message to be consistent with that of the
lstat test.

24 years ago.
Jim Meyering [Sun, 18 Jun 2000 17:47:39 +0000 (17:47 +0000)]
.

24 years agos/NLIST_STRUCT/HAVE_NLIST_H/. Remove big
Jim Meyering [Sun, 18 Jun 2000 06:17:54 +0000 (06:17 +0000)]
s/NLIST_STRUCT/HAVE_NLIST_H/.  Remove big
multi-platform `#ifndef NLIST_STRUCT' block.

24 years ago*** empty log message ***
Jim Meyering [Sat, 17 Jun 2000 19:24:59 +0000 (19:24 +0000)]
*** empty log message ***

24 years agoDon't fail (just exit 77) if strip doesn't work.
Jim Meyering [Sat, 17 Jun 2000 19:24:39 +0000 (19:24 +0000)]
Don't fail (just exit 77) if strip doesn't work.
Add canonical trap/mkdir/cd, plus exit portability cruft.

24 years ago.
Jim Meyering [Sat, 17 Jun 2000 18:47:21 +0000 (18:47 +0000)]
.