Commit Graph

4476 Commits

Author SHA1 Message Date
Ruslan Ermilov
681c4d3c61 mdoc(7) police: kill whitespace at EOL. 2001-11-20 15:49:18 +00:00
Ruslan Ermilov
d33321c095 Add a missing comma. 2001-11-20 15:45:29 +00:00
Ruslan Ermilov
ec2eb6a2ff mdoc(7) police: kill whitespace at EOL and HSB. 2001-11-20 15:43:25 +00:00
Ruslan Ermilov
fc414536e7 Add xref to wall(1).
PR:		docs/32128
Submitted by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
2001-11-20 15:39:58 +00:00
Akinori MUSHA
86ccd13850 Add a note that some shells may have the command built-in.
(sh(1) indeed does)

Add a cross-reference to builtin(1).
2001-11-20 12:40:38 +00:00
Ruslan Ermilov
a1bd63b9e1 Remove obfuscating details of using the false(1) and true(1) utilities
inside the Bourne shell scripts.

PR:		docs/32082
2001-11-20 11:11:36 +00:00
Masafumi Max NAKANE
726cea436a Make this a bit closer to a true tradition by adding one more committer. 2001-11-20 01:49:11 +00:00
Murray Stokely
fef69244b8 Fix two minor grammar mistakes.
PR:           docs/32083
Submitted by: setantae@submonkey.net
2001-11-19 09:01:43 +00:00
Murray Stokely
14fa6ac81b Add a missing word to form a complete sentence.
PR:           docs/32084
Submitted by: setantae@submonkey.net
2001-11-19 08:35:59 +00:00
Murray Stokely
f6db21a6eb Use .Nm to correctly display the program name.
PR:           docs/32086
Submitted by: setantae@submonkey.net
MFC After:    2 days
2001-11-19 08:12:17 +00:00
Ian Dowse
ffad02bd6b Make completion work with filenames containing spaces.
PR:		bin/23526
Submitted by:	root@yoda.fwe.pi.musin.de
MFC after:	1 week
2001-11-18 17:49:09 +00:00
Dag-Erling Smørgrav
6b9c8e04f9 Print the correct return code for successful Linux syscalls.
Submitted by:	Vitezslav Novy <vita@fio.cz>
PR:		32036
MFC after:	1 week
2001-11-17 17:18:36 +00:00
Robert Watson
0e80e8b216 o Add support for a 'nocheckmail' capability, which (if true) prevents
the 'You have mail.' check.  This is useful for sites that rely on
  remote mail access, rather than a local mail spool.  Due to the
  behavior of login_getcapbool(), the negated form is required so as
  to have appropriate results.
o This behavior may have to be independently added to sshd due to
  redundant implementation.
2001-11-16 04:39:16 +00:00
Dima Dorfman
ad3f90f6ca Deuglify the usage message by putting the program name after the
"usage:" string.  This is how most (all?) other programs in the system
do it.

PR:		31596
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-11-15 15:46:45 +00:00
Cy Schubert
dc62834a97 My final rite of FreeBSD is now complete.
Reviewed by:	nectar
Approved by:	nectar
2001-11-15 14:28:03 +00:00
Greg Lehey
4404ab64b0 Remove accidentally included NZ holidays.
Get floating holidays right.

Add the richness of NT holidays.

Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 03:53:57 +00:00
Greg Lehey
7cebf61f75 Add public holidays in Australia and New Zealand.
Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 02:35:14 +00:00
Patrick Li
795bbcbdaa Follow tradition and add myself
Approved by:	lioux
2001-11-15 02:27:48 +00:00
Andrew R. Reiter
357cfee7e6 Never added my entry which the committers guide says is a
tradition.
2001-11-13 17:44:40 +00:00
Alfred Perlstein
7e440a74e8 Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
Gregory Neil Shapiro
6dbfffa308 Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation was
replaced with the new version in sendmail's distribution, vacation and
the necessary libraries (libsmdb and libsmutil) were changed so they
were always compiled.  This broke people who didn't checkout
src/contrib/sendmail/.  I don't know if it's best to think of NO_SENDMAIL
as no sendmail sources available or no sendmail binary.  It is now the former.

Also, remove the sendmail chapter from System Managers Manual (SMM) if
NO_SENDMAIL is defined (for similar reasons -- source not available).

