Jim Meyering [Sat, 1 Jul 2000 13:58:19 +0000 (13:58 +0000)]
.
Jim Meyering [Sat, 1 Jul 2000 13:43:51 +0000 (13:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 13:43:46 +0000 (13:43 +0000)]
Remove a `FIXME' comment and fix the associated problem.
Jim Meyering [Sat, 1 Jul 2000 13:35:52 +0000 (13:35 +0000)]
.
Jim Meyering [Sat, 1 Jul 2000 13:35:33 +0000 (13:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 13:35:28 +0000 (13:35 +0000)]
Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV,
per change in ../m4/ls-mntd-fs.m4.
(read_filesystem_list): Ignore symbolic links.
Jim Meyering [Sat, 1 Jul 2000 13:31:20 +0000 (13:31 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
Jim Meyering [Sat, 1 Jul 2000 11:01:18 +0000 (11:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 11:01:14 +0000 (11:01 +0000)]
(TESTS_ENVIRONMENT): Define host_triplet for use in the dangling-symlink test.
Jim Meyering [Sat, 1 Jul 2000 11:00:10 +0000 (11:00 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 10:59:56 +0000 (10:59 +0000)]
Warn about the problem, rather
than failing on some very recent (at least 2.3.99) versions of
the Linux kernel. Suggestion from Ulrich Drepper.
Jim Meyering [Sat, 1 Jul 2000 09:09:37 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 09:05:13 +0000 (09:05 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jul 2000 09:04:56 +0000 (09:04 +0000)]
Put double quotes around use of $cross_compiling.
Jim Meyering [Sat, 1 Jul 2000 07:13:53 +0000 (07:13 +0000)]
.
Jim Meyering [Fri, 30 Jun 2000 13:25:12 +0000 (13:25 +0000)]
*** empty log message ***
Jim Meyering [Fri, 30 Jun 2000 13:25:04 +0000 (13:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 11:30:16 +0000 (11:30 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 11:29:55 +0000 (11:29 +0000)]
Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
Jim Meyering [Thu, 29 Jun 2000 11:24:14 +0000 (11:24 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 11:24:09 +0000 (11:24 +0000)]
Include <stdlib.h>, for declaration of exit.
Jim Meyering [Thu, 29 Jun 2000 11:16:29 +0000 (11:16 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 11:15:52 +0000 (11:15 +0000)]
(find_bracketed_repeat): Add a cast to suppress a warning.
Jim Meyering [Thu, 29 Jun 2000 10:39:57 +0000 (10:39 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 10:39:41 +0000 (10:39 +0000)]
(enum): Remove comma from end of enumerator list.
From Gerhard Poul <gpoul@gnu.org
Jim Meyering [Thu, 29 Jun 2000 10:39:00 +0000 (10:39 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 08:37:00 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Thu, 29 Jun 2000 08:30:03 +0000 (08:30 +0000)]
(fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:
Avoid warning by casting result to `char *' to remove `const'.
Jim Meyering [Wed, 28 Jun 2000 20:30:59 +0000 (20:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 28 Jun 2000 20:29:27 +0000 (20:29 +0000)]
Use stdlib.h, not stdio.h. The latter is not included
by quotearg.c, for which we perform this test. From Bruno Haible.
Jim Meyering [Wed, 28 Jun 2000 14:06:34 +0000 (14:06 +0000)]
*** empty log message ***
Jim Meyering [Wed, 28 Jun 2000 14:06:30 +0000 (14:06 +0000)]
Don't copy `out' into /tmp.
Jim Meyering [Tue, 27 Jun 2000 13:23:13 +0000 (13:23 +0000)]
.
Jim Meyering [Tue, 27 Jun 2000 13:13:13 +0000 (13:13 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 13:12:12 +0000 (13:12 +0000)]
(count_entry): Don't set errno before
invoking savedir, and assume that errno is nonzero if savedir fails.
Jim Meyering [Tue, 27 Jun 2000 13:11:36 +0000 (13:11 +0000)]
(copy_dir): Don't set errno before
invoking savedir, and assume that errno is nonzero if savedir fails.
Jim Meyering [Tue, 27 Jun 2000 13:11:00 +0000 (13:11 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 13:10:50 +0000 (13:10 +0000)]
(change_dir_mode): Don't set errno before
invoking savedir, and assume that errno is nonzero if savedir fails.
Jim Meyering [Tue, 27 Jun 2000 13:10:24 +0000 (13:10 +0000)]
(change_dir_owner): Don't set errno before
invoking savedir, and assume that errno is nonzero if savedir fails.
Jim Meyering [Tue, 27 Jun 2000 13:09:57 +0000 (13:09 +0000)]
(change_dir_group): Don't set errno before
invoking savedir, and assume that errno is nonzero if savedir fails.
Jim Meyering [Tue, 27 Jun 2000 11:21:03 +0000 (11:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 10:10:13 +0000 (10:10 +0000)]
.
Jim Meyering [Tue, 27 Jun 2000 10:09:54 +0000 (10:09 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 10:09:49 +0000 (10:09 +0000)]
(libfetish_a_SOURCES): Remove readutmp.c.
Jim Meyering [Tue, 27 Jun 2000 10:08:15 +0000 (10:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 10:08:09 +0000 (10:08 +0000)]
(jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
<utmpx.h> exists, put readutmp.o into LIBOBJS.
Jim Meyering [Tue, 27 Jun 2000 10:01:30 +0000 (10:01 +0000)]
(_jm_DECL_HEADERS): Check for utmp.h as well.
Jim Meyering [Tue, 27 Jun 2000 07:08:52 +0000 (07:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 07:08:48 +0000 (07:08 +0000)]
savedir now sets errno on failure and invokes xmalloc to get memory.
Fix a couple of other minor bugs while we're at it.
(<unistd.h>): Do not include; there's no need.
(NAMLEN): Remove macro.
(malloc, realloc): Remove decls.
(stpcpy): Likewise.
("xalloc.h"): Include.
(NAME_SIZE_DEFAULT): New macro.
(savedir): Use xmalloc / xrealloc to allocate memory.
Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero.
Skip "" directory entries.
Use strlen to calculate directory entry length, since the old method
is rarely used these days and isn't worth supporting.
Don't use a pointer after freeing it.
Check for integer overflow when calculating allocation size.
Use memcpy to copy entries, instead of stpcpy.
Set errno properly when returning NULL.
Check for readdir error.
Jim Meyering [Tue, 27 Jun 2000 06:33:35 +0000 (06:33 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Jun 2000 06:33:31 +0000 (06:33 +0000)]
(show_dev): Round disk usage percentage up, not to nearest value.
Use integer arithmetic if it's easy.
Fix bug when converting twos-complement negative values to floating point.
Jim Meyering [Mon, 26 Jun 2000 13:48:40 +0000 (13:48 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 13:30:59 +0000 (13:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 10:55:57 +0000 (10:55 +0000)]
*** empty log message ***
Jim Meyering [Mon, 26 Jun 2000 10:55:18 +0000 (10:55 +0000)]
[HAVE_STDLIB_H]: Include stdlib.h.
Jim Meyering [Mon, 26 Jun 2000 06:33:22 +0000 (06:33 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 25 Jun 2000 21:19:41 +0000 (21:19 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 25 Jun 2000 21:03:05 +0000 (21:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 20:20:28 +0000 (20:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 20:20:23 +0000 (20:20 +0000)]
(TESTS): Add fail-perm.
Jim Meyering [Sun, 25 Jun 2000 20:19:52 +0000 (20:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 20:15:22 +0000 (20:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:58:47 +0000 (15:58 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 25 Jun 2000 15:50:38 +0000 (15:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:50:29 +0000 (15:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 15:49:21 +0000 (15:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 14:15:22 +0000 (14:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 08:49:02 +0000 (08:49 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 25 Jun 2000 06:54:36 +0000 (06:54 +0000)]
*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 06:54:32 +0000 (06:54 +0000)]
(print_unicode_char): Work around ansi2knr deficiency.
Jim Meyering [Sat, 24 Jun 2000 21:05:11 +0000 (21:05 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 24 Jun 2000 14:03:10 +0000 (14:03 +0000)]
check for decl unconditionally
Jim Meyering [Sat, 24 Jun 2000 12:25:39 +0000 (12:25 +0000)]
.
Jim Meyering [Sat, 24 Jun 2000 12:21:52 +0000 (12:21 +0000)]
.
Jim Meyering [Sat, 24 Jun 2000 12:05:18 +0000 (12:05 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 24 Jun 2000 12:01:29 +0000 (12:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 12:01:03 +0000 (12:01 +0000)]
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
Jim Meyering [Sat, 24 Jun 2000 11:53:51 +0000 (11:53 +0000)]
Lots of minor rewording and grammar correction.
From Brian Youmans.
Jim Meyering [Sat, 24 Jun 2000 11:52:38 +0000 (11:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:38:05 +0000 (07:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:37:55 +0000 (07:37 +0000)]
tweak copyright
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.
Jim Meyering [Sat, 24 Jun 2000 07:36:54 +0000 (07:36 +0000)]
.
Jim Meyering [Sat, 24 Jun 2000 07:36:14 +0000 (07:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:18:29 +0000 (07:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:13:07 +0000 (07:13 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:12:56 +0000 (07:12 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:09:12 +0000 (21:09 +0000)]
.
Jim Meyering [Fri, 23 Jun 2000 21:06:45 +0000 (21:06 +0000)]
*** empty log message ***
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).
Jim Meyering [Fri, 23 Jun 2000 21:03:06 +0000 (21:03 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:02:23 +0000 (21:02 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 23 Jun 2000 21:00:53 +0000 (21:00 +0000)]
New file, defining AC_MBSTATE_T_OBJECT.