Jim Meyering [Mon, 22 Jul 2002 08:26:07 +0000 (08:26 +0000)]
.
Jim Meyering [Mon, 22 Jul 2002 08:25:13 +0000 (08:25 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Jul 2002 08:16:57 +0000 (08:16 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Jul 2002 08:16:46 +0000 (08:16 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Jul 2002 08:16:38 +0000 (08:16 +0000)]
Handle the case in which rm produces no output.
Jim Meyering [Mon, 22 Jul 2002 08:12:27 +0000 (08:12 +0000)]
This test might remove a file owned by the person running `make check'.
Hoist definition of $target_file, and use
that (not $f) in test for owner/dir/symlink. Patch by Michael Stone.
Jim Meyering [Mon, 22 Jul 2002 06:59:26 +0000 (06:59 +0000)]
rm would prompt for non-dangling symlinks
(prompt): When not interactive, don't prompt for a symlink.
Jim Meyering [Mon, 22 Jul 2002 06:55:17 +0000 (06:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 21:08:26 +0000 (21:08 +0000)]
Fix typo in last change: add missing $
Jim Meyering [Sat, 20 Jul 2002 20:06:49 +0000 (20:06 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 20:06:41 +0000 (20:06 +0000)]
(copy_internal): Use file_name_lookup, not getdport.
Patch by Alfred M. Szmidt.
Jim Meyering [Sat, 20 Jul 2002 15:48:25 +0000 (15:48 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 15:39:18 +0000 (15:39 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 15:29:25 +0000 (15:29 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 15:18:37 +0000 (15:18 +0000)]
(main): Add an explicit `exit (EXIT_SUCCESS);'
for --version, rather than falling through.
Jim Meyering [Sat, 20 Jul 2002 15:18:20 +0000 (15:18 +0000)]
(false.c): Convert only the final EXIT_SUCCESS
into EXIT_FAILURE. Otherwise, false --help and false --version
would fail.
Jim Meyering [Sat, 20 Jul 2002 14:24:34 +0000 (14:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 14:24:29 +0000 (14:24 +0000)]
(news-r1, news-r2): Define. Better regexp.
(announcement): Use them here. Also makes the line length < 80.
Jim Meyering [Sat, 20 Jul 2002 14:12:31 +0000 (14:12 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 14:10:21 +0000 (14:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 14:06:47 +0000 (14:06 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 14:06:33 +0000 (14:06 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 14:06:23 +0000 (14:06 +0000)]
New file. From gettex-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 11:17:27 +0000 (11:17 +0000)]
do not use tail -1; use tail -n 1 instead
Jim Meyering [Sat, 20 Jul 2002 11:16:45 +0000 (11:16 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 08:32:46 +0000 (08:32 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 08:28:24 +0000 (08:28 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 08:24:31 +0000 (08:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 07:12:58 +0000 (07:12 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 07:12:29 +0000 (07:12 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 07:12:13 +0000 (07:12 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 07:12:09 +0000 (07:12 +0000)]
Require autoconf-2.53b.
Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
in place of jm_-prefixed ones.
Jim Meyering [Sat, 20 Jul 2002 07:11:05 +0000 (07:11 +0000)]
Remove file, now that autoconf provides this macro.
Jim Meyering [Sat, 20 Jul 2002 07:07:48 +0000 (07:07 +0000)]
Adjust to work with new autoconf macros, AC_FUNC_MALLOC
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.
Jim Meyering [Sat, 20 Jul 2002 06:52:12 +0000 (06:52 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 06:41:26 +0000 (06:41 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:38:38 +0000 (06:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Jul 2002 06:38:33 +0000 (06:38 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:37:36 +0000 (06:37 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:36:49 +0000 (06:36 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:35:12 +0000 (06:35 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:34:16 +0000 (06:34 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:31:28 +0000 (06:31 +0000)]
.
Jim Meyering [Sat, 20 Jul 2002 06:31:12 +0000 (06:31 +0000)]
Upgrade to gettext-0.11.3.
Jim Meyering [Sat, 20 Jul 2002 06:22:02 +0000 (06:22 +0000)]
fix typo in comment
Jim Meyering [Sat, 20 Jul 2002 05:36:59 +0000 (05:36 +0000)]
skip directories, too.
Otherwise, we'd have to account for the additional `directory ' part
of a diagnostic like this:
fail-eperm: unexpected dignostic from `rm -f /tmp/.pcmcia';
got rm: cannot remove directory `/tmp/.pcmcia': Is a directory
expected rm: cannot remove `/tmp/.pcmcia': ...
Jim Meyering [Fri, 19 Jul 2002 22:01:43 +0000 (22:01 +0000)]
quotemeta
Jim Meyering [Fri, 19 Jul 2002 21:36:56 +0000 (21:36 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 21:36:46 +0000 (21:36 +0000)]
Add .wav.
Jim Meyering [Fri, 19 Jul 2002 21:35:56 +0000 (21:35 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 21:35:48 +0000 (21:35 +0000)]
Don't expect `ARGV_0=$0 exec ...' to work.
It doesn't work with /bin/sh of Solaris5.6.
Use an explicit `export ARGV_0' instead.
[comparing actual and expected output]: Don't match the entire line,
but rather just the `rm: cannot remove `$dir/$f':' part.
Jim Meyering [Fri, 19 Jul 2002 21:12:23 +0000 (21:12 +0000)]
Use input-tty rather than testing for /dev/stdin.
Jim Meyering [Fri, 19 Jul 2002 20:26:28 +0000 (20:26 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 20:25:46 +0000 (20:25 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 20:22:59 +0000 (20:22 +0000)]
tweak for better exit
Jim Meyering [Fri, 19 Jul 2002 19:42:31 +0000 (19:42 +0000)]
.
Jim Meyering [Thu, 18 Jul 2002 20:44:25 +0000 (20:44 +0000)]
update from master
Jim Meyering [Thu, 18 Jul 2002 18:38:28 +0000 (18:38 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 18:35:47 +0000 (18:35 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 18:35:42 +0000 (18:35 +0000)]
(main): Test sysctl(...) >= 0, not == 0, since
on NetBSD the return value may well be positive.
Use one-line aggregate initializations.
Use tightly scoped static buffers to avoid warnings about
unused variables on some systems.
Jim Meyering [Thu, 18 Jul 2002 18:28:53 +0000 (18:28 +0000)]
(UNAME_HARDWARE_PLATFORM, UNAME_PROCESSOR): New macros.
(main): Use them, along with sysctl, to support uname -i and uname -p
on BSD hosts.
Jim Meyering [Thu, 18 Jul 2002 15:29:53 +0000 (15:29 +0000)]
.
Jim Meyering [Thu, 18 Jul 2002 09:46:38 +0000 (09:46 +0000)]
(Makefile): Also depend on LINGUAS.
Jim Meyering [Thu, 18 Jul 2002 09:34:52 +0000 (09:34 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 09:33:48 +0000 (09:33 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 09:28:45 +0000 (09:28 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 09:28:41 +0000 (09:28 +0000)]
Add the following to the list of colorizable
TERM names: dtterm xterm-color Eterm.
New archive suffix: .jar
New image suffixes: .jpeg .pbm .pgm .tiff .mpeg .xcf .xwd
Audio suffixes: .ogg .mp3
Jim Meyering [Wed, 17 Jul 2002 15:35:22 +0000 (15:35 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Jul 2002 10:59:54 +0000 (10:59 +0000)]
(print_uptime): Restore use of (equivalent, but
more readable) `>=' from Bruno's patch.
Jim Meyering [Wed, 17 Jul 2002 10:50:19 +0000 (10:50 +0000)]
.
Jim Meyering [Wed, 17 Jul 2002 10:49:46 +0000 (10:49 +0000)]
Use GNULIB_BOOT_TIME.
Jim Meyering [Wed, 17 Jul 2002 10:47:46 +0000 (10:47 +0000)]
New file. Extracted from sh-utils' configure.ac
and extended to work also with *BSD systems.
Jim Meyering [Tue, 16 Jul 2002 09:49:43 +0000 (09:49 +0000)]
*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 09:42:43 +0000 (09:42 +0000)]
*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 09:37:41 +0000 (09:37 +0000)]
use $(PERL), not @PERL@
Jim Meyering [Tue, 16 Jul 2002 09:29:56 +0000 (09:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 09:29:52 +0000 (09:29 +0000)]
(print_it): Use memcpy and a little pointer arithmetic, rather than stpncpy.
Jim Meyering [Tue, 16 Jul 2002 06:53:00 +0000 (06:53 +0000)]
.
Jim Meyering [Tue, 16 Jul 2002 06:51:20 +0000 (06:51 +0000)]
*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 06:49:50 +0000 (06:49 +0000)]
help font-lock-mode
Jim Meyering [Tue, 16 Jul 2002 06:46:19 +0000 (06:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 21:08:48 +0000 (21:08 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 21:08:21 +0000 (21:08 +0000)]
Include sys/sysctl.h.
(print_uptime): Add support for determining the boot time on FreeBSD.
Jim Meyering [Mon, 15 Jul 2002 21:07:30 +0000 (21:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 21:06:21 +0000 (21:06 +0000)]
(jm_MACROS): Check for the sysctl function.
(jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
Jim Meyering [Mon, 15 Jul 2002 20:43:48 +0000 (20:43 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 20:42:43 +0000 (20:42 +0000)]
(print_uptime): Use STREQ in place of !strcmp.
Jim Meyering [Mon, 15 Jul 2002 13:15:07 +0000 (13:15 +0000)]
Remove unnecessary uses of `defined' when
operating on `HAVE_...' symbols. Remove unnecessary parentheses.
Jim Meyering [Mon, 15 Jul 2002 13:00:46 +0000 (13:00 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 13:00:40 +0000 (13:00 +0000)]
#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.
Jim Meyering [Mon, 15 Jul 2002 12:59:47 +0000 (12:59 +0000)]
Include <string.h>.
Jim Meyering [Sun, 14 Jul 2002 12:39:24 +0000 (12:39 +0000)]
*** empty log message ***
Jim Meyering [Sun, 14 Jul 2002 11:46:50 +0000 (11:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 14 Jul 2002 11:46:41 +0000 (11:46 +0000)]
Under some circumstances, rm would fail due to a lack of
permissions, but give a misleading diagnostic like this:
rm: cannot chdir from `.' to `foo': Not a directory
(remove_dir): Detect the case in which unlinking a
non-directory fails with EPERM, and give an appropriate diagnostic.
Jim Meyering [Sat, 13 Jul 2002 09:24:13 +0000 (09:24 +0000)]
(TESTS): Add fail-eperm.
Jim Meyering [Sat, 13 Jul 2002 08:05:04 +0000 (08:05 +0000)]
(print_it): Use xstrdup, not strdup.
Use strspn to avoid an explicit loop.
Use fputc rather than printf "\n".
Include quote.h.
(print_stat): Use xreadlink, rather than using readlink directly.
Use the quote function rather than hard-coded double quotes.
Use error, not perror.
Jim Meyering [Wed, 10 Jul 2002 10:25:31 +0000 (10:25 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Jul 2002 10:22:10 +0000 (10:22 +0000)]
(show_dev): Make the `Use%' column align with
its heading, even when -P is used with -h or -H.
Jim Meyering [Wed, 10 Jul 2002 10:09:10 +0000 (10:09 +0000)]
update copyright
Jim Meyering [Wed, 10 Jul 2002 10:08:33 +0000 (10:08 +0000)]
*** empty log message ***