Commit Graph

4515 Commits

Author SHA1 Message Date
cy
f2e1c31bea My final rite of FreeBSD is now complete.
Reviewed by:	nectar
Approved by:	nectar
2001-11-15 14:28:03 +00:00
grog
4827d8d48e 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
grog
ed0f61b4cf Add public holidays in Australia and New Zealand.
Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 02:35:14 +00:00
pat
34b97e73d9 Follow tradition and add myself
Approved by:	lioux
2001-11-15 02:27:48 +00:00
arr
c20d0cf9eb Never added my entry which the committers guide says is a
tradition.
2001-11-13 17:44:40 +00:00
alfred
ae8c4c565e Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
gshapiro
c392a88ad0 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
iedowse
526c677d03 Remove an extraneous argument to fprintf that -Wformat noticed.
Reviewed by:	des
2001-11-10 18:39:54 +00:00
wollman
e68b7c9ebf 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
gallatin
243eea3da8 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
mikeh
571866fa14 Don't allocate a zero byte segment.
PR:		bin/11900
MFC after:	2 weeks
2001-11-08 16:47:05 +00:00
green
b9c07fd74b 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
dwmalone
8a1a60f839 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
dwmalone
3e00db61ef Make filenames const to avoid a few warnings.
Add FreeBSD tags.

Reviewed by:	cmp
2001-11-05 20:33:40 +00:00
dwmalone
c296aeaf7d Don't use gcc -Wall flag. Add FreeBSD: line. 2001-11-05 20:27:17 +00:00
ache
d934e95e35 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
dd
4e2319fe86 Nuke spaces in front of tabs. 2001-11-04 23:20:52 +00:00
dd
1865b7516d Fix compilation with -DDEBUG.
PR:		31536
Submitted by:	Alan Batie <alan@agora.rdrop.com>
2001-11-04 23:15:21 +00:00
dwmalone
473a686e79 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
shige
d84adcb457 Add myself. 2001-11-04 09:13:59 +00:00
nobutaka
e4e8866034 Add myself.
Reviewd by: knu
2001-11-03 19:09:41 +00:00
des
572d6d9be0 Remove a debugging warnx() that got committed by mistake. 2001-11-03 01:31:46 +00:00
obrien
2fd0cade3f 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
883f7cf969 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
558e29c5a0 change a global into a local, misc style fixes 2001-11-02 09:21:11 +00:00
obrien
cf94102c07 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
obrien
299c3dd9bc Utilize the property of 'echo' in that it removes \n from its input. 2001-11-01 01:50:38 +00:00
green
85a9f299f9 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
obrien
4a5f2e9cc5 Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
dillon
d9ab71bc3b localtime() was being called on an int pointer (due to recent
utmp-related commits).  fixed.
2001-10-29 00:34:20 +00:00
dillon
9547eabc59 Fix long format mismatch with int arg 2001-10-29 00:32:58 +00:00
rwatson
4037e00a24 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
dillon
a3b99516b8 Fix time_t == int assumption, convert protocol int to time_t. 2001-10-28 20:26:54 +00:00
dillon
f698090450 Fix time_t == int assumption, properly convert protocol int to time_t. 2001-10-28 20:24:51 +00:00
schweikh
ff38fb0e73 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
grog
20c27854cf 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
rwatson
d319d0a53b o Modify format of /etc/fbtab to accept glob matching patterns for
target devices, not just individual devices and directories.  This
  permits activities such as:

	ttyv0		0600	/dev/dsp*

  Whereas previously that was not supported.  This change is
  backwards-compatible, except where device names included globbing
  characters, which is not the case for any devices listed in MAKEDEV.

Submitted by:	Maxime Henrion <mux@qualys.com>
MFC after:	3 weeks
2001-10-25 20:45:47 +00:00
grog
3c003a665b Update Labour Day in New Zealand. It's definitely not today. This
year it was on 22 October, which makes me think that it's the 4th
Monday in October.  At least this way it's correct for this year.
2001-10-25 00:01:06 +00:00
murray
49aab78a84 Fix typo.
PR:		docs/31388
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-10-23 20:27:06 +00:00
peter
bd8ef90209 Add ia64 support (stubs, just like i386, alpha) 2001-10-23 10:12:10 +00:00
dd
316b09762f This program uses sysexits(3), so it does not exit 1 on failure.
PR:		31415
2001-10-23 00:47:27 +00:00
des
7a633d0499 Back out part of previous commit: remove #include <sys/proc.h>. 2001-10-22 15:32:12 +00:00
des
18f9515264 #include <sys/proc.h> where needed (for the stop event definitions) and
reorder includes everywhere to conform to style(9).
2001-10-22 02:02:00 +00:00
des
90be41ff5d Teach truss(1) to display sockaddrs. It currently knows about AF_INET,
AF_INET6 and AF_UNIX sockaddrs, and will recognize accept(), bind(),
connect(), getpeername() and getsockname() as syscalls taking sockaddr
arguments.  Some enterprising soul might want to add (and test) support
for the send() / recv() family of syscalls as well.

MFC after:	1 week
2001-10-21 21:57:10 +00:00
schweikh
49b9e95f88 Properly handle backslash newline within an identifier or keyword.
PR:		bin/6015
Submitted by:	myself (schweikh)
Patch by:	Alexey V.Neyman <alex.neyman@auriga.ru>
Tested by:	indenting my chess problem solver and running its test suite
MFC after:	3 weeks
2001-10-19 19:10:36 +00:00
bde
cd74f31039 Fixed most style bugs in previous commit. 2001-10-19 12:27:26 +00:00
bde
5667be14fe Fixed missing DPADD and misplaced $FreeBSD$ in previous commit. 2001-10-19 12:15:56 +00:00
mdodd
cc2750c4a1 Print statistics for AF_IPX.
Note that the IPX code doesn't update these correctly yet, but should.
2001-10-19 00:40:51 +00:00
mdodd
7fc1eccefc Add libedit support to tftp. 2001-10-19 00:23:07 +00:00
mike
3997cf6e35 Remove some EOL whitespace. Update usage() to current reality. 2001-10-17 16:28:12 +00:00