]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoReviewed by: Warner Losh <imp@village.org>
Warner Losh [Fri, 1 Nov 1996 18:46:05 +0000 (18:46 +0000)]
Reviewed by: Warner Losh <imp@village.org>
Submitted by: Marc Slemko <marcs@znep.com>
Obtained from: OpenBSD

Add -0 for reading the results of find -0.

27 years agoUse fprintf(stderr,) instead of msgtail() so it works for restore as well.
Bill Fenner [Fri, 1 Nov 1996 17:23:41 +0000 (17:23 +0000)]
Use fprintf(stderr,) instead of msgtail() so it works for restore as well.

27 years agoAdd -z to CVSupflags, it iz safe because it is done by zlib,
Andrey A. Chernov [Fri, 1 Nov 1996 17:12:07 +0000 (17:12 +0000)]
Add -z to CVSupflags, it iz safe because it is done by zlib,
not by extra gzip child

27 years agoTemporarily disable an information message that was added in the last
Peter Wemm [Fri, 1 Nov 1996 13:02:20 +0000 (13:02 +0000)]
Temporarily disable an information message that was added in the last
commit..  This causes a link error in sbin/restore which also uses this
file.

27 years agoUpdate to use the recommended recovery procedure from nvi-1.76.
Peter Wemm [Fri, 1 Nov 1996 09:45:51 +0000 (09:45 +0000)]
Update to use the recommended recovery procedure from nvi-1.76.
This is a lot more robust and handles errors a lot better.  It also cleans
up stray, hopeless, or unmodified files rather than leaving them there
forever.

27 years agoFixed cualc and cualD minor numbers which I broke in the previous commit.
Bruce Evans [Fri, 1 Nov 1996 08:49:13 +0000 (08:49 +0000)]
Fixed cualc and cualD minor numbers which I broke in the previous commit.

27 years agoYikes, I forgot to remove the -DSYSV_CURSES setting that I was using on
Peter Wemm [Fri, 1 Nov 1996 08:34:51 +0000 (08:34 +0000)]
Yikes, I forgot to remove the -DSYSV_CURSES setting that I was using on
one of the machines I was testing on. (This was to get it to use the
sysv extensions in ncurses)

27 years agoRemove the old nvi-1.34, it has served us well but it's time has come..
Peter Wemm [Fri, 1 Nov 1996 08:25:51 +0000 (08:25 +0000)]
Remove the old nvi-1.34, it has served us well but it's time has come..

(It was tagged immediately prior to removal with the tag "nvi_1_34_final")

27 years agoUpdate to use nvi-1.79 sources
Peter Wemm [Fri, 1 Nov 1996 08:16:24 +0000 (08:16 +0000)]
Update to use nvi-1.79 sources

27 years agoAdd nvi-1.79 directories
Peter Wemm [Fri, 1 Nov 1996 08:00:37 +0000 (08:00 +0000)]
Add nvi-1.79 directories

27 years agoUse the src/contrib sources from nvi-1.79
Peter Wemm [Fri, 1 Nov 1996 07:57:08 +0000 (07:57 +0000)]
Use the src/contrib sources from nvi-1.79

27 years ago(1) Add NetBSD support. Closes PR bin/1643.
Satoshi Asami [Fri, 1 Nov 1996 07:22:37 +0000 (07:22 +0000)]
(1) Add NetBSD support.  Closes PR bin/1643.
Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>

(2) Remove the bogus "CAT+=" definition.  Closes PR ports/1703.
Submitted by: Peter Childs <pjchilds@imforei.apana.org.au>

(3) Change MKDIR to "/bin/mkdir -p", remove "-p" from ${MKDIR}
    invocations.  Closes PR ports/1901.
Submitted by: obrien

(4) Add a new macro variable COMPRESS_MAN, which will evaluate to gzip
    if NOMANCOMPRESS isn't set (default), or true if it is.

(5) Add a new variable NO_CHECKSUM, which will disable the md5 checksum.
Submitted by: jkh

(6) Also, move NO_PATCH and NO_PACKAGE checks to right place in
    invocation order.

(7) Check for LIB_DEPENDS before installation too.  (It used to check
    only before extraction.)
Forgotten a long time ago by: asami

