Philippe Charnier
622e8da61d
The usage string: renice [priority | [-n incr]] ... assumed that the part
...
`priority | [-n incr]' was optionnal which is wrong according to the code.
Add FreeBSD Id.
Reviewed by: maxim
2003-02-26 20:27:24 +00:00
David Schultz
d48905120d
The cmp utility has the questionable feature of using mmap when
...
comparing regular files. Add a SIGSEGV handler to make its
behavior less surprising when a read error occurs. The handler
does not attempt to distinguish errors from file truncation, but
anyone actively modifying a file while trying to compare it
shouldn't even expect something sane to happen.
PR: 45391
Reviewed by: mike (mentor)
2003-02-26 06:44:46 +00:00
Ruslan Ermilov
ace5be682d
mdoc(7) police: Scheduled sweep.
2003-02-24 22:53:26 +00:00
Mike Barcroft
80473671e8
Fix style bugs in previous commit.
2003-02-24 17:10:32 +00:00
David Schultz
36a15bd526
Let everyone know when to send the gifts.
...
Reviewed by: mike (mentor)
2003-02-21 19:25:39 +00:00
Tim J. Robbins
ca78e3fb20
Remove "sleeper" nonsense.
2003-02-21 08:46:44 +00:00
David E. O'Brien
0bc8118778
Some things don't build for PowerPC yet.
...
List from: benno
2003-02-21 02:30:51 +00:00
Ruslan Ermilov
568ef33fa2
Removed extra parentheses.
2003-02-20 15:09:52 +00:00
Ruslan Ermilov
66c8239c89
Fixed comment.
2003-02-20 15:05:39 +00:00
Bosko Milekic
025b4be197
o Allow "buckets" in mb_alloc to be differently sized (according to
...
compile-time constants). That is, a "bucket" now is not necessarily
a page-worth of mbufs or clusters, but it is MBUF_BUCK_SZ, CLUS_BUCK_SZ
worth of mbufs, clusters.
o Rename {mbuf,clust}_limit to {mbuf,clust}_hiwm and introduce
{mbuf,clust}_lowm, which currently has no effect but will be used
to set the low watermarks.
o Fix netstat so that it can deal with the differently-sized buckets
and teach it about the low watermarks too.
o Make sure the per-cpu stats for an absent CPU has mb_active set to 0,
explicitly.
o Get rid of the allocate refcounts from mbuf map mess. Instead,
just malloc() the refcounts in one shot from mbuf_init()
o Clean up / update comments in subr_mbuf.c
2003-02-20 04:26:58 +00:00
Ruslan Ermilov
112dc321de
Back out the removal (here too) of the "custom" version of
...
<sys/endian.h>. It is needed to cross-build sparc64 on
RELENG_4 and to build sparc64 on say 5.0-DP1 (on systems
without <sys/endian.h>). This will be revisited when we
create RELENG_5.
Spotted by: make universe
2003-02-19 15:25:07 +00:00
David E. O'Brien
f534f8f72b
chflags(1) repo copied, usr.bin->bin.
...
We've been installing chflags(1) into /bin since 2000-11-10, so this
shouldn't cause any problems.
2003-02-18 19:51:59 +00:00
Dag-Erling Smørgrav
db6b8c956f
Correctly alphabetize options[] so we don't stop at -nouser when searching
...
for -not.
PR: bin/48423
Submitted by: Matsumura Naoki <matsu@jp.FreeBSD.org>
MFC after: 3 days
2003-02-18 14:30:43 +00:00
Poul-Henning Kamp
190ff54ebb
Add #include <sys/resource.h>
...
My apologies for missing these #includes, I must have confused the
dependencies with a wrong timestamp or something.
2003-02-16 16:01:52 +00:00
Poul-Henning Kamp
3bd41074f4
Add #include <sys/resource.h>
2003-02-16 15:46:25 +00:00
Poul-Henning Kamp
f341ca9891
Remove #include <sys/dkstat.h>
2003-02-16 14:13:23 +00:00
Dag-Erling Smørgrav
d477c0ca56
Back out previous commit, I wasn't thinking clearly.
2003-02-15 23:20:04 +00:00
Dag-Erling Smørgrav
b9c5354345
Set PAM_RHOST to "localhost" if no remote host was specified. This allows
...
pam_opieaccess() to work as expected for local logins.
2003-02-15 23:16:41 +00:00
David E. O'Brien
85d365a514
Update for version 3.40.
...
* We have inttypes.h (yes, even in RELENG_4).
* We now have GNU getopt, so lets be the first thing in the tree to
acutally use it...
2003-02-15 19:05:10 +00:00
Sean Chittenden
5a2d4ae2b9
Add the Space Shuttle Columbia incident to calendar.history. While here
...
move LOTR "history" events into their own calendar file. Link
calendar.lotr into calendar.world to preserve visibility of this pre-trendy
gem in BSD.
2003-02-15 10:57:20 +00:00
Chad David
c979c169a7
Add __unused to the declaration of yyrcsid in a more portable way.
...
Discussed with: alfred, bde, jmallett, obrien
2003-02-12 18:03:55 +00:00
Greg Lehey
ee502df5ff
Get Fox Talbot's birth year right. How could anybody have expected
...
photography in the 15th century?
2003-02-11 01:42:19 +00:00
Robert Drehmel
ec3b72e932
- Determine the size of buffers with sizeof() instead of using
...
plain magic numbers - one of them was apparently wrong but unharmful.
- Remove empty line.
2003-02-10 16:58:47 +00:00
Tim J. Robbins
f8e84641ec
Make this work without COMPAT_43 by using tcgetattr()/tcsetattr() instead
...
of ioctl TIOCGETP/TIOCSETP.
2003-02-10 02:08:49 +00:00
Chad David
0b40ce9875
Backout my previous commit as requested. This solution generates
...
parsers that are non-portable.
2003-02-08 17:23:22 +00:00
Dag-Erling Smørgrav
fea1e414df
Use waitpid() instead of wait() since we know the pid of the process we
...
are waiting for, and we don't want to reap the wrong process.
2003-02-08 16:11:20 +00:00
Chris Costello
b0d5e90aa9
I seem to have never added myself to the FreeBSD birthday calendar.
2003-02-08 05:54:10 +00:00
Chad David
143c9ae267
Add __unused to the declaration of yyrcsid.
2003-02-07 03:39:27 +00:00
Mike Barcroft
2d979824f5
Fix singular/plural confusion in a printf.
...
PR: 47953
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
MFC after: 3 days
2003-02-06 22:39:44 +00:00
Dag-Erling Smørgrav
84c03427b4
Pass the correct, verified username to PAM instead of getlogin().
2003-02-06 14:29:28 +00:00
Philippe Charnier
65b386f1aa
Do not start err(3) strings with uppercase nor dot terminate them.
...
Standard sccsid[] area according to style(9).
2003-02-05 14:25:43 +00:00
Philippe Charnier
aaa9487d53
Header was included twice. Hardcode program name in usage string.
2003-02-05 14:20:27 +00:00
Philippe Charnier
19b746794d
Wrap long line. Use .Ar instead of .Nm where appropriate.
2003-02-05 14:15:02 +00:00
Tom Rhodes
fc6318e4e5
Remove 2 more unused doc Makefiles.
2003-02-04 18:26:08 +00:00
Tom Rhodes
63b18a5211
Remove another unused Makefile.
2003-02-03 04:15:53 +00:00
David E. O'Brien
b8adbd4e7f
Add a man page.
2003-02-03 01:59:27 +00:00
David E. O'Brien
75ca4dcf31
Make WARNS=5 clean even on 64-bit platforms.
2003-02-03 01:30:47 +00:00
David E. O'Brien
36210553da
Make WARNS=5 on i386, (WARNS=1 on 64-bit platforms).
...
Submitted by: dwmalone (tweaked by me)
2003-02-03 01:22:58 +00:00
David E. O'Brien
0529c56b96
Try to tighten up the types a little bit to help debugging with GDB.
2003-02-02 22:16:05 +00:00
Hideyuki KURASHINA
a33ab077a7
Add my birthday.
...
Approved by: hrs (mentor)
2003-02-01 05:31:49 +00:00
Ollivier Robert
96db12517f
The newly appointed .org registrar has a pecular output format so
...
whois doesn't follow the link to the authoritative registrar. Fix it.
PR: bin/47770
Submitted by: Alain Thivillon <at@rominet.net>
MFC after: 7 days
2003-01-31 21:57:10 +00:00
Tom Rhodes
4bb2c6860a
A few changes for clarity.
...
PR: 47170
Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)
2003-01-27 18:16:36 +00:00
Bill Fenner
6841d8b90d
Don't try to fseek before the beginning of the file; POSIX requires that
...
this return an error.
This re-enables display of the first entry in /var/account/acct instead
of the error "lastcomm: /var/account/acct: Invalid argument"
2003-01-27 18:16:32 +00:00
Giorgos Keramidas
57f9e15a0e
Add a reference to talkd(8) as a hint that talk(1) depends on a
...
service to work correctly.
Inspired by: P. U. Kruppa <520023893678-0001@t-online.de>
2003-01-23 22:40:18 +00:00
Dag-Erling Smørgrav
32c8cd2915
Slight cleanup of the ETA / BPS code. Avoid a division by zero.
2003-01-23 13:06:13 +00:00
Dag-Erling Smørgrav
7dcb0a0e83
Document netrc support.
2003-01-22 18:35:20 +00:00
Dag-Erling Smørgrav
13da7d9934
Add -N option to specify a netrc file.
...
Fix handling of -v option.
Don't treat negative offsets as valid positive ones.
Clean up the ETA and transfer rate code. Show transfer rate along with
ETA if the verbose level is higher than 1.
2003-01-22 18:33:39 +00:00
David E. O'Brien
d8ac087563
kenv(1) has been repo copied from usr.bin to bin.
...
Sometimes we need kenv(1) in /etc/rc.diskless*.
2003-01-20 17:56:25 +00:00
Tony Finch
0723ff0c6a
Sync with upstream again:
...
* Be less strict about multi-line preprocessor directives (e.g. those
with comments hanging off the right-hand end) since they're more
of a problem in practise than I expected. Prompted by phk.
* Fix the handling of "ignore" symbols.
* Style pedantry from OpenBSD and Ted Unangst <tedu@stanford.edu>,
including some whitespace fixes and removal of strcpy()
(and not including excessively strict KNF enforcement).
* Fix some typos and terminological inconsistencies.
2003-01-20 12:41:41 +00:00
Marcel Moolenaar
5f85bb36ee
If we're going to build and install this on ia64, we might as well
...
teach it about ia64 specific section types, dynamic tags and machine
type. This is a mostly insignificant change given the amount of
work that this tool obviously needs...
2003-01-18 02:33:49 +00:00