]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
28 years agoFix a memory leak in MD[245]End()
Poul-Henning Kamp [Wed, 24 Jul 1996 20:55:38 +0000 (20:55 +0000)]
Fix a memory leak in MD[245]End()

Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>
PR: misc/1424

28 years agoFix a bug in ifa_ifwithnet() which caused a page fault in bcmp()
Garrett Wollman [Wed, 24 Jul 1996 19:59:53 +0000 (19:59 +0000)]
Fix a bug in ifa_ifwithnet() which caused a page fault in bcmp()
when attepmting to add certain types of routes.  This problem
only manifested itself in the presence of unconfigured point-to-point
interfaces.

Noticed by: Chuck Cranor <chuck@maria.wustl.edu>

28 years agoEliminate some more references to separate ip_v and ip_hl fields.
Garrett Wollman [Wed, 24 Jul 1996 18:46:19 +0000 (18:46 +0000)]
Eliminate some more references to separate ip_v and ip_hl fields.

28 years agoFix typo in last commit, it seems that a hash comments out a \ at the end
Peter Wemm [Wed, 24 Jul 1996 14:04:57 +0000 (14:04 +0000)]
Fix typo in last commit, it seems that a hash comments out a \ at the end
of line.

Also, fix existing bug in ethers.byname, it was passing an unknown option
to yppush.  This appears to have been a cut/paste slip intended for a
$(DBLOAD) command above it.

28 years agoRevert my bdevsw change for wcd.c, Bruce pointed out that
Poul-Henning Kamp [Wed, 24 Jul 1996 13:35:34 +0000 (13:35 +0000)]
Revert my bdevsw change for wcd.c, Bruce pointed out that
this driver has bogus open/close entries.

28 years agoAdd sample rules for amd.host, mostly from the AMD docs, but tweaked to fit
Peter Wemm [Wed, 24 Jul 1996 10:48:07 +0000 (10:48 +0000)]
Add sample rules for amd.host, mostly from the AMD docs, but tweaked to fit
the FreeBSD Makefile.yp structure by me.  This allows you to have a single
amd map for all machines in a cluster.

In /etc/sysconfig, it would look something like:
  amdflags="-p -a /net -c 1800 -l syslog /host amd.host"

28 years agoSubmitted by: archie@whistle.com
Julian Elischer [Tue, 23 Jul 1996 22:00:14 +0000 (22:00 +0000)]
Submitted by: archie@whistle.com

slight cleanups on yesterday's patches

28 years agoMake a "DWIM" function for adding [bc]devsw entries for bdev drivers.
Poul-Henning Kamp [Tue, 23 Jul 1996 21:52:43 +0000 (21:52 +0000)]
Make a "DWIM" function for adding [bc]devsw entries for bdev drivers.

Saves about 280 butes of source per driver, 56 bytes in object size
and another 56 bytes moves from data to bss.

No functional change intended nor expected.

GENERIC should be about one k smaller now :-)

28 years agoAdd rhh@stealth.ct.picker.com (Randall Hopper)
Peter Wemm [Tue, 23 Jul 1996 20:02:48 +0000 (20:02 +0000)]
Add rhh@stealth.ct.picker.com (Randall Hopper)

28 years agoAdd Soren Dayton <csdayton@midway.uchicago.edu>. Move Chuck Robey
Satoshi Asami [Tue, 23 Jul 1996 19:46:35 +0000 (19:46 +0000)]
Add Soren Dayton <csdayton@midway.uchicago.edu>.  Move Chuck Robey
from contributors section to developers section.

28 years agoWhen running 'rrestore foo', you get a segmentation fault because
Jordan K. Hubbard [Tue, 23 Jul 1996 19:33:44 +0000 (19:33 +0000)]
When running 'rrestore foo', you get a segmentation fault because
the obsolete() function to convert dump-style args to getopt-style
args doesn't check to see that 'f' really has an argument following
the option string in argv[1].

Submitted-By: jmacd
28 years agomount_ext2fs somehow got a stray mntopts.h, which was out of sync with
Peter Wemm [Tue, 23 Jul 1996 19:29:27 +0000 (19:29 +0000)]
mount_ext2fs somehow got a stray mntopts.h, which was out of sync with
the real ../mount/getmntopts.c and ../mount/mntopts.h
Closes PR#1419

Submitted by: rhh@stealth.ct.picker.com (Randall Hopper)

28 years ago'make' prints an extra leading `make: ' and extra trailing newline if
Nate Williams [Tue, 23 Jul 1996 18:55:21 +0000 (18:55 +0000)]
'make' prints an extra leading `make: ' and extra trailing newline if
there is no target to make.

