Commit Graph

16289 Commits

Author SHA1 Message Date
steve
9b222d6b6a Be sure to remove any newlines encountered when
parsing the input file in ParseSkipLine(...).
1996-09-23 17:21:34 +00:00
bde
0f0cfd5fc9 cpp was named ccp. 1996-09-23 16:12:38 +00:00
asami
7bdb586f14 Look on the CDROM for patch files too.
Submitted by:	max

While I'm here, add "${DIST_SUBDIR}/" at end of CDROM pathnames.  Also
add an empty declaration of PATCH_SITES next to MASTER_SITES to avoid
"variable recursive" error.
1996-09-23 09:27:59 +00:00
peter
d984089805 call srandom() during the boot to start the sequence with a slightly less
predictable seed.
1996-09-23 04:37:54 +00:00
peter
cefec8a433 add simple srandom() and prototype 1996-09-23 04:31:43 +00:00
peter
58119af893 Crude hack to work around cpp.1 doing a .so man1/cccp.1
Pointed out by: Warner Losh <imp@village.org>, PR#1667
1996-09-23 04:14:30 +00:00
alex
944cf76d20 Fix typo from previous commit (tsvsec --> tv_sec). 1996-09-23 03:54:53 +00:00
wosch
361a15b8f4 add forgotten $Id$ 1996-09-22 21:56:57 +00:00
phk
880849a80e Remove length field from utrace entries. 1996-09-22 18:18:20 +00:00
phk
332739d607 Remove the extra length field from the utrace entries. It's redundant. 1996-09-22 18:17:51 +00:00
wosch
a6fa8425e2 add a.core entity for FreeBSD core team
use E-Mail entities if possible, except for 386BSD Patch kit section
1996-09-22 15:40:46 +00:00
bde
44abc9ff3d Reformatted FreeBSD additions to match 4.4Lite style. Mixed tabs and
spaces after #define's look ugly in diffs.
1996-09-22 14:57:44 +00:00
ache
1c313429bb Fix one byte buffer overflow
Submitted by: Eric Allman <eric@sendmail.org>
1996-09-22 14:57:00 +00:00
bde
b11dd427e0 Fixed annoying non-null output for `make depend'. SRCS should only
be used for C, C++ and assembler sources if <bsd.prog.mk> is
included.  It was used for general files.  This caused the __depend_*
lists in <bsd.dep.mk> to be empty, so mkdep was never run, so
.depend never existed, so it was always out of date, so `rm -f
.depend' was always executed to update it.
1996-09-22 14:45:23 +00:00
dg
e461bbf70b Fixed a bug with the management of the pointer to the first TxCB in the
ring that caused wrong things to happen sometimes.
Doubled the number of transmit descriptors to 128 so that the internal
FIFO in the NIC can be fully filled when dealing with small packets.
Several minor performance improvements.
1996-09-22 11:48:54 +00:00
jkh
68bee81cc1 Properly boldify all list items and correct a syntax error. 1996-09-22 09:29:09 +00:00
imp
955d71703a Fix a possible syntax error in rc when swapfile isn't defined at all.
This can happen when the user is upgrading from an older version and
his/her sysconfig file doesn't have swapfile defined to be NO in it.
1996-09-22 06:36:49 +00:00
gpalmer
1e159b65f1 Remove the code that renices +4 a process that has had 10 minutes of
CPU time. I find it slightly annoying on one of our servers here.

Also disliked by: David Greenman
1996-09-22 06:35:24 +00:00
imp
c04f619292 Reviewed by: Bill Fenner <fennder@parc.xerox.com>
Reviewed by:	Garrett Wollman <wollman@freebsd.org>
Submitted by:	Warner Losh <imp@village.org>
Close PR bin/1145:
	Add -s flag to tftpd.  This enables the so-called secure mode
of tftpd where it chroots to a given directory before allowing access
to the files.  In addition, it runs as nobody when in this mode.
Reviewed a long time ago by Bill and Garrett.  Apply my patch from the
pr, and close the PR.
1996-09-22 04:19:27 +00:00
steve
a43b707795 Fix for PR# 1095, make's continuation line handling buggy
when used with .elif.  Additional fixes include:

    - fix continuation line handling when using .for
    - plug up a memory leak
1996-09-22 02:28:36 +00:00
steve
29accf9e0f Fix for PR# 1427, yacc-generated parser generates warnings
with -Wall.  Tim's work with some minor additions by me.

Submitted by:	Tim Vanderhoek <hoek@freenet.hamilton.on.ca>
1996-09-22 02:05:53 +00:00
pst
365fa6d6f8 Fix some compilation warnings 1996-09-22 01:05:21 +00:00
pst
69c1743fff Fix up some compilation warnings. 1996-09-22 00:55:46 +00:00
jkh
d5953cd2b2 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
ache
ed571fa244 Fix & expansion (from pw_gecos field), sizeof buf used when
buf is pointer, not array, buflen must be used instead.
Charlie & from root name was expanded to junk as result.
1996-09-21 23:37:35 +00:00
wosch
2776d240a5 Improve comments, sync sh/csh scripts if possible. 1996-09-21 21:35:47 +00:00
pst
8ddc5c2acb Fix some compilation warnings. 1996-09-21 18:01:23 +00:00
jkh
25c24d56c4 Note that EtherPower 2 is supported.
Submitted-By: Doug White <dwhite@gdi.uoregon.edu>
1996-09-21 17:51:46 +00:00
jkh
21cce4367c Nuke a trailing .endif which survived Peter's last edits. 1996-09-21 17:49:45 +00:00
wosch
d3f8d45ce4 fix .Xr macro 1996-09-21 15:08:10 +00:00
bde
9bcb122232 Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>:
- don't include <sys/ioctl.h> in any header.  Include <sys/ioccom.h>
  instead.  This was already done in 4.4Lite for the most important
  ioctl headers.  Header spam currently increases kernel build
  times by 10-20%.  There are more than 30000 #includes (not counting
  duplicates) for compiling LINT.