27 years agoThis commit was generated by cvs2svn to compensate for changes in r19304,
Peter Wemm [Fri, 1 Nov 1996 06:45:43 +0000 (06:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r19304,
which included commits to RCS files with non-trunk default branches.

27 years agoImport of nvi-1.79, minus a few bits that we dont need (eg: postscript
Peter Wemm [Fri, 1 Nov 1996 06:45:43 +0000 (06:45 +0000)]
Import of nvi-1.79, minus a few bits that we dont need (eg: postscript
files, curses, db, regex etc that we already have).  The other glue will
follow shortly.

Obtained from: Keith Bostic <bostic@bostic.com>

27 years agoFix minor buffer problems:
Warner Losh [Fri, 1 Nov 1996 06:29:34 +0000 (06:29 +0000)]
Fix minor buffer problems:
Off by one in verify allowed one to march one byte off the end of
wd.wd_hostname if wd.wd_hostname had no NUL characters in it.

strncpy of myname into mywd used the source buffer's length, rather
than the dest.

27 years agoDoc updates and cleanups made with the bind-4.9.4 update some time ago.
Peter Wemm [Fri, 1 Nov 1996 06:29:00 +0000 (06:29 +0000)]
Doc updates and cleanups made with the bind-4.9.4 update some time ago.
I thought I had committed these, but it seems not.

27 years agoAdd an "officially undocumented" tweak for squid so that it can see the
Peter Wemm [Fri, 1 Nov 1996 06:25:43 +0000 (06:25 +0000)]
Add an "officially undocumented" tweak for squid so that it can see the
TTL of DNS records that it looks up for it's resolver cache.

Obtained from: Endre Balint Nagy <bne@CareNet.hu>, via squid-1.1.x source.

27 years agoMake rdump error messages a little clearer and make them look like dump
Bill Fenner [Fri, 1 Nov 1996 05:39:10 +0000 (05:39 +0000)]
Make rdump error messages a little clearer and make them look like dump
 messages, and make it explicit that stderr output came from the remote end.
 (e.g. "rmt: command not found")

27 years agoFix incorrect length argument to memset() function. Closes PR#1937.
Alexander Langer [Fri, 1 Nov 1996 01:42:08 +0000 (01:42 +0000)]
Fix incorrect length argument to memset() function.  Closes PR#1937.

Submitted by: Archie Cobbs <archie@whistle.com>

27 years agoadd forgotten variable $locate
Wolfram Schneider [Thu, 31 Oct 1996 22:46:52 +0000 (22:46 +0000)]
add forgotten variable $locate

27 years agoif_sr.c corrupted the global variable `ticks'.
John Hay [Thu, 31 Oct 1996 20:22:40 +0000 (20:22 +0000)]
if_sr.c corrupted the global variable `ticks'.

Cosmetic changes:
if_sr_.c won't compile with a K&R compiler, so there is no need to cast
the timeout arg to the (wrong) type.
Submitted by: bde

27 years agoImprove the sample login script now that our sh(1) understands -p.
Joerg Wunsch [Thu, 31 Oct 1996 19:55:05 +0000 (19:55 +0000)]
Improve the sample login script now that our sh(1) understands -p.

Closes PR # docs/1383: ppp(8) man page suggests using shell script...

27 years agoCorrect a "spelling" error in a comment.
John Dyson [Thu, 31 Oct 1996 17:50:45 +0000 (17:50 +0000)]
Correct a "spelling" error in a comment.

27 years agoRegenerate. This backs out my previous change to TCL_SHLIB_SUFFIX, since
Peter Wemm [Thu, 31 Oct 1996 16:09:04 +0000 (16:09 +0000)]
Regenerate.  This backs out my previous change to TCL_SHLIB_SUFFIX, since
it has side effects elsewhere.

27 years agoBack out a little more of the previous changes. No longer change
Peter Wemm [Thu, 31 Oct 1996 15:57:25 +0000 (15:57 +0000)]
Back out a little more of the previous changes.  No longer change
TCL_SHLIB_SUFFIX, since some tools use it for generating the name of
shared objects for dlopen(), which do not have version numbers.  This
setting is back to "as distributed".

27 years agoUncomment static from collate_range_cmp, no more in locale.h
Andrey A. Chernov [Thu, 31 Oct 1996 14:49:40 +0000 (14:49 +0000)]
Uncomment static from collate_range_cmp, no more in locale.h

27 years agoUncomment static from collate_range_cmp, no more in locale.h
Andrey A. Chernov [Thu, 31 Oct 1996 14:44:24 +0000 (14:44 +0000)]
Uncomment static from collate_range_cmp, no more in locale.h

27 years agoRemove collate_range_cmp
Andrey A. Chernov [Thu, 31 Oct 1996 14:41:30 +0000 (14:41 +0000)]
Remove collate_range_cmp

27 years agoReplace collate_range_cmp call with its code
Andrey A. Chernov [Thu, 31 Oct 1996 14:38:09 +0000 (14:38 +0000)]
Replace collate_range_cmp call with its code

27 years agobin/1933: don't print negative % for huge files (80Mb)
Poul-Henning Kamp [Thu, 31 Oct 1996 14:24:35 +0000 (14:24 +0000)]
bin/1933: don't print negative % for huge files (80Mb)

27 years agoRemove unused file
Andrey A. Chernov [Thu, 31 Oct 1996 08:03:26 +0000 (08:03 +0000)]
Remove unused file

27 years agoLocalize it
Andrey A. Chernov [Thu, 31 Oct 1996 08:01:16 +0000 (08:01 +0000)]
Localize it

27 years agoReplace collate_range_cmp call with its code (GNU version)
Andrey A. Chernov [Thu, 31 Oct 1996 07:45:15 +0000 (07:45 +0000)]
Replace collate_range_cmp call with its code (GNU version)

27 years agoReplace collate_range_cmp call by its code (GNU version)
Andrey A. Chernov [Thu, 31 Oct 1996 07:36:09 +0000 (07:36 +0000)]
Replace collate_range_cmp call by its code (GNU version)

27 years agoReplace collate_range_cmp call with its code
Andrey A. Chernov [Thu, 31 Oct 1996 07:22:48 +0000 (07:22 +0000)]
Replace collate_range_cmp call with its code

27 years ago1) define STATIC as static and not empty
Andrey A. Chernov [Thu, 31 Oct 1996 07:15:57 +0000 (07:15 +0000)]
1) define STATIC as static and not empty
2) replace collate_range_cmp call with its code