% make
make: make: no target to make.

%

Beause the function Punt() in main.c takes care of leading 'make:' and
trailing newline, so, there is no need to pass explicitly.

Submitted by: enami@ba2.so-net.or.jp
Obtained from: NetBSD GNATS

28 years agoFix a spelling error I forgot to bring over from my personal version
Garrett Wollman [Tue, 23 Jul 1996 14:44:46 +0000 (14:44 +0000)]
Fix a spelling error I forgot to bring over from my personal version
of the last (IF_ENQ_DROP) commit.

28 years agoconsistent presentation of emphasis
Adam David [Tue, 23 Jul 1996 12:21:46 +0000 (12:21 +0000)]
consistent presentation of emphasis

28 years agoUpdate to current state of PC98 world.
Satoshi Asami [Tue, 23 Jul 1996 07:46:59 +0000 (07:46 +0000)]
Update to current state of PC98 world.

Submitted by: The FreeBSD(98) development team

28 years agoAdd Matt Bartley <mbartley@lear35.cytex.com> for his trn leap year fix.
Satoshi Asami [Tue, 23 Jul 1996 07:32:55 +0000 (07:32 +0000)]
Add Matt Bartley <mbartley@lear35.cytex.com> for his trn leap year fix.

28 years agoSubmitted by: archie@whistle.com
Julian Elischer [Tue, 23 Jul 1996 01:18:47 +0000 (01:18 +0000)]
Submitted by: archie@whistle.com

appletalk cleanups

28 years agoNew routed.h that goes with the new routed.
Garrett Wollman [Mon, 22 Jul 1996 21:14:48 +0000 (21:14 +0000)]
New routed.h that goes with the new routed.

28 years agoMerge from vendor branch. The rttrace program is gone (subsumed by rtquery).
Garrett Wollman [Mon, 22 Jul 1996 21:13:08 +0000 (21:13 +0000)]
Merge from vendor branch.  The rttrace program is gone (subsumed by rtquery).
There is a new routed.h which wil be imported separately.

28 years agoInitial revision
Garrett Wollman [Mon, 22 Jul 1996 20:56:38 +0000 (20:56 +0000)]
Initial revision

28 years agoAdd a new, better mechanism for sticking packets onto ifqueues.
Garrett Wollman [Mon, 22 Jul 1996 20:06:01 +0000 (20:06 +0000)]
Add a new, better mechanism for sticking packets onto ifqueues.
The old system had the misfeature that the only policy it could implement
was tail-drop; the new IF_ENQ_DROP macro/function makes it possible
to implement more sophisticated queueing policies on a system-wide
basis.  No code actually uses this yet (although on my machine
I have converted the ethernet and (polled) loopback to use it).

28 years agoFix some bogus argument handling - whups! James was right..
Jordan K. Hubbard [Mon, 22 Jul 1996 18:43:21 +0000 (18:43 +0000)]
Fix some bogus argument handling - whups!  James was right..

