platform/upstream/coreutils.git
22 years agoAdd .wav.
Jim Meyering [Fri, 19 Jul 2002 21:36:46 +0000 (21:36 +0000)]
Add .wav.

22 years ago*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 21:35:56 +0000 (21:35 +0000)]
*** empty log message ***

22 years agoDon't expect `ARGV_0=$0 exec ...' to work.
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.

22 years agoUse input-tty rather than testing for /dev/stdin.
Jim Meyering [Fri, 19 Jul 2002 21:12:23 +0000 (21:12 +0000)]
Use input-tty rather than testing for /dev/stdin.

22 years ago*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 20:26:28 +0000 (20:26 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 19 Jul 2002 20:25:46 +0000 (20:25 +0000)]
*** empty log message ***

22 years agotweak for better exit
Jim Meyering [Fri, 19 Jul 2002 20:22:59 +0000 (20:22 +0000)]
tweak for better exit

22 years ago.
Jim Meyering [Fri, 19 Jul 2002 19:42:31 +0000 (19:42 +0000)]
.

22 years agoupdate from master
Jim Meyering [Thu, 18 Jul 2002 20:44:25 +0000 (20:44 +0000)]
update from master

22 years ago*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 18:38:28 +0000 (18:38 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 18:35:47 +0000 (18:35 +0000)]
*** empty log message ***

22 years ago(main): Test sysctl(...) >= 0, not == 0, since
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.

22 years ago(UNAME_HARDWARE_PLATFORM, UNAME_PROCESSOR): New macros.
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.

22 years ago.
Jim Meyering [Thu, 18 Jul 2002 15:29:53 +0000 (15:29 +0000)]
.

22 years ago(Makefile): Also depend on LINGUAS.
Jim Meyering [Thu, 18 Jul 2002 09:46:38 +0000 (09:46 +0000)]
(Makefile): Also depend on LINGUAS.

22 years ago*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 09:34:52 +0000 (09:34 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 09:33:48 +0000 (09:33 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 18 Jul 2002 09:28:45 +0000 (09:28 +0000)]
*** empty log message ***

22 years agoAdd the following to the list of colorizable
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

22 years ago*** empty log message ***
Jim Meyering [Wed, 17 Jul 2002 15:35:22 +0000 (15:35 +0000)]
*** empty log message ***

22 years ago(print_uptime): Restore use of (equivalent, but
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.

22 years ago.
Jim Meyering [Wed, 17 Jul 2002 10:50:19 +0000 (10:50 +0000)]
.

22 years agoUse GNULIB_BOOT_TIME.
Jim Meyering [Wed, 17 Jul 2002 10:49:46 +0000 (10:49 +0000)]
Use GNULIB_BOOT_TIME.

22 years agoNew file. Extracted from sh-utils' configure.ac
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.

22 years ago*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 09:49:43 +0000 (09:49 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 09:42:43 +0000 (09:42 +0000)]
*** empty log message ***

22 years agouse $(PERL), not @PERL@
Jim Meyering [Tue, 16 Jul 2002 09:37:41 +0000 (09:37 +0000)]
use $(PERL), not @PERL@

22 years ago*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 09:29:56 +0000 (09:29 +0000)]
*** empty log message ***

22 years ago(print_it): Use memcpy and a little pointer arithmetic, rather than stpncpy.
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.

22 years ago.
Jim Meyering [Tue, 16 Jul 2002 06:53:00 +0000 (06:53 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 06:51:20 +0000 (06:51 +0000)]
*** empty log message ***

22 years agohelp font-lock-mode
Jim Meyering [Tue, 16 Jul 2002 06:49:50 +0000 (06:49 +0000)]
help font-lock-mode

22 years ago*** empty log message ***
Jim Meyering [Tue, 16 Jul 2002 06:46:19 +0000 (06:46 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 21:08:48 +0000 (21:08 +0000)]
*** empty log message ***

22 years agoInclude sys/sysctl.h.
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 21:07:30 +0000 (21:07 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Check for the sysctl function.
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 20:43:48 +0000 (20:43 +0000)]
*** empty log message ***

22 years ago(print_uptime): Use STREQ in place of !strcmp.
Jim Meyering [Mon, 15 Jul 2002 20:42:43 +0000 (20:42 +0000)]
(print_uptime): Use STREQ in place of !strcmp.

22 years agoRemove unnecessary uses of `defined' when
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 15 Jul 2002 13:00:46 +0000 (13:00 +0000)]
*** empty log message ***

22 years ago#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.
Jim Meyering [Mon, 15 Jul 2002 13:00:40 +0000 (13:00 +0000)]
#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.

22 years agoInclude <string.h>.
Jim Meyering [Mon, 15 Jul 2002 12:59:47 +0000 (12:59 +0000)]
Include <string.h>.

22 years ago*** empty log message ***
Jim Meyering [Sun, 14 Jul 2002 12:39:24 +0000 (12:39 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 14 Jul 2002 11:46:50 +0000 (11:46 +0000)]
*** empty log message ***

22 years agoUnder some circumstances, rm would fail due to a lack of
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.

22 years ago(TESTS): Add fail-eperm.
Jim Meyering [Sat, 13 Jul 2002 09:24:13 +0000 (09:24 +0000)]
(TESTS): Add fail-eperm.

22 years ago(print_it): Use xstrdup, not strdup.
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.

22 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jul 2002 10:25:31 +0000 (10:25 +0000)]
*** empty log message ***

22 years ago(show_dev): Make the `Use%' column align with
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.

22 years agoupdate copyright
Jim Meyering [Wed, 10 Jul 2002 10:09:10 +0000 (10:09 +0000)]
update copyright

22 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jul 2002 10:08:33 +0000 (10:08 +0000)]
*** empty log message ***

22 years ago(du invocation): s/PAT/PATTERN/.
Jim Meyering [Wed, 10 Jul 2002 10:08:22 +0000 (10:08 +0000)]
(du invocation): s/PAT/PATTERN/.

22 years agoAdd a brief description of --exclude.
Jim Meyering [Wed, 10 Jul 2002 10:06:39 +0000 (10:06 +0000)]
Add a brief description of --exclude.

22 years ago(usage) [--exclude]: Use PATTERN rather than PAT.
Jim Meyering [Wed, 10 Jul 2002 10:05:32 +0000 (10:05 +0000)]
(usage) [--exclude]: Use PATTERN rather than PAT.

22 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jul 2002 10:05:13 +0000 (10:05 +0000)]
*** empty log message ***

22 years agoupdate from master
Jim Meyering [Tue, 9 Jul 2002 15:41:05 +0000 (15:41 +0000)]
update from master

22 years ago*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 08:40:23 +0000 (08:40 +0000)]
*** empty log message ***

