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 ***
Jim Meyering [Wed, 10 Jul 2002 10:08:22 +0000 (10:08 +0000)]
(du invocation): s/PAT/PATTERN/.
Jim Meyering [Wed, 10 Jul 2002 10:06:39 +0000 (10:06 +0000)]
Add a brief description of --exclude.
Jim Meyering [Wed, 10 Jul 2002 10:05:32 +0000 (10:05 +0000)]
(usage) [--exclude]: Use PATTERN rather than PAT.
Jim Meyering [Wed, 10 Jul 2002 10:05:13 +0000 (10:05 +0000)]
*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 15:41:05 +0000 (15:41 +0000)]
update from master
Jim Meyering [Tue, 9 Jul 2002 08:40:23 +0000 (08:40 +0000)]
*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 08:40:15 +0000 (08:40 +0000)]
(ME_DUMMY): Don't count entries of type `auto' as dummy ones.
At least on GNU/Linux systems, `auto' means something else.
From Michael Stone.
Jim Meyering [Tue, 9 Jul 2002 07:48:30 +0000 (07:48 +0000)]
(check-x-vs-1): cd to srcdir before running the ls.
Otherwise, it'd fail in the non-srcdir case.
Jim Meyering [Tue, 9 Jul 2002 07:31:29 +0000 (07:31 +0000)]
.
Jim Meyering [Tue, 9 Jul 2002 07:30:44 +0000 (07:30 +0000)]
alphabetize the lists of programs
Jim Meyering [Tue, 9 Jul 2002 07:27:27 +0000 (07:27 +0000)]
add cat.1, once again
Jim Meyering [Tue, 9 Jul 2002 07:26:49 +0000 (07:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 07:26:38 +0000 (07:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 07:25:40 +0000 (07:25 +0000)]
(check-x-vs-1): New target.
(check-local): Depend on check-x-vs-1.
Jim Meyering [Tue, 9 Jul 2002 06:55:05 +0000 (06:55 +0000)]
(dist_man_MANS): Add stat.
(stat.1): Add dependency.
Jim Meyering [Tue, 9 Jul 2002 06:38:19 +0000 (06:38 +0000)]
(euidaccess): Remove declaration. It was unused. From Michael Stone.
(yesno): Remove declaration. It too was unused.
Jim Meyering [Mon, 8 Jul 2002 17:15:28 +0000 (17:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 17:15:19 +0000 (17:15 +0000)]
df now rounds all quantities up, as per POSIX.
This fixes a bug where df would report Size < Used.
Jim Meyering [Mon, 8 Jul 2002 17:03:36 +0000 (17:03 +0000)]
df now rounds all quantities up, as per POSIX.
This fixes a bug where df would report Size < Used.
(df_readable): Omit last arg; we always round up now.
All callers changed.
Jim Meyering [Mon, 8 Jul 2002 12:29:34 +0000 (12:29 +0000)]
s/sh-utils/this package/
Jim Meyering [Mon, 8 Jul 2002 12:26:59 +0000 (12:26 +0000)]
(uninstall-local): Search for @GNU_PACKAGE@,
rather than the hard-coded `sh-utils'.
Jim Meyering [Mon, 8 Jul 2002 09:13:33 +0000 (09:13 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 09:13:12 +0000 (09:13 +0000)]
New ls time style: long-iso, which generates YYYY-MM-DD HH:MM.
Any time style can be preceded by "posix-".
The default time style is now posix-long-iso instead of posix-iso.
Jim Meyering [Mon, 8 Jul 2002 09:12:48 +0000 (09:12 +0000)]
(enum time_style): Remove posix_iso_time_style.
Add long_iso_time_style.
(time_style_args, time_style_types, decode_switches): Likewise.
(decode_switches): If a time style is prefixed by "posix-", ignore
it if in the POSIX locale. Default style is now posix-long-iso.
(usage): Explain the above.
Jim Meyering [Mon, 8 Jul 2002 08:04:08 +0000 (08:04 +0000)]
check only for $@"
Jim Meyering [Mon, 8 Jul 2002 08:01:23 +0000 (08:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 07:09:21 +0000 (07:09 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 07:08:59 +0000 (07:08 +0000)]
(check-texinfo): Check for the above.
Jim Meyering [Mon, 8 Jul 2002 07:07:52 +0000 (07:07 +0000)]
(cp invocation): Remove unnecessary "$@" in example;
Texinfo would render the @" as an umlaut over the following character.
From Paul Eggert.
Jim Meyering [Sat, 6 Jul 2002 15:37:12 +0000 (15:37 +0000)]
.
Jim Meyering [Sat, 6 Jul 2002 15:36:23 +0000 (15:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Jul 2002 15:35:29 +0000 (15:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Jul 2002 15:35:24 +0000 (15:35 +0000)]
(stat invocation): Remove description of --secure.
Jim Meyering [Sat, 6 Jul 2002 15:34:32 +0000 (15:34 +0000)]
Remove everything associated with --secure option.
Jim Meyering [Sat, 6 Jul 2002 09:53:57 +0000 (09:53 +0000)]
comments
Jim Meyering [Sat, 6 Jul 2002 09:53:14 +0000 (09:53 +0000)]
improve the test
Jim Meyering [Sat, 6 Jul 2002 09:16:56 +0000 (09:16 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:07:29 +0000 (12:07 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:07:23 +0000 (12:07 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:06:49 +0000 (12:06 +0000)]
(prompt): Fix test for write-protectedness to also
check errno == EACCES. Otherwise, `rm dangling-symlink' would
mistakenly prompt.
Jim Meyering [Thu, 4 Jul 2002 12:06:18 +0000 (12:06 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:06:08 +0000 (12:06 +0000)]
(TESTS): Add dangling-symlink.
Jim Meyering [Thu, 4 Jul 2002 12:05:00 +0000 (12:05 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:04:37 +0000 (12:04 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:45:18 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:44:59 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:44:55 +0000 (08:44 +0000)]
(usage): Rename --link/-l to --dereference/-L.
Describe --secure.
Describe --format.
(main): Support -L. Deprecate -l.
Jim Meyering [Wed, 3 Jul 2002 08:44:34 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:44:27 +0000 (08:44 +0000)]
(stat invocation): Rename --link/-l to --dereference/-L.
Rewrite description of --dereference.
Jim Meyering [Wed, 3 Jul 2002 08:41:56 +0000 (08:41 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Jul 2002 16:20:54 +0000 (16:20 +0000)]
add link and unlink
Jim Meyering [Tue, 2 Jul 2002 16:20:10 +0000 (16:20 +0000)]
.
Jim Meyering [Tue, 2 Jul 2002 16:19:46 +0000 (16:19 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Jul 2002 14:56:32 +0000 (14:56 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Jul 2002 14:06:37 +0000 (14:06 +0000)]
remove djgpp
Jim Meyering [Tue, 2 Jul 2002 14:05:35 +0000 (14:05 +0000)]
.
Jim Meyering [Tue, 2 Jul 2002 09:15:50 +0000 (09:15 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Jul 2002 09:13:10 +0000 (09:13 +0000)]
.
Jim Meyering [Tue, 2 Jul 2002 09:12:42 +0000 (09:12 +0000)]
*** empty log message ***