Commit Graph
15857 Commits
Author SHA1 Message Date
Jim Meyering dadffbebca *** empty log message *** 2002-07-18 09:33:48 +00:00
Jim Meyering 2ea4083a64 *** empty log message *** 2002-07-18 09:28:45 +00:00
Jim Meyering a536063677 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
2002-07-18 09:28:41 +00:00
Jim Meyering 570e8c45fe *** empty log message *** 2002-07-17 15:35:22 +00:00
Jim Meyering 37bbc4c47f (print_uptime): Restore use of (equivalent, but
more readable) `>=' from Bruno's patch.
2002-07-17 10:59:54 +00:00
Jim Meyering 5486771381 . 2002-07-17 10:50:19 +00:00
Jim Meyering 9ee956a2f7 Use GNULIB_BOOT_TIME. 2002-07-17 10:49:46 +00:00
Jim Meyering 15b923a271 New file. Extracted from sh-utils' configure.ac
and extended to work also with *BSD systems.
2002-07-17 10:47:46 +00:00
Jim Meyering 6080be6701 *** empty log message *** 2002-07-16 09:49:43 +00:00
Jim Meyering 3474b1e642 *** empty log message *** 2002-07-16 09:42:43 +00:00
Jim Meyering a96affa5e1 use $(PERL), not @PERL@ 2002-07-16 09:37:41 +00:00
Jim Meyering d85c0c81fa *** empty log message *** 2002-07-16 09:29:56 +00:00
Jim Meyering 6978ba6736 (print_it): Use memcpy and a little pointer arithmetic, rather than stpncpy. 2002-07-16 09:29:52 +00:00
Jim Meyering 753bb04a60 . 2002-07-16 06:53:00 +00:00
Jim Meyering 99bf17613b *** empty log message *** 2002-07-16 06:51:20 +00:00
Jim Meyering c7a1d7f58f help font-lock-mode 2002-07-16 06:49:50 +00:00
Jim Meyering b23214fca0 *** empty log message *** 2002-07-16 06:46:19 +00:00
Jim Meyering ce0f0e7e12 *** empty log message *** 2002-07-15 21:08:48 +00:00
Jim Meyering 52b40984a2 Include sys/sysctl.h.
(print_uptime): Add support for determining the boot time on FreeBSD.
2002-07-15 21:08:21 +00:00
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