bms
ed29850fa0
Update document date.
...
Noticed by: ru
2006-08-03 20:43:51 +00:00
bms
14416210a8
Add a new command-line option, -P, which allows the user to specify
...
an arbitrary port to which syslog messages are to be sent.
PR: bin/54026
Submitted by: Oliver Fromme
MFC after: 10 days
2006-08-02 13:21:44 +00:00
jkoshy
c03b5b6d66
In 'od -c' mode, deal with printable but zero-width combining
...
characters correctly. These characters are displayed "combined"
with a space character.
PR: misc/100215
Submitted by: "J.R. Oldroyd" <<fbsd AT opal.com>>
Reviewed by: "J.R. Oldroyd" <<fbsd AT opal.com>> (revised patch)
MFC after: 3 days
2006-07-31 14:17:04 +00:00
yar
fe55b573c0
Stop enforcing dependencies between MK_* options at Makefile level.
...
All the dependencies are satisfied now in <bsd.own.mk>.
2006-07-31 13:29:36 +00:00
kientzle
1ac17adabf
Remove two unused variables.
...
Thanks to: Stefan Farfeleder
2006-07-31 04:57:46 +00:00
kientzle
3e01f8e05a
Conditionally include sys/mkdev.h on platforms (such as Solaris) that need it.
...
While I'm here, correctly alphabetize 't' after 's'.
Thanks to: VMiklos
2006-07-30 18:34:40 +00:00
maxim
30b45c0978
o Kill unneeded assignment.
...
Obtained from: OpenBSD
2006-07-30 07:41:28 +00:00
yar
59fab84bab
- Achieve WARNS=3 by using sparse initializers or avoiding initializers at all.
...
- Fix a nlist initialization: it should be terminated by a NULL entry.
- Constify.
- Catch an unused parameter.
Tested on: i386 amd64 ia64
2006-07-28 16:16:40 +00:00
yar
e1db503689
Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities,
...
including to printf(). Using uintmax_t is also robust to further
extensions in both the C language and the bitwidth of kernel counters.
Tested on: i386 amd64 ia64
2006-07-28 16:09:19 +00:00
yar
403fb810b3
Both fields of struct timeval are of a non-basic type,
...
so we should cast them to a type printf() knows about.
2006-07-28 11:17:17 +00:00
yar
796fd4097a
Avoid useless work: Do not build inet6.c if INET6 support is off.
...
This also avoids pretending that netstat includes inet6.c in the
output from ident(1).
2006-07-28 11:09:21 +00:00
yar
982c62305a
Obey MK_INET6_SUPPORT.
2006-07-27 14:20:14 +00:00
yar
02be1e49b6
Respect MK_INET6_SUPPORT.
...
Move INET6 out of the RELEASE_CRUNCH conditional block
because it saves as little as 2% of the binary size and
IPv6 is rather popular today. (Some other binaries, e.g.,
telnetd, include INET6 for RELEASE_CRUNCH already.)
2006-07-27 14:19:30 +00:00
yar
596afebac0
rpcinfo(1) doesn't depend on INET6 explicitly.
2006-07-27 13:47:02 +00:00
delphij
9328356917
Make sure that the sc pointer gets initialized. No functional change
...
should happen with this change.
2006-07-26 08:58:00 +00:00
jkim
80e8ac2fbc
Fix 32-bit integer math on 64-bit processor. Just use int32_t(!) instead
...
of incorrect and machine-dependent integer math. Now we can encrypt a file
on an i386 and decrypt it on an amd64, and vice versa.
Submitted by: Andrew Heybey < ath at niksun dot com >
2006-07-25 22:20:05 +00:00
rwatson
8af22d8b63
Remove MT_FTABLE printout in systat, as MT_FTABLE mbufs are no longer
...
used in the kernel.
2006-07-24 01:49:24 +00:00
obrien
ff2ff54f21
Tell when a .include is processed with '-dd'.
2006-07-22 14:00:31 +00:00
stefanf
ad319e77f4
Remove break after return.
2006-07-18 10:19:46 +00:00
stefanf
92077a1d25
Document that the pathname(s) following the options need not be given if
...
-f pathname was specified.
2006-07-18 07:39:22 +00:00
stefanf
b75bbd4bdf
Fix type mismatch between char * and unsigned char *. C guarantees that
...
the values of the characters here are positive, so it's safe to index arrays
with them.
2006-07-18 07:29:42 +00:00
stefanf
ba64bc870a
The variables i and tot don't need to be static.
2006-07-18 07:16:25 +00:00
stefanf
b180846aaa
Remove break after return.
2006-07-18 07:10:30 +00:00
obrien
1926f541c8
VarAdd() already does the debug printing, so Var_Set() only needs to do it
...
in the case the var already exists.
2006-07-17 21:05:27 +00:00
obrien
431401cbc0
whitespace fixing
2006-07-17 19:16:12 +00:00
julian
429b08f9da
Not having ipv6 in your kernel is not an error and should not be reported.
...
MFC after: 1 week
2006-07-14 23:32:43 +00:00
maxim
6cf5ac79a2
o Fix some printf(3) format nits in my patch I submitted to kib@.
...
Submitted by: ru
2006-07-12 13:36:08 +00:00
kib
a8c6961a45
Remove slipped in spaces.
...
Pointed out by: maxim
Approved by: pjd (mentor)
2006-07-12 12:42:47 +00:00
kib
d6a4e16f1b
Check that the signal number is in range.
...
Submitted by: maxim
MFC after: 1 week
Approved by: pjd (mentor)
2006-07-12 12:41:56 +00:00
kib
41c3c00a6d
Check that the signal number is in range.
...
Submitted by: Michiel Boland <michiel boland org>
MFC after: 1 week
Approved by: pjd (mentor)
2006-07-12 09:13:33 +00:00
oleg
4b612ce603
Since kernel & userland use different timebase and netstat is reading kernel
...
memory directly, we should do timebase conversion for route lifetime.
Approved by: glebius (mentor)
2006-07-06 11:59:27 +00:00
yongari
8d4c5177f7
Add myself.
2006-07-04 23:52:12 +00:00
grog
0823db905f
Update dillon's mail address.
2006-07-04 03:29:31 +00:00
ru
7adc3589c2
- Simplify the formatting in the SYNOPSIS.
...
- Add the forgotten new option in usage().
2006-06-30 08:19:26 +00:00
flz
6d4f7a588c
Add a -q option to suppress header lines when multiple files are specified.
...
Approved by: cperciva (mentor)
MFC after: 1 week
2006-06-29 22:07:49 +00:00
bsam
8d75058136
Add myself to the freebsd calendar.
...
Approved by: netchild (mentor)
2006-06-22 14:22:20 +00:00
obrien
35c9358d6c
Update for the 'file' 4.17 import.
2006-06-19 08:10:23 +00:00
se
7ed265dfe9
Fix display of idle processes, which had been broken since rev. 1.56 of
...
machine.c. The traditional condition was (pctcpu > 0 || SRUN), but the
negation of the condition logic (from select to skip) made this come
out as (pctcpu > 0 && SRUN), leading to a very erratic display, except
for purely CPU bound processes.
This has been discussed in the mail lists some time ago and I have used
top with this patch on my systems for more than a year without problems
(just forgot to commit it earlier, since my systems were all fixed ...).
2006-06-11 19:18:39 +00:00
maxim
5c5d33a2ae
o Sync usage() with reality.
2006-06-11 17:40:25 +00:00
rwatson
571f2f563f
Add audit.h to mkioctls inclusion list: audit pipe ioctls need access
...
to the audit types.
Submitted by: wsalamon
Obtained from: TrustedBSD Project
2006-06-05 10:06:51 +00:00
obrien
f16c41b4d8
Increase the field widths of flt (total number of page faults), fr (pages
...
freed), & cs (CPU context switch rate). 'vmstat 1' output is now lined up
for today's typical machines vs. a VAX. [tested my modest 1.6ghz laptop]
2006-06-03 20:34:56 +00:00
grog
3a3622dbf7
Correct previous commit. We don't want to suppress an entry because
...
it runs into the following month. Instead adjust month and day,
wrapping round into next year where necessary.
MFC after: 14 days
2006-05-31 01:30:50 +00:00
grog
4484b1feb3
Don't go past the end of the month with a repetitive entry of the
...
style "every Monday":
mon * Do Foo.
Previously, at the end of the month, this could cause a printout of
the following nature when invoked with -A 7:
36 May* Do Foo
MFC after: 2 weeks
2006-05-30 04:00:23 +00:00
jmg
46a70ebf95
remove comment about systems, I got confused which arch one of my systems
...
was...
Pointed out by: ru
2006-05-29 10:57:13 +00:00
stefanf
1996e53039
Print the euid after the gid as demanded by POSIX.
...
Submitted by: Martin Nagy <nagy.martin@gmail.com>
PR: 96239
MFC after: 2 weeks
2006-05-28 12:32:30 +00:00
jmg
601e4d0400
document that even if magic is newer than magic.mgc, it isn't used
...
compiling mgc on a big endian system (specificly tested sparc64) breaks,
using one from a little endian system works
2006-05-28 07:15:35 +00:00
krion
89da8ff1e0
Fix using "P" command on empty pattern space. If the "P" command is
...
used once on a non-empty pattern space and then again on an empty
pattern space, the second usage restores the pattern space length to
the length that it had when the first "P" was used.
PR: bin/96052
Submitted by: Andrey Zholos <aaz@althenia.net>
MFC after: 7 days
2006-05-27 19:32:28 +00:00
krion
6b57f06596
Add the capability for a trailing scale indicator to cause the
...
specified size to be read in the more familiar units of kilobytes,
megabytes, gigabytes, terabytes and petabytes.
PR: bin/50988
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
MFC after: 7 days
2006-05-27 18:27:41 +00:00
krion
9c2cd9fe0d
Enable numeric arguments and +/- prefixes with -user (-group)
...
options.
PR: bin/71513
Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com>
MFC after: 7 days
2006-05-25 21:20:43 +00:00
brd
58b340f864
s/on a crt//
...
systat is working great on this LCD ;)
Submitted by: Ben Haga <tuximus AT absoludicrous DOT com>
MFC after: 3 days
2006-05-25 06:05:04 +00:00