Jim Meyering
4a8560e2a0
.
2002-07-19 19:42:31 +00:00
Jim Meyering
d4439bcbf4
update from master
2002-07-18 20:44:25 +00:00
Jim Meyering
af37865370
*** empty log message ***
2002-07-18 18:38:28 +00:00
Jim Meyering
3c26c805a7
*** empty log message ***
2002-07-18 18:35:47 +00:00
Jim Meyering
a19f9253c4
(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.
2002-07-18 18:35:42 +00:00
Jim Meyering
510f7bfe87
(UNAME_HARDWARE_PLATFORM, UNAME_PROCESSOR): New macros.
...
(main): Use them, along with sysctl, to support uname -i and uname -p
on BSD hosts.
2002-07-18 18:28:53 +00:00
Jim Meyering
283c81ccdd
.
2002-07-18 15:29:53 +00:00
Jim Meyering
80206d9811
(Makefile): Also depend on LINGUAS.
2002-07-18 09:46:38 +00:00
Jim Meyering
c696260961
*** empty log message ***
2002-07-18 09:34:52 +00:00
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