PR:		31863, 31865
Submitted by:	matusita, Joe Kelsey <joe@zircon.seattle.wa.us>
MFC after:	3 days
2001-11-11 05:26:59 +00:00
Ian Dowse
650b9e0ed5 Remove an extraneous argument to fprintf that -Wformat noticed.
Reviewed by:	des
2001-11-10 18:39:54 +00:00
Garrett Wollman
07321a183e Actually, arc4random() returns a uint32_t, not an int. Use the correct
constant, just in case uint32_t turns into a `short' ten years from now.
If this is MFC'd it will be necessary to hard-code the constant since
-stable doesn't have UINT32_MAX.
2001-11-08 22:01:35 +00:00
Andrew Gallatin
f776d8e82b fix jot -r on 64-bit platforms by teaching it that arc4random outputs
an int, not a long

Submitted by: Paul Herman <pherman@frenchfries.net>
PR#: alpha/31859
2001-11-08 20:49:24 +00:00
Mike Heffner
0ea56610b4 Don't allocate a zero byte segment.
PR:		bin/11900
MFC after:	2 weeks
2001-11-08 16:47:05 +00:00
Brian Feldman
dec17687ad Add missing include for <ctype.h>
Make sockaddr printing code unbad.

Always copy in sizeof(sockaddr_un) bytes for an AF_UNIX sockaddr,
despite what the length may be.
2001-11-06 19:26:51 +00:00
David Malone
b628b0dce5 Anding the fsid with 0xffff was causing aliasing problems.
PR:		17405, 16320
Submitted by:	Mark W. Krentel <krentel@dreamscape.com>
Submitted by:	Peter Edwards <peter.edwards@ireland.com>
MFC after:	2 weeks
2001-11-05 20:40:24 +00:00
David Malone
c5250ed112 Make filenames const to avoid a few warnings.
Add FreeBSD tags.

Reviewed by:	cmp
2001-11-05 20:33:40 +00:00
David Malone
ebf362130e Don't use gcc -Wall flag. Add FreeBSD: line. 2001-11-05 20:27:17 +00:00
Andrey A. Chernov
e07dd8f70b Add two Russian holidays (by osa)
Lowercase some titles (by me)

PR:		31769
Submitted by:	"Sergey A.Osokin" <osa@FreeBSD.org.ru>
2001-11-05 12:14:12 +00:00
Dima Dorfman
f5b00d08b1 Nuke spaces in front of tabs. 2001-11-04 23:20:52 +00:00
Dima Dorfman
766b57c9d1 Fix compilation with -DDEBUG.
PR:		31536
Submitted by:	Alan Batie <alan@agora.rdrop.com>
2001-11-04 23:15:21 +00:00
David Malone
60b49f05fa Make cmp work by mmapping chunks of a file, rather than the whole
file at one time.

PR:		24732
Submitted by:	Andrew L. Neporada <andr@dgap.mipt.ru>
MFC after:	2 weeks
2001-11-04 21:31:16 +00:00
Shigeyuki Fukushima
7d97970f9d Add myself. 2001-11-04 09:13:59 +00:00
MANTANI Nobutaka
4ab54bbe12 Add myself.
Reviewd by: knu
2001-11-03 19:09:41 +00:00
Dag-Erling Smørgrav
f2a871e75b Remove a debugging warnx() that got committed by mistake. 2001-11-03 01:31:46 +00:00
David E. O'Brien
2335a3d70a Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
The biggest thing missing from Bell-Labs AWK is the character class regexes.
2001-11-02 23:48:32 +00:00
Alfred Perlstein
c7a2aa5dfc In order to perform faster when doing "head -n", use a pair of
fgetln/fwrite instead of getc/putchar, this seems about five times
faster.
2001-11-02 09:27:16 +00:00
Alfred Perlstein
c16b5e4f8a change a global into a local, misc style fixes 2001-11-02 09:21:11 +00:00
David E. O'Brien
37397b32c9 Really fix this work to work. While rev 1.24 did allow awk to run w/o
complaining; the resulting output was useless.
2001-11-01 02:16:10 +00:00
David E. O'Brien
c61f74b1f6 Utilize the property of 'echo' in that it removes \n from its input. 2001-11-01 01:50:38 +00:00
Brian Feldman
3fc980b135 Add -K support to gprof(1), which enables dynamic symbol resolution from
the currently-running kernel (and supercedes an executable file argument
given).  With this change, properly-compiled KLD modules are now
able to be profiled.

Obtained from:	NAI Labs CBOSS project
Funded by:	DARPA
2001-10-30 15:54:09 +00:00
David E. O'Brien
43cfcf106d Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
Matthew Dillon
5fb4dbe1a0 localtime() was being called on an int pointer (due to recent
utmp-related commits).  fixed.
2001-10-29 00:34:20 +00:00
Matthew Dillon
54109b3e31 Fix long format mismatch with int arg 2001-10-29 00:32:58 +00:00
Robert Watson
0cd9461353 o Restore previous inconsistent style to login_fbtab.c, following its
modification to add glob support.  The submitted patch used a degraded
  form of KNF.

Reviewed by:	bde
2001-10-28 22:54:16 +00:00
Matthew Dillon
46ca39e2ba Fix time_t == int assumption, convert protocol int to time_t. 2001-10-28 20:26:54 +00:00
Matthew Dillon
91d37f1692 Fix time_t == int assumption, properly convert protocol int to time_t. 2001-10-28 20:24:51 +00:00
Jens Schweikhardt
7916863d82 Make this compile cleanly when warnings are enabled:
- ANSIfy function declarations
 - braces around initializers structs within structs
 - add parens in complicated expressions
 - disambiguate dangling elses
 - no more implicit int
 - make functions static where possible
 - use prototypes
 - don't use varargs hack for diag()

Requested by: joerg
MFC after:	2 weeks
2001-10-28 18:35:32 +00:00
Greg Lehey
e0c29ee5cb Correct James Cook's year of birth. I wonder how anybody could expect
him to have been born in the 15th century.
2001-10-27 02:51:59 +00:00