Commit Graph

17545 Commits

Author SHA1 Message Date
mycroft 4b28075484 Add a `-q' option, to be quiet about cycles. From der Mouse, PR 1204. 1996-01-17 20:37:49 +00:00
cgd 6ffadcadf6 fix off-by-one error in tickfix code. (should increment when count >=
interval, because count goes from 0->(interval-1) to count interval
ticks.)
1996-01-17 04:37:31 +00:00
jtc 03edaa24b7 The C standard says (about realloc) that "If size is zero and ptr is
not a null pointer, the object it points to is freed."  Reported by
Peter Seebach in PR #1806.
1996-01-17 02:45:25 +00:00
jtc e66e318757 Check for .o extension after the *last* . in a file name.
Reported by Micheal Graff in PR #1868.
1996-01-17 02:30:44 +00:00
jtc 78db0b395c Add S_IFWHT to correspond with <sys/stat.h>; Reported by Mike Long in PR #1949 1996-01-17 02:15:28 +00:00
jtc 0bcc20d745 Fix typo in funopen prototype; Reported by Noriyuki Soda in PR #1954 1996-01-17 01:42:55 +00:00
fvdl 4b16fc959c Attempt #2 :-( (where did that tag come from..) 1996-01-16 23:19:43 +00:00
fvdl 961c294fd5 * Don't rely on the protection bits of segments anymore to decide whether
it's text or data; use the entry point instead (this solves some trouble
  with ELF executables with strange permissions)
* Incorporate some fixes from r_friedl@informatik.uni-kl.de sent to
  netbsd-bugs a while ago
1996-01-16 23:07:18 +00:00
thorpej cd17a6b3af Remove all the old STACKCHECK stuff; it hasn't been used for a long time. 1996-01-16 22:24:28 +00:00
jonathan 92bff2b19b Change Makefile to build screenblank on Decstations. 1996-01-16 22:20:13 +00:00
thorpej 353f4388fb Use a shutdownhook to make sure the drive motor is turned off
at halt/reboot time, as suggested by Perry Metzger.
1996-01-16 19:35:06 +00:00
jtc 6b5e9088a1 Pass -m68030 or -m68040 through to the assembler.
This patch has been submitted and accepted by the FSF and will be
in the next gcc release.
1996-01-16 18:41:47 +00:00
leo cb560ce386 Move things around a bit to make all names fit into the [8.3] namespace
of msdosfs.
1996-01-16 15:14:53 +00:00
mycroft 02317d25bb Make the panic message for ISA clone devices more informative. 1996-01-16 07:52:38 +00:00
hpeyerl 94caee8dd7 PR487. From John Kohl. (more examples and some corrections) 1996-01-16 06:41:20 +00:00
thorpej 535abd80a2 Add a net.inet.ip.directed-broadcast sysctl as suggested by
Darren Reed <darrenr@vitruvius.arbld.unimelb.edu.au> in PR #1227.
This change is slightly different than the one submitted by Darren in
that the DIRECTED_BROADCAST compile-time option will behave like it used
to so that existing configurations utilizing it won't have to change.
1996-01-16 04:17:30 +00:00
jonathan 764d54390c SAdd support for Sun-style framebuffer ioctl()s, as used by other NetBSD
[programs, notably /usr/sbin/screenblank.
1996-01-16 02:43:01 +00:00
jonathan 56ffba38d4 Fix how the cmap entries are updated, as contributed by Arne Juul
(arnej@pvv.unit.no). Xservers should now be able to set colours correctly.
1996-01-16 02:40:21 +00:00
jtc 99ec00663a Fix manpage typoes; PR #1905 1996-01-16 01:42:19 +00:00
thorpej 18960b616f Call disk_busy() a bit earlier in case an exceptional condition causes
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.
1996-01-15 21:53:50 +00:00
thorpej 4b359df8c4 Add net.inet.ip.forwsrcrt: if zero, the system will not forward
source-routed packets.  Note this value is protected by kernel security
level; it can only be changed if securelevel < 1.
1996-01-15 21:11:46 +00:00
briggs af016e6224 Updates from Kelly Campbell <camk@ksu.ksu.edu> for some ROM addresses. 1996-01-15 12:29:48 +00:00
phil 3789c88f95 Add doshutdownhooks(). 1996-01-15 05:30:47 +00:00
thorpej 9e1da3de59 Document the "ms" field, per Shinya Taniguchi
<tng@nuclth15.phys.sci.osaka-u.ac.jp> in PR #1789.
1996-01-15 02:04:05 +00:00
thorpej 6bad0cf2ef Remove reference to mount_lofs(8), per Todd Williamson
<toddw@delorean.rb.isl.secom.co.jp> in PR #1783.
1996-01-15 02:00:18 +00:00
thorpej 5ba712a21d Allow override of nroff program, requested by Masanobu Saitoh
<msaitoh@spa.is.uec.ac.jp> in PR #1741.
1996-01-15 01:56:09 +00:00
thorpej 2c5d55d959 Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.
1996-01-15 01:44:52 +00:00
thorpej 1eff435896 Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.  Also, clean up some stuff left over from HP-BSD.
1996-01-15 01:41:37 +00:00
thorpej 05df93de55 Document the EACCES errno value as returned by sendmsg(2), per
Ted Mellon <mellon@fugue.com>, PR #1093.
1996-01-15 01:17:18 +00:00
thorpej 8a5504241e Three distinct changes:
- Better disklabel handling.  While a disklabel isn't used
	  in the driver, some versions of the OpenPROM insist on
	  one being present in order to boot from floppy.  These
	  changes provide a default label (in a way similar to how
	  the SCSI disk driver provides a default) so that a user
	  can more easily place the label on the disk.

	- Fix semi-bug in bootpath handling.  It appears as if the
	  bootpath can appear in a couple of formats: "/fd@0,0", which
	  is what bootpath_fake() creates on v0 proms and may be
	  passed by some v2 proms, and "/fd0" which is what the
	  v2 prom on my SS2 passes.  We now handle both formats.

	- Use a mountroot hook to eject the floppy and wait for
	  the user to insert a filesystem floppy if we're the boot/root
	  device.
1996-01-15 00:14:42 +00:00
thorpej 3f8e0d27a6 Add a "mountroot hook" mechanism so that devices can take care of
special needs before being used in (*mountroot)().
1996-01-15 00:06:49 +00:00
christos d3427703db Hayes ESP support from Michael Van Loon, with minor cleanups. Tested on
a single port ESP card; works great!
1996-01-14 23:44:34 +00:00
pk ca1b8e8285 Add capability to read archives (from Thomas Eberhardt; PR#497). 1996-01-14 23:07:11 +00:00
pk 16060cce1f Use err() & warn(). 1996-01-14 23:04:03 +00:00
thorpej 57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
thorpej 08f474ecc4 Correct the instructions regarding the password database in
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544.
1996-01-14 20:55:23 +00:00
hpeyerl 8c4481f80c More descriptive message for printer status. Addresses PR #509. 1996-01-14 17:25:21 +00:00
leo 9186c7668f The changes frpm Paul Goyette with respect to the driver trace require
DBG_PID to be defined to an interger value....make it so.
1996-01-14 13:06:37 +00:00
ghudson 1ca8e01f30 Don't read the network address as an alias when there isn't whitespace
after the network address.  Closes PR 1940.
1996-01-14 05:02:41 +00:00
thorpej b62a077e9a Document the -follow option, per David Brownlee <abs@mono.city.ac.uk>
in PR #1113.
1996-01-14 03:52:44 +00:00
thorpej dcb6bca52b Cross-reference fsinfo(8) and mk-amd-map(8), as per PR #1057.
From David Brownlee <abs@mono.city.ac.uk>.
1996-01-14 03:49:09 +00:00
pk 1377ee0906 Several fixes from Arne H. Juul (PR#1814). 1996-01-14 00:58:25 +00:00
pk 55d51fbb95 Relax checking of minor version number in `findhint()'. Also use the
directories from the hints (v.2) file for directory traversing.
This should take care of PR#1146.
1996-01-14 00:35:17 +00:00
thorpej cca25e85ec Fixed typo (that I probably introduced with the disk changes). From
Thorsten Frueauf <frueauf@ira.uka.de>, PR #1924.
1996-01-14 00:23:56 +00:00
pk e09468dc31 Handle multichar comment and quote delimiters (up to 5 characters, per the
manual page). Takes care of PR#485.
1996-01-13 23:25:23 +00:00
pk 3cf040d518 Fix typo (Noriyuki Soda; PR#1926). 1996-01-13 23:18:15 +00:00
leo b7b97847ce Some files containing more than one function are split. This reduces the
size of the resulting loader. The read_inode() function now returns the
result of the strategy function instead of success in all cases (ufs.c).
Fixes pr#1817
1996-01-13 22:25:32 +00:00
briggs 0d6552d914 Fix typo in last change. 1996-01-13 14:03:38 +00:00
mycroft 467bd97c79 Make a small attempt to deal better with VM86 mode in GDB. 1996-01-13 06:14:44 +00:00
chuck 8f339409b7 sync with sparc:
- move disk_attach() to before reading the disk label as per Jason.
	otherwise we are reading into an unallocated buffer (oops!)
1996-01-13 03:50:05 +00:00