28 years agoBring in some fixes from NetBSD and re-hack our syslogd to be option-compatible
Paul Traina [Mon, 22 Jul 1996 16:35:50 +0000 (16:35 +0000)]
Bring in some fixes from NetBSD and re-hack our syslogd to be option-compatible
with theirs (change the -I option to -s (but leave -I in for backwards compat.)
Also eliminate an make sane some magic numbers, and fix a small bug where we'd
send to an unopened socket.

Reviewed by: wollman
Obtained from: NetBSD

28 years agoCorrected a minor typo and removed a chunk of my "ports" entry
James Raynard [Mon, 22 Jul 1996 00:00:36 +0000 (00:00 +0000)]
Corrected a minor typo and removed a chunk of my "ports" entry
which had mysteriously appeared at the end of the first section...

28 years agoI have added a new option -p to the mount command. This was
Jordan K. Hubbard [Sun, 21 Jul 1996 23:34:04 +0000 (23:34 +0000)]
I have added a new option -p to the mount command. This was
inspired by SunOS version of mount which uses option -p to
indicate that the mount information should be printed in fstab
format.
This is a neat way to create a new fstab file to use later when
one has modified the mount points or mount options or added or
removed mount some mount points. You just type

mount -p > /etc/fstab.new

and there is your new fstab file ready to be used though you
will of course have to add any necessary noauto flags manually.

[Committers note:  This also seems to do the wrong thing for AMD
 mounts, but in the more average case this is a nifty feature nonetheless
 and one can always edit the bogus entries out]

Submitted-By: Jukka Ukkonen <jau@jau.csc.fi>
28 years agoBrought UK entries up-to-date with present reality, corrected a spello.
James Raynard [Sun, 21 Jul 1996 19:41:21 +0000 (19:41 +0000)]
Brought UK entries up-to-date with present reality, corrected a spello.

28 years agoDon't dereference sc->sc_setmtu if it's NULL (such as when it's not running)
Peter Wemm [Sun, 21 Jul 1996 17:14:06 +0000 (17:14 +0000)]
Don't dereference sc->sc_setmtu if it's NULL (such as when it's not running)
as discussed on current. (bde pointed out the cause of the problem)

Reported by: dev@fgate.flevel.co.uk

28 years agoReset Pred1 protocol on FCS errors.
Poul-Henning Kamp [Sun, 21 Jul 1996 13:01:27 +0000 (13:01 +0000)]
Reset Pred1 protocol on FCS errors.

28 years agoDocument the flags.
Poul-Henning Kamp [Sun, 21 Jul 1996 09:29:25 +0000 (09:29 +0000)]
Document the flags.

28 years agoAdd yet another kludge to this driver. Man page update to follow.
Poul-Henning Kamp [Sun, 21 Jul 1996 09:28:50 +0000 (09:28 +0000)]
Add yet another kludge to this driver.   Man page update to follow.

28 years agoSubstitute raw{read|write} for ccd{read|write}
Poul-Henning Kamp [Sun, 21 Jul 1996 09:28:03 +0000 (09:28 +0000)]
Substitute raw{read|write} for ccd{read|write}

28 years agoPost-commit review by Bruce. Mostly stylistic changes.
Joerg Wunsch [Sun, 21 Jul 1996 08:20:51 +0000 (08:20 +0000)]
Post-commit review by Bruce.  Mostly stylistic changes.

Submitted by: bde

28 years agoBring in fixes to db 1.85 from NetBSD. These fixes have been documented as
Paul Traina [Sun, 21 Jul 1996 02:23:13 +0000 (02:23 +0000)]
Bring in fixes to db 1.85 from NetBSD.  These fixes have been documented as
being sent back to Bostic by the NetBSD crew.
Obtained from: NetBSD-current

28 years agoFix typo in Makefile.
James Raynard [Sun, 21 Jul 1996 00:05:31 +0000 (00:05 +0000)]
Fix typo in Makefile.

Reviewed (informally!) by jkh.

28 years agoReplace the annoying calls to Debugger() by panic()'s in the
Joerg Wunsch [Sat, 20 Jul 1996 22:02:44 +0000 (22:02 +0000)]
Replace the annoying calls to Debugger() by panic()'s in the
#ifdef DIAGNOSTIC case, and a warning only otherwise.

People who want them to break into the debugger can always set the
breakpoint explicitly.  The existing behaviour was a misfeature from
the beginning, in the (wrong) assumption that the SCSI controller must
always be of essential importance to the entire system.

28 years agoCorrect the timer2 acquiration and release, it must happen at splclock.
Joerg Wunsch [Sat, 20 Jul 1996 18:48:54 +0000 (18:48 +0000)]
Correct the timer2 acquiration and release, it must happen at splclock.

Also slightly reformatted so that it meets at least partially style(9),
and makes navigating through the functions easier.

28 years agoMajor cleanup of the timerX_{acquire,release} stuff. In particular,
Joerg Wunsch [Sat, 20 Jul 1996 18:47:23 +0000 (18:47 +0000)]
Major cleanup of the timerX_{acquire,release} stuff.  In particular,
make it more intelligible, improve the partially bogus locking, and
allow for a ``quick re-acquiration'' from a pending release of timer 0
that happened ``recently'', so it was not processed yet by clkintr().
This latter modification now finally allows to play XBoing over
pcaudio without losing sounds or getting complaints. ;-)  (XBoing
opens/writes/closes the sound device all over the day.)

Correct locking for sysbeep().

Extensively (:-) reviewed by: bde

28 years agoVarious minor mod's to the tape drive section.
Joerg Wunsch [Sat, 20 Jul 1996 18:42:25 +0000 (18:42 +0000)]
Various minor mod's to the tape drive section.

Discourage the use of the EXB-2501 by now, and slightly improve the
formatting for this entry.

Correct some minor oddities for the Tandberg entries based on my input
data.

Minor addition to the <!-- tech> section for QIC.

28 years agoDocument madvise(2) as it is in FreeBSD.
John Dyson [Sat, 20 Jul 1996 04:37:26 +0000 (04:37 +0000)]
Document madvise(2) as it is in FreeBSD.

28 years agoCheck for, and disallow, duplicate tags in the "cvs import" command.
John Polstra [Sat, 20 Jul 1996 02:08:56 +0000 (02:08 +0000)]
Check for, and disallow, duplicate tags in the "cvs import" command.
RCS cannot deal with duplicate tags; the extra one always becomes
inaccessible and useless.

This will prevent the common mistake of specifying the same name
for the vendor tag and the release tag.  The FreeBSD CVS repository
already contains zillions of files with this error.  We don't need
any more of them.

28 years agoRemoved extraneous return.
Alexander Langer [Sat, 20 Jul 1996 00:16:20 +0000 (00:16 +0000)]
Removed extraneous return.

28 years agoThe previous change to alarm.3 to improve the wording
Mike Pritchard [Fri, 19 Jul 1996 22:19:08 +0000 (22:19 +0000)]
The previous change to alarm.3 to improve the wording
was still somewhat confusing and poorly worded.  So I took
the alarm.3 man page from NetBSD, which looked much
better all around.

Obtained from: NetBSD

28 years agoLast night (local time :) I accidently checked in an intermediate version
Stefan Eßer [Fri, 19 Jul 1996 17:18:20 +0000 (17:18 +0000)]
Last night (local time :) I accidently checked in an intermediate version
of this patch, which had not actually been reviewed by Joerg or Paul!
(I'll better stop committing files after midnight ...)

I'm now commiting the latest code, which has been reported to work.

Minor correction to the previous commit message for this file:
The first PCI Lance in a system will get a name of lnc1, the second
will be known as lnc2 and so on. An arbitrary number of cards is
supported in a system ...

28 years agoRevert to old version of strftime.c; the new one doesn't work right.
Garrett Wollman [Fri, 19 Jul 1996 15:17:44 +0000 (15:17 +0000)]
Revert to old version of strftime.c; the new one doesn't work right.

28 years agoAdd interrupt register set up with original register value
Atsushi Murai [Fri, 19 Jul 1996 13:20:05 +0000 (13:20 +0000)]
Add interrupt register set up with original register value
before attaching. Without this fix, 3c579(EISA) never make
any H/W inturrupt.
Reviewed by: "Justin T. Gibbs" <gibbs@freefall.freebsd.org>, nao@sbl.cl.nec.co.jp and owner-current on mailing list ;-)
Submitted by: amurai@spec.co.jp, nao@sbl.cl.nec.co.jp

28 years agothe previous text was absurd, and wrong
Adam David [Fri, 19 Jul 1996 13:07:42 +0000 (13:07 +0000)]
the previous text was absurd, and wrong

28 years agoFix botches in the handling of "AM" and "PM":
John Polstra [Fri, 19 Jul 1996 00:44:55 +0000 (00:44 +0000)]
Fix botches in the handling of "AM" and "PM":
    12:xx PM is 12:xx, not 24:xx.
    12:xx AM is 00:xx, not 12:xx.

28 years ago'mkaliases' is broken (strips spaces) so don't use it,
Adam David [Thu, 18 Jul 1996 23:48:13 +0000 (23:48 +0000)]
'mkaliases' is broken (strips spaces) so don't use it,
perhaps it can be removed altogether.
corrected typos

28 years agoRemove eeprom too as more unused stuff.
Gary Palmer [Thu, 18 Jul 1996 22:26:54 +0000 (22:26 +0000)]
Remove eeprom too as more unused stuff.

Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de>

28 years agoFINALLY: PCI support for the Lance Ethernet driver.
Stefan Eßer [Thu, 18 Jul 1996 22:03:47 +0000 (22:03 +0000)]
FINALLY: PCI support for the Lance Ethernet driver.

This code applies to several systems with integrated Ethernet
chip, for example from HP or Compaq. It should also support
PCI Ethernet cards based on the AMD PCI Lance chip.

This code has been reviewed (visually) by Paul Richards and
tested (using an ISA Lance board) by Joerg Wunsch.
Since the parameters to nearly each and every single function
had to be changed (generally from unit number to lnc_soft*),
there is some potential for buglets having crept in ...

BEWARE: If you had lnc0 configured to have the ISA probe find
your PCI Lance, then it should now be found by the PCI probe,
and should be automatically configured as pci1 (!!! note the "1").

Reviewed by: paul, joerg

28 years agoThese old files are no longer relevant to the current routed
Garrett Wollman [Thu, 18 Jul 1996 21:15:05 +0000 (21:15 +0000)]
These old files are no longer relevant to the current routed
implementation.

28 years agos/msg/shm/ for one variable.
Joerg Wunsch [Thu, 18 Jul 1996 20:42:48 +0000 (20:42 +0000)]
s/msg/shm/ for one variable.

Submitted by: jin@george.lbl.gov (Jin Guojun[ITG])

28 years agoAddendum on how to dial with kernel-PPP using chat(1) instead of kermit.
Joerg Wunsch [Thu, 18 Jul 1996 20:42:01 +0000 (20:42 +0000)]
Addendum on how to dial with kernel-PPP using chat(1) instead of kermit.

Submitted by: rhuff@cybercom.net (Robert Huff)

28 years agoMerge from vendor branch. We are now completely up-to-date with
Garrett Wollman [Thu, 18 Jul 1996 19:59:09 +0000 (19:59 +0000)]
Merge from vendor branch.  We are now completely up-to-date with
respect to the ADO timezone code.

28 years agoThis commit was generated by cvs2svn to compensate for changes in r17211,
Garrett Wollman [Thu, 18 Jul 1996 19:40:52 +0000 (19:40 +0000)]
This commit was generated by cvs2svn to compensate for changes in r17211,
which included commits to RCS files with non-trunk default branches.

28 years agoSecond part of the timezone code import for version 96h. This includes
Garrett Wollman [Thu, 18 Jul 1996 19:40:52 +0000 (19:40 +0000)]
Second part of the timezone code import for version 96h.  This includes
a number of bug fixes to the compiler (which bugs would previously
have caused undesirable behavior during transition times).

28 years agoMove things up a bit to make startup pretty
Paul Traina [Thu, 18 Jul 1996 19:09:06 +0000 (19:09 +0000)]
Move things up a bit to make startup pretty

28 years agoMerge the recently-imported tzcode96h distribution (libc portion). The
Garrett Wollman [Thu, 18 Jul 1996 18:53:15 +0000 (18:53 +0000)]
Merge the recently-imported tzcode96h distribution (libc portion).  The
part that does zic(8)/zdump(8) is still yet to be imported (but the old
zic and zdump will work just fine with these header files and the
data format has not changed).

28 years agoImport the 96h release of ADO's timezone code. This release is
Garrett Wollman [Thu, 18 Jul 1996 18:05:09 +0000 (18:05 +0000)]
Import the 96h release of ADO's timezone code.  This release is
primarily bugfixes, but is also contains a disclaimer of copyright.
As we are completely off the vendor branch here, this import has
no effect on the source tree.

28 years agoImport fixes from NetBSD to print NFSv3 packets.
Doug Rabson [Thu, 18 Jul 1996 14:53:04 +0000 (14:53 +0000)]
Import fixes from NetBSD to print NFSv3 packets.

Obtained from: NetBSD

28 years agoWhups - update the usage message too.
Jordan K. Hubbard [Thu, 18 Jul 1996 00:08:58 +0000 (00:08 +0000)]
Whups - update the usage message too.

28 years agoAdd -n flag to use the current modtime rather than preserving it.
Jordan K. Hubbard [Thu, 18 Jul 1996 00:08:02 +0000 (00:08 +0000)]
Add -n flag to use the current modtime rather than preserving it.

28 years agosome internal modems need LOTS of time to generate an interrupt
Julian Elischer [Wed, 17 Jul 1996 22:07:23 +0000 (22:07 +0000)]
some internal modems need LOTS of time to generate an interrupt
on demand.. increase DELAY from 1000 uS to 10000uS

28 years agoIntroduce two /dev/audio compat alias names for flushing and draining
Joerg Wunsch [Wed, 17 Jul 1996 20:18:56 +0000 (20:18 +0000)]
Introduce two /dev/audio compat alias names for flushing and draining
the pcaudio device.  Now, XBoing sounds much better...

28 years agoCorrect the Unix programmer's error #1: "char c = getc();".
Joerg Wunsch [Wed, 17 Jul 1996 20:14:42 +0000 (20:14 +0000)]
Correct the Unix programmer's error #1: "char c = getc();".
Closes PR # bin/1386: lpf Text Filter does not w...

Submitted by: andreas@marvin.RoBIN.de

28 years agoCorrectly declare main() as `int'.
Joerg Wunsch [Wed, 17 Jul 1996 20:13:33 +0000 (20:13 +0000)]
Correctly declare main() as `int'.

Closes PR # bin/1385: /usr/games/pom, invalid de...

Submitted by: zach@freebsd.gaffaneys.com (Zach Heilig)

28 years agoMerged the latest timezone data file release.
Garrett Wollman [Wed, 17 Jul 1996 20:07:52 +0000 (20:07 +0000)]
Merged the latest timezone data file release.

Changed zones: Algeria, Egypt, Ghana, Libya, Morocco, Sierra Leone,
  South Africa, Sudan, Tunisia, Armenia, Myanmar, China, Taiwan, Hong
  Kong, Macao, Cyprus, Georgia, Iran, Israel, Jordan, Kazakhstan,
  Kirgizstan, Lebanon, Mongolia, the Phillippines, Syria, Tajikistan,
  Turkmenistan, Uzbekistan, Australia, Kiribati, New Caledonia, New
  Zealand, Vanuatu, the United Kingdom, Ireland, the Czech Republic,
  Finland, France, Greece, Hungary, Iceland, Italy, Luxembourg, the
  Netherlands, Norway, Portugal, Romania, Spain, Switzerland, Turkey,
  Canada, Mexico, the Bahamas, Barbados, Belize, Costa Rica, Cuba, the
  Dominican Republic, El Salvador, Guatemala, Haiti, Nicaragua,
  Brazil, the Falkland Islands, Paraguay

Deleted zones: Asia/Tomsk (superseded by Asia/Krasnoyarsk)

Added zones: Asia/Aktau (area formerly part of Asia/Alma-Ata);
  Asia/Krasnoyarsk (supersedes Asia/Tomsk); America/Glace_Bay (area
  formerly part of America/Halifax); America/Thunder_Bay,
  America/Nipigon, America/Rainy_River (areas formerly covered by
  America/Montreal); America/Swift_Current (area formerly part of
  America/Regina); America/Dawson_Creek (area formerly part of
  America/Vancouver); America/Pangnirtung, America/Iqaluit,
  America/Rankin_Inlet, America/Yellowknife, America/Inuvik,
  America/Dawson (areas formerly part of America/Whitehorse)

28 years agoIncreased listen() queue-depth limit to 64.
David Greenman [Wed, 17 Jul 1996 15:00:28 +0000 (15:00 +0000)]
Increased listen() queue-depth limit to 64.

28 years agoRestored most of suggestion about using NULL, even though wollman
Bruce Evans [Wed, 17 Jul 1996 12:32:18 +0000 (12:32 +0000)]
Restored most of suggestion about using NULL, even though wollman
disagrees with it personally :-), and fixed the misleading parts.

28 years agoYet^2 another fix for the line continuation bug.
Bruce Evans [Wed, 17 Jul 1996 12:18:51 +0000 (12:18 +0000)]
Yet^2 another fix for the line continuation bug.

The fundamental problem with the original code is that it accesses
p[-2] which is one before the beginning of the input buffer for
empty lines.  rev.1.6 just moved the problem from failures when
p[-2] happens to be '\\' to failures when it happens to be '\0'.
rev.1.5 was confused about the trailing newline and other things.

I went back to rev.1.5 and fixed it.  The result is the same as
Keith Bostic's final version in PR 1356 except it loses more
gracefully for excessively long input lines.

28 years agoFixed adjustment of `time' when timer0 is released. 27465 was 27645 in
Bruce Evans [Wed, 17 Jul 1996 11:26:05 +0000 (11:26 +0000)]
Fixed adjustment of `time' when timer0 is released.  27465 was 27645 in
a comment and in code that was only used when pcaudio was closed.  The
maximum error was 66 usec.

28 years agoAdded a -V option to print make's idea of the value of a variable.
Bruce Evans [Wed, 17 Jul 1996 11:02:43 +0000 (11:02 +0000)]
Added a -V option to print make's idea of the value of a variable.

Submitted by: mark@linus.demon.co.uk (Mark Valentine)

Fixed bugs and inconsistencies in synopsis and usage message.

28 years agoFixed new and old standards conformance bugs. The non-POSIX confstr() was
Bruce Evans [Wed, 17 Jul 1996 10:52:38 +0000 (10:52 +0000)]
Fixed new and old standards conformance bugs.  The non-POSIX confstr() was
in the POSIX section for a log time.  The non-POSIX getgrouplist() and
setgroups() were recently added to the POSIX section although setgroups()
was already in the non-POSIX section.

28 years agoAdd "Matthew N. Dodd" <winter@jurai.net> for his contribution of the
Satoshi Asami [Wed, 17 Jul 1996 06:35:56 +0000 (06:35 +0000)]
Add "Matthew N. Dodd" <winter@jurai.net> for his contribution of the
new pine port.

28 years ago1. Fix the CD installation bogon for Novice install I mentioned.
Jordan K. Hubbard [Tue, 16 Jul 1996 17:11:45 +0000 (17:11 +0000)]
1. Fix the CD installation bogon for Novice install I mentioned.
2. Add some code for dealing with a ports collection on the second CD now.

28 years agoAdd Gianmarco Giovannelli to Donors gallery.
Jordan K. Hubbard [Tue, 16 Jul 1996 15:56:58 +0000 (15:56 +0000)]
Add Gianmarco Giovannelli to Donors gallery.

28 years agoVarious fixes from frank@fwi.uva.nl (Frank van der Linden) via
Doug Rabson [Tue, 16 Jul 1996 10:19:45 +0000 (10:19 +0000)]
Various fixes from frank@fwi.uva.nl (Frank van der Linden) via
rick@snowhite.cis.uoguelph.ca:

1. Clear B_NEEDCOMMIT in nfs_write to make sure that dirty data is
correctly send to the server.  If a buffer was dirtied when it was in
the B_DELWRI+B_NEEDCOMMIT state, the state of the buffer was left
unchanged and when the buffer was later cleaned, just a commit rpc was
made to the server to complete the previous write.  Clearing
B_NEEDCOMMIT ensures that another write is made to the server.

2. If a server returned a server (for whatever reason) returned an
answer to a write RPC that implied that fewer bytes than requested
were written, bad things would happen.

3. The setattr operation passed on the atime in stead of the mtime to
the server. The fix is trivial.

4. XIDs always started at 0, but this caused some servers (older DEC
OSF/1 3.0 so I've been told) who had very long-lasting XID caches to
get confused if, after a reboot of a BSD client, RPCs came in with a
XID that had in the past been used before from that client. Patch is
to use the current time in seconds as a starting point for XIDs. The
patch below is not perfect, because it requires the root fs to be
mounted first. This is because of the check BSD systems do, comparing
FS time to system time.

Reviewed by: Bruce Evans, Terry Lambert.
Obtained from:  frank@fwi.uva.nl (Frank van der Linden) via rick@snowhite.cis.uoguelph.ca

28 years agoPut back reference to the Cyclades section which was recently removed
Alexander Langer [Tue, 16 Jul 1996 00:15:53 +0000 (00:15 +0000)]
Put back reference to the Cyclades section which was recently removed
during a merge.

28 years agoo Update my "tips" section of the handbook.
Jordan K. Hubbard [Mon, 15 Jul 1996 19:31:47 +0000 (19:31 +0000)]
o Update my "tips" section of the handbook.
o Create the goals section at last using some text of mine which
  James Raynard dug up someplace. :)

28 years agoMoved declaration of zbuf outside of #ifdef DEVFS code.
Nate Williams [Mon, 15 Jul 1996 18:22:07 +0000 (18:22 +0000)]
Moved declaration of zbuf outside of #ifdef DEVFS code.

28 years agoDo a bounds check on the strcpy of environment variables onto the stack.
Paul Traina [Mon, 15 Jul 1996 16:29:03 +0000 (16:29 +0000)]
Do a bounds check on the strcpy of environment variables onto the stack.

28 years agoMake crunchgen match the new obj/ convention.
Poul-Henning Kamp [Mon, 15 Jul 1996 11:20:21 +0000 (11:20 +0000)]
Make crunchgen match the new obj/ convention.

28 years agoRemove the ipfw sample files from the Makefile too.
Poul-Henning Kamp [Mon, 15 Jul 1996 05:48:27 +0000 (05:48 +0000)]
Remove the ipfw sample files from the Makefile too.
Forgotten by: alex :-)

