Commit Graph

5092 Commits

Author SHA1 Message Date
Wolfram Schneider
04ec069eb0 update URL and copyright 2000-10-20 18:27:53 +00:00
Wolfram Schneider
7089ec586f Added upcoming FreeBSD 4.2 2000-10-20 18:21:44 +00:00
Poul-Henning Kamp
1921a06d6a Introduce the M_ZERO flag to malloc(9)
Instead of:

        foo = malloc(sizeof(foo), M_WAIT);
        bzero(foo, sizeof(foo));

You can now (and please do) use:

        foo = malloc(sizeof(foo), M_WAIT | M_ZERO);

In the future this will enable us to do idle-time pre-zeroing of
malloc-space.
2000-10-20 17:54:55 +00:00
Mike Pritchard
18157703d5 Remove bogus xref.
PR:		docs/22125
Submitted by:	Keith Jones <keith@sse0691.bri.hp.com>
2000-10-20 05:59:51 +00:00
Josef Karthauser
c5bb0e9394 Scripts should contain a comment block describing what the script does. 2000-10-19 18:18:35 +00:00
Josef Karthauser
22bbcf38a7 Reference Larry Wall's perlstyle man page, and recommend it's use where
entries in this guide don't override it.

Requested by:	markm

Comment on tabulation style.
2000-10-18 21:57:37 +00:00
Josef Karthauser
e6e692447c Use 'unless' instead of 'if (! ... )' where it improves readability. 2000-10-18 18:01:35 +00:00
Josef Karthauser
32d219825c Opening braces should be at the end of the controlling line. Else
and elsif belong on the same line as the closing brace for the
previous if or elsif block.

Suggested by:	des
2000-10-18 17:48:10 +00:00
Josef Karthauser
a2a307a14d Contract a statement that's too verbose. 2000-10-18 17:34:43 +00:00
Josef Karthauser
a669270dee There are enough examples of using 'my $var = ...' definitions, so remove
one.
2000-10-18 17:32:21 +00:00
Josef Karthauser
a4d70fdb47 All variables should be commented.
Local variables should be separated from function arguments by a
blank line.

Suggested by:	des
2000-10-18 17:25:59 +00:00
Josef Karthauser
ab6f5f0d9c Make subroutine prototypes mandatory.
The main code should be wrapped in a MAIN:{ ... } declaration.

Suggested by:	des
2000-10-18 17:21:54 +00:00
Josef Karthauser
d17bce98be Fix the places that I missed last commit: 'vars' not 'var'. 2000-10-18 17:12:07 +00:00
Josef Karthauser
e77c53b0be Correction: 'use vars ..' not 'use var'.
Submitted by:	des
2000-10-17 15:50:22 +00:00
Josef Karthauser
fa0be99954 Build and install the perl.style(7) manual page. 2000-10-17 15:33:29 +00:00
Josef Karthauser
e79ac7ee3a Reclarify variable definition blocks.
Ask programmers to use modules where possible instead of reinventing
  the wheel.
