Commit Graph

14875 Commits

Author SHA1 Message Date
Garrett Wollman
979a211643 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.
1996-07-18 18:05:09 +00:00
Doug Rabson
9fbfdd118f Import fixes from NetBSD to print NFSv3 packets.
Obtained from: NetBSD
1996-07-18 14:53:04 +00:00
Jordan K. Hubbard
e0607117a5 Whups - update the usage message too. 1996-07-18 00:08:58 +00:00
Jordan K. Hubbard
6b5c2db22a Add -n flag to use the current modtime rather than preserving it. 1996-07-18 00:08:02 +00:00
Julian Elischer
75d050aeaa some internal modems need LOTS of time to generate an interrupt
on demand.. increase DELAY from 1000 uS to 10000uS
1996-07-17 22:07:23 +00:00
Joerg Wunsch
cb9bf21103 Introduce two /dev/audio compat alias names for flushing and draining
the pcaudio device.  Now, XBoing sounds much better...
1996-07-17 20:18:56 +00:00
Joerg Wunsch
35ab66af3b 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
1996-07-17 20:14:42 +00:00
Joerg Wunsch
706b948138 Correctly declare main() as `int'.
Closes PR # bin/1385: /usr/games/pom, invalid de...

Submitted by:	zach@freebsd.gaffaneys.com (Zach Heilig)
1996-07-17 20:13:33 +00:00
Garrett Wollman
7bf023e79d 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)
1996-07-17 20:07:52 +00:00
David Greenman
e289453542 Increased listen() queue-depth limit to 64. 1996-07-17 15:00:28 +00:00
Bruce Evans
0ba27adc20 Restored most of suggestion about using NULL, even though wollman
disagrees with it personally :-), and fixed the misleading parts.
1996-07-17 12:32:18 +00:00
Bruce Evans
49e6559936 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.
1996-07-17 12:18:51 +00:00
Bruce Evans
65d98215ea 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.
1996-07-17 11:26:05 +00:00
Bruce Evans
375633ec49 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.
1996-07-17 11:02:43 +00:00
Bruce Evans
a21dc21cee 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.
1996-07-17 10:52:38 +00:00
Satoshi Asami
21f432840f Add "Matthew N. Dodd" <winter@jurai.net> for his contribution of the
new pine port.
1996-07-17 06:35:56 +00:00
Jordan K. Hubbard
94dfd13efe 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.
1996-07-16 17:11:45 +00:00
Jordan K. Hubbard
d7058c27b9 Add Gianmarco Giovannelli to Donors gallery. 1996-07-16 15:56:58 +00:00
Doug Rabson
09c6884729 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
1996-07-16 10:19:45 +00:00
Alexander Langer
8f2a955a0d Put back reference to the Cyclades section which was recently removed
during a merge.
1996-07-16 00:15:53 +00:00
Jordan K. Hubbard
918c55882c 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. :)
1996-07-15 19:31:47 +00:00
Nate Williams
20073b6d10 Moved declaration of zbuf outside of #ifdef DEVFS code. 1996-07-15 18:22:07 +00:00
Paul Traina
caef76e8bd Do a bounds check on the strcpy of environment variables onto the stack. 1996-07-15 16:29:03 +00:00
Poul-Henning Kamp
d9d5922eec Make crunchgen match the new obj/ convention. 1996-07-15 11:20:21 +00:00
Poul-Henning Kamp
4cfe9fc7fe Remove the ipfw sample files from the Makefile too.
Forgotten by:	alex :-)
1996-07-15 05:48:27 +00:00
Bruce Evans
6450111c1b Quick fix for previous commit: don't free zbuf on close since it may be
in use in another process that blocked in uiomove().
1996-07-15 05:23:04 +00:00
Alexander Langer
f643adbb68 Change Arlington Heights, IL to 847. 1996-07-15 00:27:55 +00:00
Alexander Langer
889fe95791 Switch back to logging accepted packets with the text "Allow" instead
of "Accept"
1996-07-14 21:12:52 +00:00
Alexander Langer
c6c1bba8d4 Grammar fix described by wollman in response to PR 1363. 1996-07-14 17:51:08 +00:00
Alexander Langer
da6a96e853 These files have been replaced by /etc/rc.firewall. 1996-07-14 16:49:55 +00:00
Guido van Rooij
72383443f2 Move setting of username to the correcft place; also initialize it.
Reviewed by:	peter@freebsd.org
1996-07-14 16:42:33 +00:00
Peter Wemm
fb547ee202 Fix the recently added whereobj target.
Add missing end-of-line backslash
Remove two extra @ characters
1996-07-14 11:09:12 +00:00
Joerg Wunsch
6bc025e10d Turn SCSIDEBUG into a new-style option. 1996-07-14 10:46:56 +00:00
John Dyson
f381a0c010 Almost gratuitious improvement of the performance of reading
/dev/zero.
1996-07-14 06:05:53 +00:00
Jordan K. Hubbard
e35a083cf9 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. :-)
1996-07-14 01:54:39 +00:00
John Dyson
d1a5be1064 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.
1996-07-13 22:52:50 +00:00
Bill Paul
56d18eda29 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
1996-07-13 20:23:13 +00:00
Paul Traina
54009bb4b8 Start sendmail after ldconfig. Put the nail in the coffin on misc/1346.
Submitted by:	Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
1996-07-13 17:27:39 +00:00
David Greenman
4611b39710 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)
1996-07-13 10:49:53 +00:00
Jordan K. Hubbard
c8ec0156ef Upgrade Apache to 1.1.1. 1996-07-13 06:05:42 +00:00
Jordan K. Hubbard
6bcca21f51 Make CD version clash non-fatal. 1996-07-13 05:48:44 +00:00
Jordan K. Hubbard
a420652230 Back out my change for Peter which did transfer timings based on current
chunk rather than distribution - it's just caused the numbers to fluctuate
too wildly, sorry Peter! ;-(
1996-07-13 05:44:51 +00:00
Jordan K. Hubbard
5cec7fa56a Fix a bogon in the Novice mode CD auto-selection. 1996-07-13 05:13:25 +00:00
Jordan K. Hubbard
f6d3326b0c Fix EBUSY checking in devices.c - DTRT when it's detected on a CD. 1996-07-13 05:09:29 +00:00
Jordan K. Hubbard
3bc99bbcc2 Merge. 1996-07-13 04:33:23 +00:00
Wolfram Schneider
220927702b create missing /usr/share/examples/removeuser
Submitted by: Ollivier ROBERT  roberto@keltia.freenix.fr
1996-07-12 19:58:44 +00:00
Garrett Wollman
fba5b1cc97 Include the proper header file (<unistd.h>) and declare [gs]etdomainname()
with the correct return type.  This does not include the renaming
of KERN_DOMAINNAME to KERN_NISDOMAINNAME.

Pointed-out-by: Keith Bostic
1996-07-12 19:55:20 +00:00
Jordan K. Hubbard
7e5eded870 General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:24:27 +00:00
Jordan K. Hubbard
526195ad0d General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
Jordan K. Hubbard
51295a4d3e General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00