28 years agoQuick fix for previous commit: don't free zbuf on close since it may be
Bruce Evans [Mon, 15 Jul 1996 05:23:04 +0000 (05:23 +0000)]
Quick fix for previous commit: don't free zbuf on close since it may be
in use in another process that blocked in uiomove().

28 years agoChange Arlington Heights, IL to 847.
Alexander Langer [Mon, 15 Jul 1996 00:27:55 +0000 (00:27 +0000)]
Change Arlington Heights, IL to 847.

28 years agoSwitch back to logging accepted packets with the text "Allow" instead
Alexander Langer [Sun, 14 Jul 1996 21:12:52 +0000 (21:12 +0000)]
Switch back to logging accepted packets with the text "Allow" instead
of "Accept"

28 years agoGrammar fix described by wollman in response to PR 1363.
Alexander Langer [Sun, 14 Jul 1996 17:51:08 +0000 (17:51 +0000)]
Grammar fix described by wollman in response to PR 1363.

28 years agoThese files have been replaced by /etc/rc.firewall.
Alexander Langer [Sun, 14 Jul 1996 16:49:55 +0000 (16:49 +0000)]
These files have been replaced by /etc/rc.firewall.

28 years agoMove setting of username to the correcft place; also initialize it.
Guido van Rooij [Sun, 14 Jul 1996 16:42:33 +0000 (16:42 +0000)]
Move setting of username to the correcft place; also initialize it.
Reviewed by: peter@freebsd.org