- include <sys/types.h> if and only it is necessary to make the header
  almost self-sufficient (some ioctl headers still need structs from
  elsewhere).
- uniformized idempotency ifdefs.  Copied the style in the 4.4Lite
  ioctl headers.
1996-09-21 14:59:43 +00:00
bde
178a446971 Include <sys/filio.h> explicitly - don't depend on <machine/soundcard.h>
bogusly defining non-soundcard ioctls.
1996-09-21 14:53:28 +00:00
peter
bc8f99d2a6 Remove SHARED_LIBCC_INT sample, it's gone and has been a do-nothing option
since the cc1/cc1plus backends were linked static some time ago.
1996-09-21 14:30:23 +00:00
peter
e18a0a6953 Remove the partial support for a shared -lcc_int, since it's been unusable
for a fair while.  cc1, cc1plus etc have been linked static for some time.
1996-09-21 14:27:38 +00:00
bde
1c908a85b7 Moved the prototype for ioctl() from <sys/ioctl.h> to <sys/ioccom.h>
so that applications don't have to include <sys/ioctl.h> just to get
a prototype for ioctl().
1996-09-21 08:42:37 +00:00
bde
2d23099e28 Who would have though that dmesg didn't understand message buffers?
Fixed the following bugs:
- the buffer was reprinted endlessly when msg.bufx == 0 and (for a
  different reason) when msg.bufx == 1.
- the last byte of the buffer wasn't printed except in the the infinite
  loop cases.
- the comment about walking the buffer didn't match the (correct) code.
- minor -Wall and style bugs.
Not fixed:
- excessive newline processing which hid the non-printing of the last
  byte of the buffer.
1996-09-21 08:11:22 +00:00
jkh
52fe065ab8 Note that Adaptec 1510 controller is supported (via aic0 driver).
Submitted-By: Phil Gilley <pgilley@metronet.com>
1996-09-21 06:47:27 +00:00
pst
32aae00362 I don't understand, I committed this fix (move a counter and fixed a typo)
this evening.

I think I'm going insane.
1996-09-21 06:39:20 +00:00
ache
4b550cd4a8 Syntax error: so_incom -> so_incomp 1996-09-21 06:30:06 +00:00
peter
a60b7660f3 ".Xr chflags 1," -> ".Xr chflags 1 ," 1996-09-21 06:28:55 +00:00
ache
108ba3295d Unlocalize date 1996-09-21 06:06:41 +00:00
steve
c2d4b0268c Fix for PR#1230, make ``.for'' loops iterate backwards. 1996-09-21 04:00:22 +00:00
bde
53961e2108 Fiexed CFLAGS. Compiling things in the kernel without -O now causes
zillions of warnings about static inline functions because `inline'
is ignored without -O.
1996-09-21 01:51:11 +00:00
pst
dd5375bf7c If the incomplete listen queue for a given socket is full,
drop the oldest entry in the queue.

There was a fair bit of discussion as to whether or not the
proper action is to drop a random entry in the queue.  It's
my conclusion that a random drop is better than a head drop,
however profiling this section of code (done by John Capo)
shows that a head-drop results in a significant performance
increase.

There are scenarios where a random drop is more appropriate.
If I find one in reality, I'll add the random drop code under
a conditional.

Obtained from: discussions and code done by Vernon Schryver (vjs@sgi.com).
1996-09-20 21:25:18 +00:00
bde
6b0658e42a Fixed bogus obj target (found by objwarn check).
Removed unnecessary clean and cleandir targets.  The defaults are
adequate and we never bothered overriding the default for all,
depend, lint or tags.,
1996-09-20 18:04:26 +00:00
bde
7ac8c0c4b9 Don't include <sys/conf.h> for the kernel in disk-related headers.
It is needed for implementation details but very little of it is
needed for the interface.  Include it in the few places that didn't
already include it.

Include <sys/ioccom.h> in <sys/disklabel.h> (as already in
<sys/diskslice.h>) so that all the disk-related headers are almost
self-sufficient.
1996-09-20 17:39:44 +00:00
bde
4d197a331f Changed an arg name in the pseudo-prototype for bzero() to match
the prototype.

Put the jump table for i486_bzero() in the data section.  This
speeds up i486_bzero() a little on Pentiums without significantly
affecting its speed on 486's.

Don't waste time falling through 14 nop's to return from do1 in
i486_bzero().

Use fastmove() for counts >= 1024 (was > 1024).  Cosmetic.

Fixed profiling of fastmove().

Restored meaningful labels from the pre-1.1 version in fastmove().
Local labels are evil.

Fixed (high resolution non-) profiling of __bb_init_func().
1996-09-20 16:52:09 +00:00
bde
4f06fd8811 Added a `checkdpadd' target to help check that ${DPADD} is consistent with
${LDADD}.  It doesn't handle internal libraries very well yet.
1996-09-20 16:17:07 +00:00
bde
038b1c702c Fixed and simplified `whereobj' rule. Use the not-so-new -V feature.
Echoing ${.OBJDIR} would work. but -V is more general.
1996-09-20 16:08:21 +00:00
bde
f8272254ec Fixed order and whitespace of examples/cvs entries. 1996-09-20 15:07:39 +00:00