27 years agoUse collating info for [a-z]-type national ranges
Andrey A. Chernov [Thu, 31 Oct 1996 06:12:15 +0000 (06:12 +0000)]
Use collating info for [a-z]-type national ranges

27 years agoReplace collate_range_cmp with its code (GNU variant)
Andrey A. Chernov [Thu, 31 Oct 1996 05:14:27 +0000 (05:14 +0000)]
Replace collate_range_cmp with its code (GNU variant)

27 years agoReplace collate_range_cmp call with its code
Andrey A. Chernov [Thu, 31 Oct 1996 04:55:47 +0000 (04:55 +0000)]
Replace collate_range_cmp call with its code

27 years agocollate_range_cmp -> __collate_range_cmp
Andrey A. Chernov [Thu, 31 Oct 1996 04:38:21 +0000 (04:38 +0000)]
collate_range_cmp -> __collate_range_cmp

27 years agocollate_range_cmp -> __collate_range_cmp
Andrey A. Chernov [Thu, 31 Oct 1996 04:32:27 +0000 (04:32 +0000)]
collate_range_cmp -> __collate_range_cmp

27 years agoRename collate_range_cmp to __collate_range_cmp for internal usage
Andrey A. Chernov [Thu, 31 Oct 1996 04:25:14 +0000 (04:25 +0000)]
Rename collate_range_cmp to __collate_range_cmp for internal usage
inside libc. Add collate_range_cmp as alias to __collate_range_cmp
for temp. backward compatibility.
collate_range_cmp will be replaced with direct code for each
external program for compatibility with the rest of world

27 years agoFurther improved version of hadling a HALT when there is no console.
Julian Elischer [Thu, 31 Oct 1996 00:57:28 +0000 (00:57 +0000)]
Further improved version of hadling a HALT when there is no console.

27 years agoFix base64->8bit conversion
Andrey A. Chernov [Thu, 31 Oct 1996 00:45:43 +0000 (00:45 +0000)]
Fix base64->8bit conversion
Submitted by: Eric Allman <eric@sendmail.org>

27 years agoLog daemon.* to /var/log/messages or very valuable daemons messages
Andrey A. Chernov [Thu, 31 Oct 1996 00:29:10 +0000 (00:29 +0000)]
Log daemon.* to /var/log/messages or very valuable daemons messages
lost forever