Use 'chomp' not 'chop' please.
Fixup some mdoc.
2000-10-17 15:32:57 +00:00
Roger Hardiman
0eed4af9fa Fix error in sample code in the man page 2000-10-17 08:27:18 +00:00
Josef Karthauser
3194300995 An initial draft of a style guide for perl scripts in the tree. 2000-10-17 02:51:03 +00:00
Doug Rabson
0d409bfdac Add section for building ia64 kernels. 2000-10-16 20:04:52 +00:00
Mark Murray
67297998c8 Add a man page for part of the PRNG API. 2000-10-14 16:16:42 +00:00
David E. O'Brien
c13ded1868 Add `isoC-99' to the list of availble abbreviations. 2000-10-11 19:30:41 +00:00
Joseph Koshy
1f49176099 Minor doc tweaks: reorder the "SEE ALSO" section alphabetically; add
punctuation.
2000-10-11 10:46:12 +00:00
Archie Cobbs
a3fef8df1c Minor clarification about the "bypass" hook. 2000-10-10 20:07:11 +00:00
Gregory Neil Shapiro
31923af7ce Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.

PR:		19790
2000-10-10 18:08:19 +00:00
Hellmuth Michaelis
933d8a8e74 update i4b version to 0.96.00 2000-10-10 14:16:55 +00:00
David E. O'Brien
dc2e4f165a Removed the FreeBSD ID I was forced to add in rev 1.9. 2000-10-10 08:53:27 +00:00
Gregory Neil Shapiro
3dc4512aef Remove LIBRSAGLUE, add LIBSSL
Reviewed by:	kris
2000-10-10 06:17:51 +00:00
Hellmuth Michaelis
7925558e0a update to i4b version 0.95.04
This commit adds the ReleaseNotes file which contains a list of major i4b
changes happened since the last version comitted to FreeBSD (0.90.01).
2000-10-09 16:01:36 +00:00
Adrian Chadd
da7e7114d1 Reviewed by: rwatson, bp
Approved by:	rwatson
Obtained from:	NetBSD source tree

Second part of the fsck wrappers commit. This commit enables the new fsck
code (removing the fsck/* code and replacing it with the netbsd fsck
wrapper code), and enabling some FFS-based utilities to compile.

Details:

* quotacheck, fsdb required modification to use the fsck_ffs/ code rather
  than fsck/ . This might change later since quotacheck requires preen.c
  which should exist in fsck/ rather than fsck_ffs/

* src/Makefile has fsck_ffs added to it so it it built as part of the tree
  now

* share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck.

I've tested this, and it shouldn't require any changes on your machine.
The fsck wrapper reads /etc/fsck and is command-line-compatible enough
to not require rc changes (well, most changes unless you want to do
anything nifty by specifying the fs types explicityly, read the man page
if you want further details on what it can do.)

This now allows us to support multiple filesystem types during bootup.
2000-10-09 10:23:31 +00:00
Poul-Henning Kamp
f6b5c74c35 Initiate deorbit burn sequence for <machine/mouse.h>.
Replace all in-tree uses with <sys/mouse.h> which repo-copied a few
moments ago from src/sys/i386/include/mouse.h by peter.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/mouse.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/mouse.h> files will be removed.
2000-10-09 08:08:36 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
David E. O'Brien
82861c11a9 Use <space> not <tab> before VCS ID. 2000-10-08 19:15:49 +00:00
Alexander Langer
278108f1f8 Give the post-fix example a better description.
PR:		21646
Submitted by:	"Peter Pentchev" <roam@orbitel.bg>
2000-10-07 14:34:26 +00:00
Brian Somers
e6e7337683 Index: Makefile
===================================================================
RCS file: /home/ncvs/src/share/man/man9/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile	2000/09/17 12:15:12	1.75
+++ Makefile	2000/10/06 23:24:26
@@ -69,6 +69,8 @@
 MLINKS+=make_dev.9 destroy_dev.9
 MLINKS+=malloc.9 FREE.9 malloc.9 MALLOC.9 malloc.9 free.9
 MLINKS+=mi_switch.9 cpu_switch.9
+MLINKS+=namei.9 NDINIT.9
+MLINKS+=namei.9 NDFREE.9
 MLINKS+=posix4.9 p1003_1b.9
 MLINKS+=psignal.9 gsignal.9 psignal.9 pgsignal.9
 MLINKS+=rtalloc.9 rtalloc1.9 rtalloc.9 rtalloc_ign.9
2000-10-06 23:29:11 +00:00
Archie Cobbs
c74e4702c0 .Os FreeBSD instead of just plain .Os
Submitted by:	ru
2000-10-06 19:47:00 +00:00
Alexander Langer
2aac89be6d * I don't think that ed-devices are still "high performance ethernet device"s. Change that to "ethernet device".
* Update synopsis for the new config-style: just "device ed".

* PCI and PC Card devices are also supported.
2000-10-06 19:44:09 +00:00
Darren Reed
7a76642f3c This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  If all goes well
with this over the next few weeks, the PR will be closed with the
pullup of patches back to 4-STABLE.

PR:		20202
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
Reviewed by:	Darren Reed <darrenr@freebsd.org>
Approved by:	Darren Reed <darrenr@freebsd.org>
Obtained from:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-10-06 12:24:45 +00:00
Paul Saab
e8af5965e2 Correct who pioneered the accept filters and Yahoo!'s company name. 2000-10-06 10:51:24 +00:00
Ruslan Ermilov
25139dab53 Add missing escape sequences, -mdoc'ify. 2000-10-06 08:40:52 +00:00
Ruslan Ermilov
f38ca148a6 Simple -mdoc fixes. 2000-10-06 08:33:43 +00:00
Archie Cobbs
0df7bc0fe3 Man page for the ichsmb SMBus controller driver. 2000-10-06 00:10:31 +00:00
Scott Long
d6d17952ae The aac driver manual page
Reviewed by:	sheldonh@freebsd.org
2000-10-05 20:44:17 +00:00
Scott Long
7ddb84c9ba Add the manual page for the aac device.
Reviewed by:	sheldonh@freebsd.org
2000-10-05 20:42:42 +00:00
Bill Paul
bd57768e0f Add the card ID for the Am79c975 PCnet/FAST III card. This is a variant
of the Am79c973 with "AlertIT Technology," whatever that is. Also mention
support for the PCnet/FAST III cards in the documentation. The
PCnet/FAST III chips have integrated 10/100 PHYs.
2000-10-05 19:40:19 +00:00
Sheldon Hearn
803516cb70 Mention pccard_beep.
Requested by:	sanpei
2000-10-05 07:22:58 +00:00
Brian Somers
944fae23f3 Add a unaligned_print option (alpha only)
Document osf1_enable

Submitted by:	Eric D. Futch <efutch@nyct.net>
PR:		21649
2000-10-04 18:58:46 +00:00
Mark Ovens
b6cd2dbdc5 Change macros Em -> Dv.
Also removed hard sentence breaks introduced in my last commit.

Suggested by:	sheldonh
2000-10-03 22:51:27 +00:00
Bill Paul
e0b8bc252f Add support for the AMD Am79c976 PCnet/PRO controller chip. For now
this just involves adding the chip ID to the supported list: the PCnet/PRO
is compatible with the PCnet/FAST+ and friends and should "just work"
with this driver.

Also try to handle mbuf allocation failures in the receive handler
more gracefully.
2000-10-03 18:11:36 +00:00
Søren Schmidt
6a0bf19b38 Update with all the new chipsets.. 2000-10-03 15:29:44 +00:00
Murray Stokely
05f976924e Fix typo : s/maintaince/maintenance/ 2000-10-03 07:38:41 +00:00