28 years agoFix the recently added whereobj target.
Peter Wemm [Sun, 14 Jul 1996 11:09:12 +0000 (11:09 +0000)]
Fix the recently added whereobj target.

Add missing end-of-line backslash
Remove two extra @ characters

28 years agoTurn SCSIDEBUG into a new-style option.
Joerg Wunsch [Sun, 14 Jul 1996 10:46:56 +0000 (10:46 +0000)]
Turn SCSIDEBUG into a new-style option.

28 years agoAlmost gratuitious improvement of the performance of reading
John Dyson [Sun, 14 Jul 1996 06:05:53 +0000 (06:05 +0000)]
Almost gratuitious improvement of the performance of reading
/dev/zero.

28 years agoDamn - looks like upgrade got broken along the way and it's not something
Jordan K. Hubbard [Sun, 14 Jul 1996 01:54:39 +0000 (01:54 +0000)]
Damn - looks like upgrade got broken along the way and it's not something
I usually test, so... :-(  Guess we'll have to slide the tag forward on
these two files - Peter, could you do the honors?  I've been up for the last
30 hours or so and I just *know* that any attempt on my part to do this would
probably end up deleting the entire repository somehow. :-)

28 years agoA few minor mods (improvements) to support more efficient pipe
John Dyson [Sat, 13 Jul 1996 22:52:50 +0000 (22:52 +0000)]
A few minor mods (improvements) to support more efficient pipe
operations for large transfers.  There are essentially no differences
for small transfers, but big transfers should perform about 20%
better.