27 years agoOops, don't suppress initial output header (from previous commit),
Andrey A. Chernov [Thu, 31 Oct 1996 00:03:14 +0000 (00:03 +0000)]
Oops, don't suppress initial output header (from previous commit),
it is superfluous

27 years ago1) print only errors if -v not given, it allows non-verbose
Andrey A. Chernov [Wed, 30 Oct 1996 23:58:08 +0000 (23:58 +0000)]
1) print only errors if -v not given, it allows non-verbose
crontab runnig
2) use full path /usr/bin/mail for security reasons
3) Use time_t instead of long for time (in one place)

27 years agoMore merge and update.
Satoshi Asami [Wed, 30 Oct 1996 22:41:46 +0000 (22:41 +0000)]
More merge and update.

(1) deleted #if 0

    pc98/pc98/mse.c

(2) hold per-unit I/O ports in ed_softc

    pc98/pc98/if_ed.c
    pc98/pc98/if_ed98.h

(3) merge more files by segregating changes into headers.

  new file (moved from pc98/pc98):

    i386/isa/aic_98.h

  deleted:

    well, it's already in the commit message so I won't repeat the
    long list here ;)

Submitted by: The FreeBSD(98) Development Team

27 years agoif there is no console, cngetc should act like getc and return -1
Julian Elischer [Wed, 30 Oct 1996 21:40:25 +0000 (21:40 +0000)]
if there is no console, cngetc should act like getc and return -1

make callers aware of this in those cases where it can occur.

27 years agormgroup - delete a Unix group
Wolfram Schneider [Wed, 30 Oct 1996 20:58:47 +0000 (20:58 +0000)]
rmgroup - delete a Unix group

usage: rmgroup group

27 years agoNote the support for the SDL RISCom/N2pci cards.
John Hay [Wed, 30 Oct 1996 18:57:46 +0000 (18:57 +0000)]
Note the support for the SDL RISCom/N2pci cards.
Move myself from the list of helpers and beta testers to the development
team.

27 years agoPass right arp to bpf_mtap().
Poul-Henning Kamp [Wed, 30 Oct 1996 08:50:26 +0000 (08:50 +0000)]
Pass right arp to bpf_mtap().

27 years agoRegenerate.
Peter Wemm [Wed, 30 Oct 1996 08:49:33 +0000 (08:49 +0000)]
Regenerate.

No changes other than "instructions" for what other tools that use this
.. "interesting" ..  system should name their shared libraries.  This was
broken for some tools (eg: expect-5.21) even for the native tcl build (ie,
it would end up using libexpect521.so, not libexpect521.so.1.0)

27 years agoArgh, I hate the tcl build/config environment. :-(
Peter Wemm [Wed, 30 Oct 1996 08:44:18 +0000 (08:44 +0000)]
Argh, I hate the tcl build/config environment. :-(

It seems that some tools (eg: expect-5.21) use TCL_LIB_SPEC to generate
their shared library suffix.  This should be .so.1.0, not .so as ld can't
use it.

Revert part of the previous change here, it did too much.  libtcl75.so.1.1
was bumped, but the rules to generate library names for _other_ packages
were not supposed to be. Sigh.

27 years agoFix braino on my part. When we have three different port ranges (default,
Peter Wemm [Wed, 30 Oct 1996 06:13:10 +0000 (06:13 +0000)]
Fix braino on my part.  When we have three different port ranges (default,
"high" and "secure"), we can't use a single variable to track the most
recently used port in all three ranges.. :-]  This caused the next
transient port to be allocated from the start of the range more often than
it should.

27 years agoFix a potential deadlock from the previous commit.
John Dyson [Wed, 30 Oct 1996 03:52:57 +0000 (03:52 +0000)]
Fix a potential deadlock from the previous commit.

27 years agoFix the /proc/???/map file so that it is possible to read an arbitrarily
John Dyson [Wed, 30 Oct 1996 03:45:00 +0000 (03:45 +0000)]
Fix the /proc/???/map file so that it is possible to read an arbitrarily
large process map.  Another commit will follow to fix a problem just found
during this one... Sorry!!! :-(.

27 years agoChange mmap to use OBJT_DEFAULT instead of OBJT_SWAP by default
John Dyson [Tue, 29 Oct 1996 22:07:11 +0000 (22:07 +0000)]
Change mmap to use OBJT_DEFAULT instead of OBJT_SWAP by default
for anonymous objects.  The system will automatically change the
type to SWAP if needed (for size or pageout reasons.)

27 years agochanges to gdb to:
Gary Jennejohn [Tue, 29 Oct 1996 21:52:21 +0000 (21:52 +0000)]
changes to gdb to:
1) add Garrett Wollman's trap frame resolving mods
2) make the `proc' command (kernel debugging) really work
3) allow use of a pid with the `proc' command (previously you had to
provide the address of the proc structure)

