Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering eba70ec3a5 *** empty log message *** 2002-07-15 21:07:30 +00:00
Jim Meyering 9d348b20ef (jm_MACROS): Check for the sysctl function.
(jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
2002-07-15 21:06:21 +00:00
Jim Meyering 34e8e6db03 *** empty log message *** 2002-07-15 20:43:48 +00:00
Jim Meyering b918fce9a6 (print_uptime): Use STREQ in place of !strcmp. 2002-07-15 20:42:43 +00:00
Jim Meyering 02bdcf7646 Remove unnecessary uses of `defined' when
operating on `HAVE_...' symbols.  Remove unnecessary parentheses.
2002-07-15 13:15:07 +00:00
Jim Meyering cdcc745b6b *** empty log message *** 2002-07-15 13:00:46 +00:00
Jim Meyering 33b79abe90 #undef MNT_IGNORE before defining it, to avoid warning on FreeBSD. 2002-07-15 13:00:40 +00:00
Jim Meyering bac77ea3d9 Include <string.h>. 2002-07-15 12:59:47 +00:00
Jim Meyering b65a2d1877 *** empty log message *** 2002-07-14 12:39:24 +00:00
Jim Meyering 6e5c26da04 *** empty log message *** 2002-07-14 11:46:50 +00:00
Jim Meyering ab4c1d5532 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.
2002-07-14 11:46:41 +00:00
Jim Meyering 7678915a9e (TESTS): Add fail-eperm. 2002-07-13 09:24:13 +00:00
Jim Meyering e5ee2e3aee (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.
2002-07-13 08:05:04 +00:00
Jim Meyering 902453fc35 *** empty log message *** 2002-07-10 10:25:31 +00:00
Jim Meyering 545b6d7541 (show_dev): Make the `Use%' column align with
its heading, even when -P is used with -h or -H.
2002-07-10 10:22:10 +00:00
Jim Meyering 0fe8dc3290 update copyright 2002-07-10 10:09:10 +00:00
Jim Meyering 44ce3e4b3c *** empty log message *** 2002-07-10 10:08:33 +00:00
Jim Meyering 2aeeb5466e (du invocation): s/PAT/PATTERN/. 2002-07-10 10:08:22 +00:00
Jim Meyering eb8c474088 Add a brief description of --exclude. 2002-07-10 10:06:39 +00:00
Jim Meyering 290867cc4a (usage) [--exclude]: Use PATTERN rather than PAT. 2002-07-10 10:05:32 +00:00
Jim Meyering 4e2a62ff5e *** empty log message *** 2002-07-10 10:05:13 +00:00
Jim Meyering a1e22df67a update from master 2002-07-09 15:41:05 +00:00
Jim Meyering 703f6c0969 *** empty log message *** 2002-07-09 08:40:23 +00:00
Jim Meyering 00489c764a (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.
2002-07-09 08:40:15 +00:00
Jim Meyering 6b33fa2fc6 (check-x-vs-1): cd to srcdir before running the ls.
Otherwise, it'd fail in the non-srcdir case.
2002-07-09 07:48:30 +00:00
Jim Meyering 01fb2d0ba8 . 2002-07-09 07:31:29 +00:00
Jim Meyering d072c179a7 alphabetize the lists of programs 2002-07-09 07:30:44 +00:00
Jim Meyering c77361418f add cat.1, once again 2002-07-09 07:27:27 +00:00
Jim Meyering ca407c08fa *** empty log message *** 2002-07-09 07:26:49 +00:00
Jim Meyering ffffb388a0 *** empty log message *** 2002-07-09 07:26:38 +00:00
Jim Meyering 744750ded3 (check-x-vs-1): New target.
(check-local): Depend on check-x-vs-1.
2002-07-09 07:25:40 +00:00
Jim Meyering a879a0925f (dist_man_MANS): Add stat.
(stat.1): Add dependency.
2002-07-09 06:55:05 +00:00
Jim Meyering 56a4c59e60 (euidaccess): Remove declaration. It was unused. From Michael Stone.
(yesno): Remove declaration.  It too was unused.
2002-07-09 06:38:19 +00:00
Jim Meyering a1d54b2837 *** empty log message *** 2002-07-08 17:15:28 +00:00
Jim Meyering 1882eec679 df now rounds all quantities up, as per POSIX.
This fixes a bug where df would report Size < Used.
2002-07-08 17:15:19 +00:00
Jim Meyering 67bf6815c4 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.
2002-07-08 17:03:36 +00:00
Jim Meyering dc0221e601 s/sh-utils/this package/ 2002-07-08 12:29:34 +00:00
Jim Meyering ffceff850d (uninstall-local): Search for @GNU_PACKAGE@,
rather than the hard-coded `sh-utils'.
2002-07-08 12:26:59 +00:00
Jim Meyering af75d641d4 *** empty log message *** 2002-07-08 09:13:33 +00:00
Jim Meyering 647eaf53a8 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.
2002-07-08 09:13:12 +00:00
Jim Meyering 01eacf71cb (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.
2002-07-08 09:12:48 +00:00
Jim Meyering cebf7f7371 check only for $@" 2002-07-08 08:04:08 +00:00
Jim Meyering a18abe21f7 *** empty log message *** 2002-07-08 08:01:23 +00:00
Jim Meyering ce7f59f2ff *** empty log message *** 2002-07-08 07:09:21 +00:00
Jim Meyering e289e5c881 (check-texinfo): Check for the above. 2002-07-08 07:08:59 +00:00
Jim Meyering a72662ed6b (cp invocation): Remove unnecessary "$@" in example;
Texinfo would render the @" as an umlaut over the following character.
From Paul Eggert.
2002-07-08 07:07:52 +00:00
Jim Meyering 89eb405076 . 2002-07-06 15:37:12 +00:00
Jim Meyering a6b74b8947 *** empty log message *** 2002-07-06 15:36:23 +00:00
Jim Meyering 5a6436bf38 *** empty log message *** 2002-07-06 15:35:29 +00:00
Jim Meyering 593a07614a (stat invocation): Remove description of --secure. 2002-07-06 15:35:24 +00:00