22 years ago(ME_DUMMY): Don't count entries of type `auto' as dummy ones.
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.

22 years ago(check-x-vs-1): cd to srcdir before running the ls.
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.

22 years ago.
Jim Meyering [Tue, 9 Jul 2002 07:31:29 +0000 (07:31 +0000)]
.

22 years agoalphabetize the lists of programs
Jim Meyering [Tue, 9 Jul 2002 07:30:44 +0000 (07:30 +0000)]
alphabetize the lists of programs

22 years agoadd cat.1, once again
Jim Meyering [Tue, 9 Jul 2002 07:27:27 +0000 (07:27 +0000)]
add cat.1, once again

22 years ago*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 07:26:49 +0000 (07:26 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 9 Jul 2002 07:26:38 +0000 (07:26 +0000)]
*** empty log message ***

22 years ago(check-x-vs-1): New target.
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.

22 years ago(dist_man_MANS): Add stat.
Jim Meyering [Tue, 9 Jul 2002 06:55:05 +0000 (06:55 +0000)]
(dist_man_MANS): Add stat.
(stat.1): Add dependency.

22 years ago(euidaccess): Remove declaration. It was unused. From Michael Stone.
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 17:15:28 +0000 (17:15 +0000)]
*** empty log message ***

22 years agodf now rounds all quantities up, as per POSIX.
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.

22 years agodf now rounds all quantities up, as per POSIX.
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.

22 years agos/sh-utils/this package/
Jim Meyering [Mon, 8 Jul 2002 12:29:34 +0000 (12:29 +0000)]
s/sh-utils/this package/

22 years ago(uninstall-local): Search for @GNU_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'.

22 years ago*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 09:13:33 +0000 (09:13 +0000)]
*** empty log message ***

22 years agoNew ls time style: long-iso, which generates YYYY-MM-DD HH:MM.
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.

22 years ago(enum time_style): Remove posix_iso_time_style.
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.

22 years agocheck only for $@"
Jim Meyering [Mon, 8 Jul 2002 08:04:08 +0000 (08:04 +0000)]
check only for $@"

22 years ago*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 08:01:23 +0000 (08:01 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 8 Jul 2002 07:09:21 +0000 (07:09 +0000)]
*** empty log message ***

22 years ago(check-texinfo): Check for the above.
Jim Meyering [Mon, 8 Jul 2002 07:08:59 +0000 (07:08 +0000)]
(check-texinfo): Check for the above.

22 years ago(cp invocation): Remove unnecessary "$@" in example;
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.

22 years ago.
Jim Meyering [Sat, 6 Jul 2002 15:37:12 +0000 (15:37 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 6 Jul 2002 15:36:23 +0000 (15:36 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 6 Jul 2002 15:35:29 +0000 (15:35 +0000)]
*** empty log message ***

22 years ago(stat invocation): Remove description of --secure.
Jim Meyering [Sat, 6 Jul 2002 15:35:24 +0000 (15:35 +0000)]
(stat invocation): Remove description of --secure.

22 years agoRemove everything associated with --secure option.
Jim Meyering [Sat, 6 Jul 2002 15:34:32 +0000 (15:34 +0000)]
Remove everything associated with --secure option.

22 years agocomments
Jim Meyering [Sat, 6 Jul 2002 09:53:57 +0000 (09:53 +0000)]
comments

22 years agoimprove the test
Jim Meyering [Sat, 6 Jul 2002 09:53:14 +0000 (09:53 +0000)]
improve the test

22 years ago*** empty log message ***
Jim Meyering [Sat, 6 Jul 2002 09:16:56 +0000 (09:16 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:07:29 +0000 (12:07 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:07:23 +0000 (12:07 +0000)]
*** empty log message ***

22 years ago(prompt): Fix test for write-protectedness to also
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.

22 years ago*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:06:18 +0000 (12:06 +0000)]
*** empty log message ***

22 years ago(TESTS): Add dangling-symlink.
Jim Meyering [Thu, 4 Jul 2002 12:06:08 +0000 (12:06 +0000)]
(TESTS): Add dangling-symlink.

22 years ago*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:05:00 +0000 (12:05 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 4 Jul 2002 12:04:37 +0000 (12:04 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:45:18 +0000 (08:45 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:44:59 +0000 (08:44 +0000)]
*** empty log message ***

22 years ago(usage): Rename --link/-l to --dereference/-L.
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.

22 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jul 2002 08:44:34 +0000 (08:44 +0000)]
*** empty log message ***