Unfortunately, the `proc' command won't work while doing remote debugging.

27 years agoIf you run with option Z and malloc fails, memset gets called
Poul-Henning Kamp [Tue, 29 Oct 1996 20:35:39 +0000 (20:35 +0000)]
If you run with option Z and malloc fails, memset gets called
with a NULL pointer (archie)
Explain that minsize is also the smallest alignment.

Submitted by: Archie Cobbs <archie@whistle.com>

27 years agoaddgroup - add a group or add users to a group
Wolfram Schneider [Tue, 29 Oct 1996 20:31:43 +0000 (20:31 +0000)]
addgroup - add a group or add users to a group

addgroup [-g gid] group [user[,user,...]]

27 years agoCorrect indentation of multi-LUN device info. (Slightly different fix
Stefan Eßer [Tue, 29 Oct 1996 19:32:31 +0000 (19:32 +0000)]
Correct indentation of multi-LUN device info. (Slightly different fix
than suggested by Bruce Evans).

Submitted by: bde

27 years agooops, uninitialised variable.. -v mode depended on stack contents.
Peter Wemm [Tue, 29 Oct 1996 18:45:20 +0000 (18:45 +0000)]
oops, uninitialised variable.. -v mode depended on stack contents.

Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920

27 years agoSearch for labels on all slices whenever any minor for a drive is opened.
Bruce Evans [Tue, 29 Oct 1996 13:15:30 +0000 (13:15 +0000)]
Search for labels on all slices whenever any minor for a drive is opened.
If DEVFS is configured, create devfs devices for previously invisible
partitions on the slices.

Fixed an old aliasing bug which caused E=17 errors from DEVFS for
DIOCSDINFO when there were no real slices.

27 years agoAdded an FAQ entry explaining the bsd.port.mk variable MASTER_SITE_OVERRIDE.
Masafumi Max NAKANE [Tue, 29 Oct 1996 12:06:57 +0000 (12:06 +0000)]
Added an FAQ entry explaining the bsd.port.mk variable MASTER_SITE_OVERRIDE.

Deleted an FAQ entry referring to pkg_manage.

27 years agoAdded some guideline to write pkg/COMMENT.
Masafumi Max NAKANE [Tue, 29 Oct 1996 11:55:06 +0000 (11:55 +0000)]
Added some guideline to write pkg/COMMENT.

Added reference to pkg_create(1) man page in the explanation of the packing
list.

Added description of ${INSTALL_*} macros.

Added an explanation to use patch files distributed in .tar.gz format.

Added statement about the copyright on the submitted files.

Slgith change in sample Makefile.

Written mostly by: asami

27 years agoIntegrate our changes from bin/rmail. Mainly it causes immediate
Peter Wemm [Tue, 29 Oct 1996 11:32:22 +0000 (11:32 +0000)]
Integrate our changes from bin/rmail.  Mainly it causes immediate
delivery rather than queueing it and forgetting it.

(and some -Wall fixes where gcc is too dumb to see it's a "cant happen")

27 years agoAnother round of merge/updates.
Satoshi Asami [Tue, 29 Oct 1996 08:37:02 +0000 (08:37 +0000)]
Another round of merge/updates.

 (1) Add #ifdef PC98:

sys/pc98/boot/biosboot/boot2.S

 (2) Fix bug that made it impossible to boot from sd's other than unit 0:
sys/pc98/boot/biosboot/sys.c

 (3) Delete redundant $Id$:

sys/pc98/pc98/clock.c (reject\e$B$5$l$k$+$b$7$l$J$$\e(B)

 (4) unt -> u_int:
sys/pc98/pc98/if_ed.c

 (5) Add support for rebooting by the hot-key sequence:

sys/pc98/pc98/kbdtables.h

 (6) Display now looks like PC/AT version:

sys/pc98/pc98/npx.c

 (7) Change comment to match that of PC/AT version:

sys/pc98/pc98/pc98.c

 (8) Add function prototypes:

sys/pc98/pc98/pc98_machdep.c

 (9) Include PC98 headers:

sys/pc98/pc98/sound/adlib_card.c
sys/pc98/pc98/sound/audio.c
sys/pc98/pc98/sound/dev_table.c
sys/pc98/pc98/sound/dmabuf.c
sys/pc98/pc98/sound/midi_synth.c
sys/pc98/pc98/sound/midibuf.c
sys/pc98/pc98/sound/opl3.c
sys/pc98/pc98/sound/oatmgr.c
sys/pc98/pc98/sound/sb16_dsp.c
sys/pc98/pc98/sound/sb16_midi.c
sys/pc98/pc98/sound/sb_card.c
sys/pc98/pc98/sound/sb_dsp.c
sys/pc98/pc98/sound/sb_midi.c
sys/pc98/pc98/sound/sb_mixer.c
sys/pc98/pc98/sound/sequencer.c
sys/pc98/pc98/sound/sound_config.h
sys/pc98/pc98/sound/sound_switch.c
sys/pc98/pc98/sound/soundcard.c
sys/pc98/pc98/sound/sys_timer.c

(10) Merge in PC98 changes:

sys/i386/isa/sound/os.h

(11) Deleted as result of 9. and 10. above:

sys/pc98/pc98/sound/ad1848_mixer.h
sys/pc98/pc98/sound/aedsp16.c
sys/pc98/pc98/sound/coproc.h
sys/pc98/pc98/sound/finetune.h
sys/pc98/pc98/sound/gus_hw.h
sys/pc98/pc98/sound/gus_linearvol.h
sys/pc98/pc98/sound/hex2hex.h
sys/pc98/pc98/sound/mad16.h
sys/pc98/pc98/sound/midi_ctrl.h
sys/pc98/pc98/sound/midi_synth.h
sys/pc98/pc98/sound/opl3.h
sys/pc98/pc98/sound/os.h
sys/pc98/pc98/sound/pas.h
sys/pc98/pc98/sound/sb_mixer.h
sys/pc98/pc98/sound/soundvers.h
sys/pc98/pc98/sound/tuning.h

Submitted by: The FreeBSD(98) Development Team

27 years agoConvert the DONT_FSYNC compile time option to a runtime option (like
Peter Wemm [Tue, 29 Oct 1996 05:35:24 +0000 (05:35 +0000)]
Convert the DONT_FSYNC compile time option to a runtime option (like
nobiff).  The options to turn these on are specified in the
LOCAL_MAILER_ARGS define the the sendmail.mc that you build from.

27 years agoMerge in our changes from src/libexec/mail.local. This version doesn't
Peter Wemm [Tue, 29 Oct 1996 05:22:52 +0000 (05:22 +0000)]
Merge in our changes from src/libexec/mail.local.  This version doesn't
violate disk quotas, has more robust locking, is still being developed,
etc.  The main changes merged in were the ability to not fsync() the
mailbox, not do biff/comsat broadcasts, man page fixes.

27 years agoClean up some loose ends on my previous work in here..
Peter Wemm [Tue, 29 Oct 1996 05:08:21 +0000 (05:08 +0000)]
Clean up some loose ends on my previous work in here..

27 years agoRegenerated.. Use new minor number for both installed names, not just
Peter Wemm [Tue, 29 Oct 1996 04:36:25 +0000 (04:36 +0000)]
Regenerated..  Use new minor number for both installed names, not just
one of them.

27 years agoAlong the way, the minor version number has been bumped (newer version
Peter Wemm [Tue, 29 Oct 1996 04:31:21 +0000 (04:31 +0000)]
Along the way, the minor version number has been bumped (newer version
of tcl with new functions in the library), but the ports-compatable
link name wasn't bumped as it should have been.

Minor cleanups while here (including preserving the $Id: line)

27 years agoAdd support for the SDL RISCom N2pci cards. Bring in the enhancements
John Hay [Tue, 29 Oct 1996 03:53:21 +0000 (03:53 +0000)]
Add support for the SDL RISCom N2pci cards. Bring in the enhancements
made to the Arnet driver.

27 years agoUpdate URL for the Pentium Systems Hardware Performance Guide.
Alexander Langer [Tue, 29 Oct 1996 03:28:04 +0000 (03:28 +0000)]
Update URL for the Pentium Systems Hardware Performance Guide.
Closes PR#1918.

Submitted by: David E. O'Brien <obrien@NUXI.cs.ucdavis.edu>

27 years agoAdd the -p (privileged) commandline switch
Steve Price [Tue, 29 Oct 1996 03:12:51 +0000 (03:12 +0000)]
Add the -p (privileged) commandline switch
found in bash, zsh, and friends.

Reviewed by: joerg

27 years agoIf rcmd() fails, return immediately instead of trying a bunch of
Bill Fenner [Mon, 28 Oct 1996 23:26:37 +0000 (23:26 +0000)]
If rcmd() fails, return immediately instead of trying a bunch of
 setsockopt()'s on a -1 file descriptor.

Remove attempt to decrease TCP MSS; it makes no sense.

Set the IP TOS to IPTOS_THROUGHPUT as an indication that this is an
application sending large blocks of data, as recommended by RFC1700.

27 years agoDo not modify a malloc()ed pointer; instead, use memmove().
Joerg Wunsch [Mon, 28 Oct 1996 23:02:38 +0000 (23:02 +0000)]
Do not modify a malloc()ed pointer; instead, use memmove().

Detected by: phkmalloc - AJ :)

27 years agoRemove some unnecessary code in the interrupt handler.
John Hay [Mon, 28 Oct 1996 19:40:01 +0000 (19:40 +0000)]
Remove some unnecessary code in the interrupt handler.
Check that a received packet isn't longer than MCLBYTES. This will
sometimes happen if a cable is plugged into or removed from a live
system.
Try to cater better for early receive interrupts.

27 years agoA #define really don't need a ; at the end.
John Hay [Mon, 28 Oct 1996 19:35:37 +0000 (19:35 +0000)]
A #define really don't need a ; at the end.

27 years agoEliminate unnecessary include of <sys/mbuf.h>.
Garrett Wollman [Mon, 28 Oct 1996 19:08:13 +0000 (19:08 +0000)]
Eliminate unnecessary include of <sys/mbuf.h>.

27 years agoEliminate unnecessary include of <sys/mbuf.h>. PCBs aren't stored in mbufs
Garrett Wollman [Mon, 28 Oct 1996 18:56:44 +0000 (18:56 +0000)]
Eliminate unnecessary include of <sys/mbuf.h>.  PCBs aren't stored in mbufs
any more.

27 years agocomaptibles->compatibles
Warner Losh [Mon, 28 Oct 1996 17:16:40 +0000 (17:16 +0000)]
comaptibles->compatibles

27 years agoIn data_phase_reinit when I converted the code to use bcopy, I should have
Justin T. Gibbs [Mon, 28 Oct 1996 17:00:24 +0000 (17:00 +0000)]
In data_phase_reinit when I converted the code to use bcopy, I should have
used mvi instead of mov.  Luckily this code is most likely never executed
since it is only there for sanity should a target goes into the data phase
twice during a single selection or reselection.

27 years agodevfs_tree.c: improve our bdevvp() function.
Poul-Henning Kamp [Mon, 28 Oct 1996 11:36:06 +0000 (11:36 +0000)]
devfs_tree.c: improve our bdevvp() function.
devfs_vnops.c: move a debug printf to be consistent.

27 years agoinit_main.c: pass -d to init if DEVFS_ROOT
Poul-Henning Kamp [Mon, 28 Oct 1996 11:34:57 +0000 (11:34 +0000)]
init_main.c: pass -d to init if DEVFS_ROOT
kern_conf.c: gd driver is a disk.
vfs_subr.c: include opt_devfs.h

27 years agoDEVFS_ROOT -> opt_devfs.h
Poul-Henning Kamp [Mon, 28 Oct 1996 11:32:55 +0000 (11:32 +0000)]
DEVFS_ROOT -> opt_devfs.h

27 years agoIf passed the -d flag, mount devfs on /dev
Poul-Henning Kamp [Mon, 28 Oct 1996 11:03:19 +0000 (11:03 +0000)]
If passed the -d flag, mount devfs on /dev

27 years agoCorrect the startup sequence for syslogd:
Joerg Wunsch [Mon, 28 Oct 1996 08:28:02 +0000 (08:28 +0000)]
Correct the startup sequence for syslogd:

. crate the symlink for /dev/log if required, then
. remove the old socket (savecore might have already created it
  accidentally), then
. start syslogd.

(Btw., our test(1) misses an option to test for a socket.)

27 years agoKill _OLD_PATH_LOG. It's not needed.
Joerg Wunsch [Mon, 28 Oct 1996 08:25:51 +0000 (08:25 +0000)]
Kill _OLD_PATH_LOG.  It's not needed.

27 years agoBack out the entire change from rev 1.11 of syslogd.c. It was bogus.
Joerg Wunsch [Mon, 28 Oct 1996 08:25:13 +0000 (08:25 +0000)]
Back out the entire change from rev 1.11 of syslogd.c.  It was bogus.
Correct the man page to reflect the new reality.

27 years agoDon't dereference a free()ed pointer.
Joerg Wunsch [Mon, 28 Oct 1996 07:47:34 +0000 (07:47 +0000)]
Don't dereference a free()ed pointer.

Closes PR bin/1909: 'last' coredumps if MALLOC_OPTIONS...

27 years agoAdd basic support for the 398X cards as multi-channel SCSI host adapters.
Justin T. Gibbs [Mon, 28 Oct 1996 06:10:33 +0000 (06:10 +0000)]
Add basic support for the 398X cards as multi-channel SCSI host adapters.
This involves expanding the support of the SEEPROM routines to deal with
the larger SEEPROMs on these cards and providing a mechanism to share
SCB arrays between multiple controllers.

Most of the 398X support came from Dan Eischer.

ahc_data -> ahc_softc

Clean up some more type bogons I missed from the last pass.

27 years agoAdd basic support for the 398X cards as multi-channel SCSI host adapters.
Justin T. Gibbs [Mon, 28 Oct 1996 06:10:02 +0000 (06:10 +0000)]
Add basic support for the 398X cards as multi-channel SCSI host adapters.
This involves expanding the support of the SEEPROM routines to deal with
the larger SEEPROMs on these cards and providing a mechanism to share
SCB arrays between multiple controllers.

Most of the 398X support came from Dan Eischer.

ahc_data -> ahc_softc

Clean up some more type bogons I missed from the last pass.

Be more clear when handing the NO_MATCH condition.  NO_MATCH can also
happen when the sequencer encounters an SCB we've asked to be aborted.

27 years agoAdd some code to allow SCB sharing for the 398X cards. This involves passing
Justin T. Gibbs [Mon, 28 Oct 1996 06:06:42 +0000 (06:06 +0000)]
Add some code to allow SCB sharing for the 398X cards.  This involves passing
an extra parameter to ahc_alloc.

27 years agoAdd two new aic7xxx driver options:
Justin T. Gibbs [Mon, 28 Oct 1996 06:05:58 +0000 (06:05 +0000)]
Add two new aic7xxx driver options:

AHC_FORCE_PIO - This forces the driver to use PIO even on systems that
say they have memory mapped the controller's registers.  This
seems to fix Ken Lam's problems.  I've also placed this option
in the GENERIC kernel file so that we are guaranteed to install
even on these flakey machines.

AHC_SHARE_SCBS - This option attempts to share the external SCB SRAM on
the 398X controllers allowing a totoll of 255 non-paged SCBs.
This doesn't work quite yet, so this option is mostly here to
help 398X owners to experiment and give me feedback until this
works properly.

27 years agoFix problems dealing with non-tagged devices when SCB paging is enabled.
Justin T. Gibbs [Mon, 28 Oct 1996 06:01:08 +0000 (06:01 +0000)]
Fix problems dealing with non-tagged devices when SCB paging is enabled.
Mostly this involved changing the semantics of the findSCB routine so that
it could be used at times other than handling a reconnection.

27 years agoFix a typo, putput --> output.
Alexander Langer [Sun, 27 Oct 1996 23:12:48 +0000 (23:12 +0000)]
Fix a typo, putput --> output.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>

27 years agoThe way we get a vnode for swapdev is not quite kosher. In particular
Poul-Henning Kamp [Sun, 27 Oct 1996 22:31:00 +0000 (22:31 +0000)]
The way we get a vnode for swapdev is not quite kosher.  In particular
it breaks in the DEVFS_ROOT case.  replicate a bit too much of bdevvp()
in here to circumvent the problem.  The real problem is the magic that
lives in bdevsw[1].

27 years agoAdded ${DESTDIR} to the install target so bison.{simple,hairy}
Joerg Wunsch [Sun, 27 Oct 1996 21:50:59 +0000 (21:50 +0000)]
Added ${DESTDIR} to the install target so bison.{simple,hairy}
will also appear in our releases. ;)

Forgotten by: peter