Bruce M Simpson
abfdccc7ce
Update document date.
...
Noticed by: ru
2006-08-03 20:43:51 +00:00
Bruce M Simpson
6b04b7f63e
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
Joseph Koshy
1ae9926515
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
Yaroslav Tykhiy
594a130b8a
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
Tim Kientzle
fc1e63e49b
Remove two unused variables.
...
Thanks to: Stefan Farfeleder
2006-07-31 04:57:46 +00:00
Tim Kientzle
902ce6f035
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 Konovalov
1b405ff747
o Kill unneeded assignment.
...
Obtained from: OpenBSD
2006-07-30 07:41:28 +00:00
Yaroslav Tykhiy
096146f88b
- 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
Yaroslav Tykhiy
7b95a1ebbd
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
Yaroslav Tykhiy
778d2bddd2
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
Yaroslav Tykhiy
b7dd94d5e6
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
Yaroslav Tykhiy
2cc3124e10
Obey MK_INET6_SUPPORT.
2006-07-27 14:20:14 +00:00
Yaroslav Tykhiy
d1773e839f
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
Yaroslav Tykhiy
46ae665613
rpcinfo(1) doesn't depend on INET6 explicitly.
2006-07-27 13:47:02 +00:00
Xin LI
1aeafe6572
Make sure that the sc pointer gets initialized. No functional change
...
should happen with this change.
2006-07-26 08:58:00 +00:00
Jung-uk Kim
93e3b716ba
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
Robert Watson
df3e013b3e
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
David E. O'Brien
38a1ab4173
Tell when a .include is processed with '-dd'.
2006-07-22 14:00:31 +00:00
Stefan Farfeleder
845b8cbcbf
Remove break after return.
2006-07-18 10:19:46 +00:00
Stefan Farfeleder
107f86a291
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
Stefan Farfeleder
cd1de708cd
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
Stefan Farfeleder
ae66acac87
The variables i and tot don't need to be static.
2006-07-18 07:16:25 +00:00
Stefan Farfeleder
080397239a
Remove break after return.
2006-07-18 07:10:30 +00:00
David E. O'Brien
2cae2b7d30
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
David E. O'Brien
99f08b7740
whitespace fixing
2006-07-17 19:16:12 +00:00
Julian Elischer
109dad819f
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 Konovalov
5a3e0a1b99
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
Konstantin Belousov
09e7364ee9
Remove slipped in spaces.
...
Pointed out by: maxim
Approved by: pjd (mentor)
2006-07-12 12:42:47 +00:00
Konstantin Belousov
fd6afe791c
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
Konstantin Belousov
1a8b0c1571
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 Bulyzhin
7c7f48f12c
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
Pyun YongHyeon
740cf1fd67
Add myself.
2006-07-04 23:52:12 +00:00
Greg Lehey
cdef7e2711
Update dillon's mail address.
2006-07-04 03:29:31 +00:00
Ruslan Ermilov
2982527d8b
- Simplify the formatting in the SYNOPSIS.
...
- Add the forgotten new option in usage().
2006-06-30 08:19:26 +00:00
Florent Thoumie
aa1d7ce72f
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
Boris Samorodov
ecbbee76f3
Add myself to the freebsd calendar.
...
Approved by: netchild (mentor)
2006-06-22 14:22:20 +00:00
David E. O'Brien
b3f1b4a2c7
Update for the 'file' 4.17 import.
2006-06-19 08:10:23 +00:00
Stefan Eßer
d1b76f3f6e
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 Konovalov
6d3d5db831
o Sync usage() with reality.
2006-06-11 17:40:25 +00:00
Robert Watson
b5fc62e2f7
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
David E. O'Brien
bb6988aa71
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
Greg Lehey
a176b8d333
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
Greg Lehey
29ef275b38
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
John-Mark Gurney
50866a5cf3
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
Stefan Farfeleder
311e80b148
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
John-Mark Gurney
2f25c9bd65
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
Kirill Ponomarev
85184b8b23
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
Kirill Ponomarev
5a890aac57
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
Kirill Ponomarev
4ba3b38b64
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
Brad Davis
eaa9b5ef09
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