28 years agoIn _yp_dobind(), if we find ourselves required to contact the local ypbind
Bill Paul [Sat, 13 Jul 1996 20:23:13 +0000 (20:23 +0000)]
In _yp_dobind(), if we find ourselves required to contact the local ypbind
directly in order to obtain binding information, check that the local
ypbind is using a reserved port and return YPERR_YPBIND if it isn't.
We should not trust any ypbind running on a port >= IPPORT_RESERVED;
it may have been started by a malicious user hoping to trick us into
talking to a bogus ypserv.

Note that we do not check the ypserv port returned to us from ypbind.
It is assumed that ypbind has already done a reserved port test (or not,
depending on whether or not it was started with -s); if we trust the
authenticity of the local ypbind, we should also trust its judgement.

Obtained from: OpenBSD

28 years agoStart sendmail after ldconfig. Put the nail in the coffin on misc/1346.
Paul Traina [Sat, 13 Jul 1996 17:27:39 +0000 (17:27 +0000)]
Start sendmail after ldconfig.  Put the nail in the coffin on misc/1346.
Submitted by: Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>

28 years agoEnable transmit complete interrupt...
David Greenman [Sat, 13 Jul 1996 10:49:53 +0000 (10:49 +0000)]
Enable transmit complete interrupt...

(author's explaination):

 Bit 15 is the flag to request a transmit complete interrupt.  The
driver was apparently written to minimize interrupts, and if not for a
3-COM design quirk, everything would be just ducky.
 Prior to loading the outbound packet into the FIFO, the driver checks
to see if there's enough space to contain the packet.  If not, the
driver requests a transmit-available interrupt when there is
sufficient room.  Unfortunately, the card is continuing to process the
prior FIFO, and by the time the driver sets the threshold for a
transmit available interrupt, the space is already available.  When
this occurs, the 3COM card ignores the interrupt request, and the
driver is hung waiting for an interrupt that will never occur.
There's probably a more elegant solution, but requesting the transmit
complete interrupt was the easiest to implement.  An alternative fix
might be to check free FIFO space again, after requesting the transmit
available interrupt, but I haven't bothered pursuing this.  Since the
patch, my 3C590 (PCI, same FIFO interface as 3C509) has been rock
solid.

Submitted by: mevans@candle.com (Mike Evans)

28 years agoUpgrade Apache to 1.1.1.
Jordan K. Hubbard [Sat, 13 Jul 1996 06:05:42 +0000 (06:05 +0000)]
Upgrade Apache to 1.1.1.

28 years agoMake CD version clash non-fatal.
Jordan K. Hubbard [Sat, 13 Jul 1996 05:48:44 +0000 (05:48 +0000)]
Make CD version clash non-fatal.