Stefan Farfeleder
848b3d0fd7
In version 1.8 I botched findval()'s type, fix.
2005-09-02 21:51:18 +00:00
Stefan Farfeleder
1e72f11f56
Use socklen_t variables when passing sizes to getsockname() and
...
getsockopt().
2005-09-02 19:33:50 +00:00
Stefan Farfeleder
b702f91df9
The appropriate argument is -K -1, not -k -1.
2005-09-02 18:37:34 +00:00
Stefan Farfeleder
adcd73865c
Fix a syntax error in the generated code when invoked with -P. Note that
...
the generated code still doesn't compile as we lack tinfo, t_getinfo and
friends.
2005-09-02 18:20:47 +00:00
Suleiman Souhlal
02dfd2b299
- Do not allocate memory to entries in /var/rwho which have been down for
...
more than 4 days - waste of memory.
Obtained from: DragonFlyBSD (liamfoy)
MFC after: 3 days
2005-09-02 14:58:26 +00:00
Stefan Farfeleder
896cdc310c
Stop generating the `register' keyword.
2005-09-02 10:32:05 +00:00
Stefan Farfeleder
15df5e2d43
Don't generate K&R C code. The -C flag is kept for backwards compatibility.
...
Also remove the SIG_PF macro, there is no need to cast closedown.
2005-09-02 10:23:26 +00:00
Stefan Farfeleder
ec06b5e868
Only write the dispatch table function prototypes to the header if the -h
...
flag was specified. If all files are generated at once, those functions are
static and shouldn't appear in the header.
PR: 84450
Reviewed by: alfred
2005-09-01 19:16:25 +00:00
Stefan Farfeleder
d0cc804bba
- Use prototypes in headers.
...
- Include rpc_scan.h before rpc_util.h for the tok_kind enum.
- Nuke unused declarations.
2005-08-31 20:45:15 +00:00
Stefan Farfeleder
122562cd2b
Rename the variable inline' to
inline_size'.
2005-08-31 19:44:40 +00:00
Tim J. Robbins
33eafb83b7
Include option-argument names in the list in the DESCRIPTION section.
...
Remove a non-bug from the BUGS section.
2005-08-30 12:48:28 +00:00
Tim J. Robbins
bb78dba49b
Remove undocumented historic support for treating "-" as an option
...
instead of a file operand; this is not compatible with POSIX.
2005-08-30 12:32:18 +00:00
Paul Saab
13829828e7
Unbreak tail -f on non-local filesystems.
2005-08-26 08:15:57 +00:00
Pawel Jakub Dawidek
70ffddc463
Revert previous behaviour of '-F' option and add '-L' option, which will
...
tell pkill(1)/pgrep(1) to try to flock(2) pidfile before reading PID from
there.
Discussed with: jhb, gad
2005-08-25 20:10:47 +00:00
Ollivier Robert
2fa9dad0ef
Fixes for gcc 4.x.
...
PR: bin/84995
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
2005-08-25 14:09:35 +00:00
Ollivier Robert
8a0a76b862
Fixes for gcc4.x.
...
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
PR: bin/84991
2005-08-25 13:44:02 +00:00
Pawel Jakub Dawidek
712bf6af16
Modify '-F' option to work nicely with pidfile(3) - a pidfile given as
...
an argument has to be locked.
2005-08-24 19:38:28 +00:00
Yaroslav Tykhiy
b7cc036298
List -W as one of the meaningful options to the -i (interfaces)
...
display of netstat(1).
MFC after: 3 days
2005-08-24 12:21:34 +00:00
Brian Somers
e1bfde1b04
Add a -h option to tell cmp not to follow symbolic links.
...
MFC after: 3 weeks
Sponsored by: Sophos/ActiveState
2005-08-23 13:13:13 +00:00
Colin Percival
f46417c577
Most users probably aren't interested in locating 13000+ files named
...
[0-9a-f]{64}, so exclude portsnap's compressed snapshots from locate's
indexing.
Suggested by: silby
MFC after: 3 days
2005-08-22 08:22:48 +00:00
Tim J. Robbins
e93586df9d
Remove the hack that varied the first character of the output file name
...
if none was specified on the command line. This is not permitted by
POSIX, and no longer needed now that we have the -a option.
PR: 85099
Submitted by: Toby Peterson (Apple Computer)
2005-08-21 06:35:02 +00:00
Ruslan Ermilov
c6358a5e6f
Bail if interface is misspelled instead of falling out into the
...
"all interfaces" mode. (Only works with -w, but still better
than nothing.)
2005-08-20 08:34:21 +00:00
Murray Stokely
053018f6ea
Correct typos found by ispell.
2005-08-19 00:05:58 +00:00
Gleb Smirnoff
c2dfd19ff0
Add a new switch -h for interface stats mode, which prints all interface
...
statistics in human readable form.
In collaboration with: vsevolod
Reviewed by: cperciva
2005-08-18 21:04:12 +00:00
Stefan Farfeleder
4ed7018006
While revision 1.26 fixed the code to really subtract 3600 due to
...
daylight-saving, this was actually wrong because mktime() already does that for
us.
2005-08-18 08:18:02 +00:00
Colin Percival
816e551836
Remove the dates from these files. They serve no purpose and result in
...
these files spuriously changing each time they are built.
Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
2005-08-17 15:56:04 +00:00
Murray Stokely
103d2a4254
Correct birthdate for Meriwether Lewis. He was born before the
...
declaration of independence, not after the first world war.
2005-08-17 13:32:18 +00:00
Suleiman Souhlal
639d7cbad1
It's actually 11 minutes when the machine is assumed to be down and removed
...
from the output.
Obtained from: DragonFlyBSD
2005-08-07 11:48:44 +00:00
Robert Watson
768528adf6
Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extracting
...
this information from the core dump.
2005-08-06 13:56:21 +00:00
Poul-Henning Kamp
e73643becb
Old habits die hard: Make that .if defined(YES_HESIOD) not .if !defined
2005-08-06 07:41:36 +00:00
Christian S.J. Peron
9baea4b4b4
Change the data type of the upper shared memory limits from a signed
...
integer to an unsigned long. This lifts variables like the maximum
number of pages available for shared memory from 2^31 to 2^32 on 32
bit architectures, and from 2^31 to 2^64 on 64 bit architectures.
It should be noted that this changes breaks ABI on 64 bit architectures
because the size of the shmmax, shmmin, shmmni, shmseg and shmall members
of the shminfo structure has changed.
Silence on: current@
2005-08-06 07:20:18 +00:00
Poul-Henning Kamp
f7ab1209d3
Put hesinfo(1) under buildoption "YES_HESIOD"
2005-08-06 06:56:39 +00:00
Colin Percival
9857d3addb
Include ../Makefile.inc, since without it programs get installed in the
...
wrong place.
Pointy hat to: cperciva
2005-08-06 02:37:21 +00:00
Colin Percival
ba10db9984
Add bsdiff and bspatch to the base system. These are tools for
...
constructing and applying binary patches; in particular, they perform
well (in the sense of constructing small patches) for executable code.
Both portsnap (coming to the base system Real Soon Now) and FreeBSD
Update (coming to the base system a bit later) use bspatch.
This is the same code as the bsdiff-4.2 which has been in the ports
tree (misc/bsdiff) for the past year, with the following exceptions:
1. The license is now the traditional 2-clause BSD;
2. Instead of forking and execing bzip2, the code now uses libbz2; and
3. Some minor changes have been made to fit this code into the base
system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate
directories, etc.)
This code is rather ugly and has lots of style bugs (mostly because I
wrote it before I had ever heard of style(9)). Some day I'll come
back and clean it up.
Discussed on: freebsd-arch
MFC before: 5.5-RELEASE
Tested by: Several million users (earlier version).
2005-08-06 01:59:06 +00:00
Poul-Henning Kamp
a00553b3d3
Don't include -lipx twice.
2005-08-05 20:13:09 +00:00
Poul-Henning Kamp
9cc22e5c89
Make IPX support depend on NO_IPX
2005-08-05 18:45:49 +00:00
Poul-Henning Kamp
5a4d78a1f6
Let NO_MAN control catman
2005-08-05 16:09:34 +00:00
Stefan Farfeleder
a3ae5e4ede
Use socklen_t where appropriate.
2005-08-05 09:58:49 +00:00
Stefan Farfeleder
4ac45ec4cc
Include <err.h> where needed. Add $FreeBSD$ where missing.
2005-08-05 09:07:42 +00:00
Stefan Farfeleder
d41d23e1cd
Prefer {u,}intmax_t over the deprecated {u_,}quad_t.
2005-08-05 08:18:00 +00:00
Stefan Farfeleder
3dc44a8992
Don't throw away the adjusted `runtimer' value.
2005-08-05 08:07:02 +00:00
Juli Mallett
dfaacec6ff
Call usage() instead of being insolent.
2005-08-05 01:04:36 +00:00
Diomidis Spinellis
d432588e78
Bug fix: a numeric flag specification in the substitute command would
...
cause the next substitute flag to be ignored.
While working at it, detect and report overflows.
Reported by: Jingsong Liu
MFC after: 1 week
2005-08-04 10:05:12 +00:00
Poul-Henning Kamp
642268f44a
Add NO_CALENDAR
2005-08-03 09:27:01 +00:00
Sean Chittenden
71997d4be4
Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).
2005-08-02 21:38:03 +00:00
Tim Kientzle
5d596ecb25
The bsdtar_warnc() reporting function requires the program name to be
...
set up before it is called, so move the progname initialization before
the first possible call to bsdtar_warnc().
Thanks to: Stanislav Sedov
PR: bin/83366
MFC after: 7 days
2005-08-02 03:02:55 +00:00
Robert Watson
c753d56b39
Teach vmstat's domemstat_zone() to use memstat_kvm_uma() when the kvm
...
descriptor is non-NULL, restoring vmstat -z support for core dumps and
kmem access. These were broken with the introduction of UMA.
2005-08-01 21:33:17 +00:00
Giorgos Keramidas
6fb9b618f5
Fix all the spelling mistakes I could find in the man pages for words
...
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
Christian S.J. Peron
a4cdc0452a
Introduce kdevtoname, which when given the kernel address of a
...
cdev structure, returns the device name associated with it through
the __si_namebuf member. This un-breaks the processing of devices.
This is a RELENG_6 candidate.
Reviewed by: phk
2005-07-30 20:00:13 +00:00
Robert Watson
b9dc1340d2
Minor syntax tweaks:
...
- Remove some extra blank lines.
- Remove comments that don't contribute to understanding.
- Remove additional blank lines in output added to maximize compatibility
with older vmstat output, but that is actually somewhat gratuitous.
Submitted by: bde
MFC with: other vmstat libmemstat(3) changes
2005-07-28 09:45:08 +00:00