]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoAdd in missing ENABLE TARGET MODE opcode.
Matt Jacob [Mon, 27 Dec 1999 08:47:11 +0000 (08:47 +0000)]
Add in missing ENABLE TARGET MODE opcode.

24 years agoTidy up some loose ends. nullfs_read/write were returning the wrong value.
Peter Wemm [Mon, 27 Dec 1999 08:45:14 +0000 (08:45 +0000)]
Tidy up some loose ends.  nullfs_read/write were returning the wrong value.
Fix some ctype problems - isascii() caused a warning if fed an unsigned
char - it's always > 0 and libstand is compiled with -Wall.
Missing prototype/include in printf.c

24 years agoMake this compile with -Wall -Werror
Peter Wemm [Mon, 27 Dec 1999 08:40:40 +0000 (08:40 +0000)]
Make this compile with -Wall -Werror

24 years agoReset the Zoom 56K modem when starting to use it.
Julian Elischer [Mon, 27 Dec 1999 08:39:29 +0000 (08:39 +0000)]
Reset the Zoom 56K modem when starting to use it.
Failing to do so freezes your system.

Submitted by:Sean O'Connell <sean@stat.Duke.EDU>  (my hero)

24 years agokvm_mkdb(8) no longer exists (in .Xr) and kvm_nlist(8) has even less to do
Peter Wemm [Mon, 27 Dec 1999 08:01:11 +0000 (08:01 +0000)]
kvm_mkdb(8) no longer exists (in .Xr) and kvm_nlist(8) has even less to do
with dev_mkdb(8) than it did before.

24 years agoInclude opt_nfs.h
Peter Wemm [Mon, 27 Dec 1999 07:51:05 +0000 (07:51 +0000)]
Include opt_nfs.h

PR: 15711
Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>

24 years agoRemove kvm_mkdb as it isn't installed anymore. libkvm asks directly
Peter Wemm [Mon, 27 Dec 1999 07:43:07 +0000 (07:43 +0000)]
Remove kvm_mkdb as it isn't installed anymore.  libkvm asks directly
via kldsym(2), and crash dumps use nlist directly (and always have).

24 years agoZap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
Peter Wemm [Mon, 27 Dec 1999 07:27:50 +0000 (07:27 +0000)]
Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).

24 years agoZap the kvm_kernel.db juggling at 'make install' time, it isn't needed
Peter Wemm [Mon, 27 Dec 1999 07:19:45 +0000 (07:19 +0000)]
Zap the kvm_kernel.db juggling at 'make install' time, it isn't needed
any more.

24 years agoZap kvm_kernel.db stuff now that libkvm gets it directly from the running
Peter Wemm [Mon, 27 Dec 1999 07:17:51 +0000 (07:17 +0000)]
Zap kvm_kernel.db stuff now that libkvm gets it directly from the running
kernel.

24 years agoUse kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling
Peter Wemm [Mon, 27 Dec 1999 07:14:58 +0000 (07:14 +0000)]
Use kldsym(2) to lookup symbol values.  This avoids the kvm_mkdb juggling
and is module aware.  Yes, this means that kvm_nlist(3) will find symbols
in loaded modules.  The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.

24 years agoCorrect an uninitialized variable use, which, unlike most times, is
Brian Feldman [Mon, 27 Dec 1999 06:31:53 +0000 (06:31 +0000)]
Correct an uninitialized variable use, which, unlike most times, is
actually a bug this time.

Submitted by: bde
Reviewed by: bde

24 years agoRecognize the GVC0505 (GVC 56k Faxmodem) as a sio device.
Peter Wemm [Mon, 27 Dec 1999 05:02:25 +0000 (05:02 +0000)]
Recognize the GVC0505 (GVC 56k Faxmodem) as a sio device.

Obtained from: Dan J Fraser <dfraser@capybara.org> (for NetBSD)

24 years agoAdd a new function dllockinit() for registering thread locking
John Polstra [Mon, 27 Dec 1999 04:44:04 +0000 (04:44 +0000)]
Add a new function dllockinit() for registering thread locking
functions to be used by the dynamic linker.  This can be called by
threads packages at start-up time.  I will add the call to libc_r
soon.

Also add a default locking method that is used up until dllockinit()
is called.  The default method works by blocking SIGVTALRM, SIGPROF,
and SIGALRM in critical sections.  It is based on the observation
that most user-space threads packages implement thread preemption
with one of these signals (usually SIGVTALRM).

The dynamic linker has never been reentrant, but it became less
reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c".
Starting with that revision, multiple threads each doing lazy
binding could interfere with each other.  The usual symptom was
that a symbol was falsely reported as undefined at start-up time.
It was rare but not unseen.  This commit fixes it.

24 years agoAdd support of SB for PC98 into VoxWare 3.5, and more $FreeBSD$.
Seigo Tanimura [Mon, 27 Dec 1999 04:37:19 +0000 (04:37 +0000)]
Add support of SB for PC98 into VoxWare 3.5, and more $FreeBSD$.

Submitted by: T.Yamaoka <taka@windows.squares.net>
Pressed to review by: nyan

24 years agoFixed stripping of aout debugging kernels.
Bruce Evans [Sun, 26 Dec 1999 17:07:15 +0000 (17:07 +0000)]
Fixed stripping of aout debugging kernels.
Fixed some style bugs (always use precisely 1 space after `:' in
dependency specifications).
Removed bogus dependency of ${FULLKERNEL} on ${BEFORE_DEPEND}.

24 years agoFixed spelling error in document title.
Bruce Evans [Sun, 26 Dec 1999 16:58:31 +0000 (16:58 +0000)]
Fixed spelling error in document title.
Fixed syntax error in synopsis.

24 years agoFix tab completion mounts (like /cdrom/)
Eivind Eklund [Sun, 26 Dec 1999 16:34:53 +0000 (16:34 +0000)]
Fix tab completion mounts (like /cdrom/)

Submitted by: Martin Blapp <mb@imp.ch>

24 years agoDon't include <isa/isavar.h> or compile code depending on it when isa
Bruce Evans [Sun, 26 Dec 1999 16:21:19 +0000 (16:21 +0000)]
Don't include <isa/isavar.h> or compile code depending on it when isa
is not configured.  Including <isa/isavar.h> when it is not used is
harmful as well as bogus, since it includes "isa_if.h" which is not
generated when isa is not configured.

24 years agoMoved $FreeBSD$ to its usual place after the CSRG id.
Bruce Evans [Sun, 26 Dec 1999 15:24:58 +0000 (15:24 +0000)]
Moved $FreeBSD$ to its usual place after the CSRG id.

Fixed some style bugs for cam (superflous umask and missing newline).

Fixed bogons for apm.  The pattern "apm*" matched too many things; apm
and apmctl were both made twice by `MAKEDEV all'.  Hopefully no one
depends on `MAKEDEV apm0' making apm or on `MAKEDEV apm' making apmctl.

24 years agoUpdate the cvs pserver example so that it gives some more obvious clues
Peter Wemm [Sun, 26 Dec 1999 15:18:58 +0000 (15:18 +0000)]
Update the cvs pserver example so that it gives some more obvious clues
about the --allow-root switch.

PR: 14463

24 years agoUpdated a comment to match code.
Bruce Evans [Sun, 26 Dec 1999 14:16:00 +0000 (14:16 +0000)]
Updated a comment to match code.

24 years agoRemoved unused includes.
Bruce Evans [Sun, 26 Dec 1999 14:07:43 +0000 (14:07 +0000)]
Removed unused includes.

Rumoved unused compatibility cruft for dup().  Using it today would just
break dup() on fd's >= 64.

Fixed some style bugs.

24 years agoUse vfs_timestamp() instead of getnanotime() to set timestamps. This
Bruce Evans [Sun, 26 Dec 1999 13:04:52 +0000 (13:04 +0000)]
Use vfs_timestamp() instead of getnanotime() to set timestamps.  This
fixee incoherency of pipe timestamps relative to file timestamps in
the usual case where getnanotime() is not used for the latter.  (File
and pipe timestamps are still incoherent relative to real time unless
the vfs_timestamp_precision sysctl is set to 2 or 3).

24 years agoReplaced the INTRMASK and INTRUNMASK macros by "|" and "&~" operations.
Bruce Evans [Sun, 26 Dec 1999 12:43:47 +0000 (12:43 +0000)]
Replaced the INTRMASK and INTRUNMASK macros by "|" and "&~" operations.
Some interface botches went away, leaving the macros unused outside of
the implementation of interrupt masking, and it was silly for the
implementation to use the macros in only one place each.

24 years agoFixed breakage of read-only opening of /dev/*mem at securelevel > 0 in
Bruce Evans [Sun, 26 Dec 1999 11:44:45 +0000 (11:44 +0000)]
Fixed breakage of read-only opening of /dev/*mem at securelevel > 0 in
previous pair of commits.

Spell the "securelevel > 0" check consistently.

Use the proc arg instead of curproc in mmopen() and mmclose().

24 years agoFix a mistake in the PNP EISA-encoding of the Avance ALS120 id.
Peter Wemm [Sun, 26 Dec 1999 10:51:47 +0000 (10:51 +0000)]
Fix a mistake in the PNP EISA-encoding of the Avance ALS120 id.

Submitted by: Bryan Liesner <bleez@netaxs.com>

24 years agoRemoved ex script left over from incomplete backout in previous commit.
Bruce Evans [Sun, 26 Dec 1999 10:31:29 +0000 (10:31 +0000)]
Removed ex script left over from incomplete backout in previous commit.

Use SYMLINKS instead of an ad hoc rule for installing words -> web2.
Don't override the install target; doing so just breaks things like
SYMLINKS.

Don't override the correct defaults for the all, clean, depend, lint
and tags targets.  Don't add a null rule to the cleandepend target.

24 years agoOops, deactivate ed drivers because of undefiend references from
KATO Takenori [Sun, 26 Dec 1999 05:26:43 +0000 (05:26 +0000)]
Oops, deactivate ed drivers because of undefiend references from
if_ed_pci.o.

24 years agoAdded Allied Telesis SIU-98-D support.
KATO Takenori [Sun, 26 Dec 1999 05:10:14 +0000 (05:10 +0000)]
Added Allied Telesis SIU-98-D support.

Submitted by: Isizu Takaaki <isizu-t01@aso-group.co.jp>
chi@bd.mbn.or.jp (Chiharu Shibata)
(w/ minor change by kato)

24 years agoA missing verb to a sentence from last commit.
Tim Vanderhoek [Sun, 26 Dec 1999 04:41:29 +0000 (04:41 +0000)]
A missing verb to a sentence from last commit.

24 years ago- Cut down amount of memory in 64MB when BIOS tells the amount of
KATO Takenori [Sun, 26 Dec 1999 04:22:27 +0000 (04:22 +0000)]
- Cut down amount of memory in 64MB when BIOS tells the amount of
  memory >= 64MB.
- Don't perform destructive memory inspection for 15 - 16MB system
  area.

Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
chi@bd.mbn.or.jp (Chiharu Shibata)

24 years agoFor some reason the HOME key wasn't documented. Document it. Expand
Tim Vanderhoek [Sun, 26 Dec 1999 04:17:27 +0000 (04:17 +0000)]
For some reason the HOME key wasn't documented.  Document it.  Expand
the docs on a couple other keys.  While I'm here, document another ~3 bugs
that have been around for all eternity in the hope that I'll someday bother
to fix them.

24 years agoAllow excessive backspacing to correctly abort an input (most significantly
Tim Vanderhoek [Sun, 26 Dec 1999 03:03:04 +0000 (03:03 +0000)]
Allow excessive backspacing to correctly abort an input (most significantly
a search string input).

24 years agoExpand source comments a little -=> increased readability.
Tim Vanderhoek [Sun, 26 Dec 1999 02:39:26 +0000 (02:39 +0000)]
Expand source comments a little -=> increased readability.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r55099,
Kris Kennaway [Sat, 25 Dec 1999 16:37:36 +0000 (16:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r55099,
which included commits to RCS files with non-trunk default branches.

24 years agoInitial import of OpenSSL v0.9.4
Kris Kennaway [Sat, 25 Dec 1999 16:37:36 +0000 (16:37 +0000)]
Initial import of OpenSSL v0.9.4

24 years agoFixed races accessing the RTC. The races apparently caused
Bruce Evans [Sat, 25 Dec 1999 15:30:31 +0000 (15:30 +0000)]
Fixed races accessing the RTC.  The races apparently caused
apm_default_resume() to sometimes set a very wrong time.
(1) Accesses to the RTC index and data registers were not atomic enough.
    Interrupts were not masked.  This was only good enough until an
    interrupt handler (rtcintr()) started accessing the RTC in FreeBSD-2.0.
(2) Access to the block of time registers in inittodr() was not atomic
    enough.  inittodr() has 244us to read the time registers.  Interrupts
    were not masked.  This was only good enough until something (apm)
    started calling inittodr() after boot time in FreeBSD-2.0.
The fix for (2) also makes the timecounter update more atomic, although
this is currently unimportant due to the low resolution of the RTC.

Problem reported by: mckay

24 years agoAdd directories: preparation for OpenSSL import.
Kris Kennaway [Sat, 25 Dec 1999 14:12:09 +0000 (14:12 +0000)]
Add directories: preparation for OpenSSL import.

24 years agoSacrifice, for now, NFS and NETGRAPH on the alpha boot floppy
Jordan K. Hubbard [Sat, 25 Dec 1999 07:22:10 +0000 (07:22 +0000)]
Sacrifice, for now, NFS and NETGRAPH on the alpha boot floppy
so that we can get it back onto 1.44MB boot media again.  This
does not affect the i386 class build.

24 years agoBackout rev1.7, as it broke adventure(6) (const'ing a non-r/o variable).
Bill Fumerola [Sat, 25 Dec 1999 03:50:42 +0000 (03:50 +0000)]
Backout rev1.7, as it broke adventure(6) (const'ing a non-r/o variable).
As wpaul notes, I was trying to fix something that wasn't broke.

24 years agoFix the firmware build number output (again).
Mike Smith [Sat, 25 Dec 1999 01:45:22 +0000 (01:45 +0000)]
Fix the firmware build number output (again).

24 years agoDon't pass u_int32_t pointers to BUS_READ_IVAR since it tends to make
Doug Rabson [Fri, 24 Dec 1999 16:22:45 +0000 (16:22 +0000)]
Don't pass u_int32_t pointers to BUS_READ_IVAR since it tends to make
alphas panic.

24 years ago* Set the devclass of a device before calling the probe method. This allows
Doug Rabson [Fri, 24 Dec 1999 16:21:15 +0000 (16:21 +0000)]
* Set the devclass of a device before calling the probe method. This allows
  device_printf() etc. to print something intelligible.
* Allow device_set_devclass(dev, 0) for clearing the devclass.

24 years agoFixed a cast of a pointer to an integer of a possibly different size.
Bruce Evans [Fri, 24 Dec 1999 15:33:36 +0000 (15:33 +0000)]
Fixed a cast of a pointer to an integer of a possibly different size.
Fixed casts of non-`void *' pointers to uintptr_t.  Fixed related
style bugs.  This file uses perfectly non-KNF formatting for casts.

24 years agoSince we build and install gasp(1) in /usr/libexec/${OBJFORMAT}/,
Brian Feldman [Fri, 24 Dec 1999 15:18:19 +0000 (15:18 +0000)]
Since we build and install gasp(1) in /usr/libexec/${OBJFORMAT}/,
and it is a user-run utility, it should be in objformat, so gasp
is in the ${PATH} :)

24 years agoRemoved unnecessary const poisoning (redundant casting) which was added
Bruce Evans [Fri, 24 Dec 1999 15:16:10 +0000 (15:16 +0000)]
Removed unnecessary const poisoning (redundant casting) which was added
in rev.1.4.

24 years agoMerge from sys/i386/conf/files.i386 rev 1.293.
KATO Takenori [Fri, 24 Dec 1999 11:20:14 +0000 (11:20 +0000)]
Merge from sys/i386/conf/files.i386 rev 1.293.

24 years agoMerge from sys/i386/conf/GENERIC rev 1.218 & 1.219.
KATO Takenori [Fri, 24 Dec 1999 11:12:43 +0000 (11:12 +0000)]
Merge from sys/i386/conf/GENERIC rev 1.218 & 1.219.

24 years agoRemoved -mno-486 from CFLAGS.
KATO Takenori [Fri, 24 Dec 1999 11:09:40 +0000 (11:09 +0000)]
Removed -mno-486 from CFLAGS.

24 years agoMandate the inclusion of <ieeefp.h> instead of <floatingpoint.h>. The
Sheldon Hearn [Fri, 24 Dec 1999 08:43:19 +0000 (08:43 +0000)]
Mandate the inclusion of <ieeefp.h> instead of <floatingpoint.h>.  The
latter is just wrong.

There were many other problems spotted by bde, none of which are
addressed here.

Reviewed by: bde

24 years agoLink la_LN*4 too
Andrey A. Chernov [Fri, 24 Dec 1999 08:10:48 +0000 (08:10 +0000)]
Link la_LN*4 too

24 years agoFix cut&paste error
Andrey A. Chernov [Fri, 24 Dec 1999 08:05:20 +0000 (08:05 +0000)]
Fix cut&paste error

24 years agoCosmetic fix; get the firmware build code and customisation tag the
Mike Smith [Fri, 24 Dec 1999 07:04:23 +0000 (07:04 +0000)]
Cosmetic fix; get the firmware build code and customisation tag the
right way around.

Submitted by: "Chris D. Faulhaber" <jedgar@fxp.org>

24 years agoAdd iso04 fonts
Andrey A. Chernov [Fri, 24 Dec 1999 06:30:43 +0000 (06:30 +0000)]
Add iso04 fonts

Submitted by: Ricardas Cepas <rch@writeme.com>

24 years agoAdd Lithuanian keyboard
Andrey A. Chernov [Fri, 24 Dec 1999 06:15:32 +0000 (06:15 +0000)]
Add Lithuanian keyboard

Submitted by: Ricardas Cepas <rch@writeme.com>

24 years agoAdd lt_LT
Andrey A. Chernov [Fri, 24 Dec 1999 05:58:07 +0000 (05:58 +0000)]
Add lt_LT

Submitted by: Ricardas Cepas <rch@writeme.com>

24 years agoAdd 8859-4 and lt_LT
Andrey A. Chernov [Fri, 24 Dec 1999 05:47:10 +0000 (05:47 +0000)]
Add 8859-4 and lt_LT
Add missing dependance to cs_CZ

Submitted by: Ricardas Cepas <rch@writeme.com>

24 years agoAdd 8859-4 and lt_LT
Andrey A. Chernov [Fri, 24 Dec 1999 05:30:52 +0000 (05:30 +0000)]
Add 8859-4 and lt_LT

Submitted by: Ricardas Cepas <rch@writeme.com>

24 years agoAdd 8859-4 and lt_LT entries
Andrey A. Chernov [Fri, 24 Dec 1999 05:27:04 +0000 (05:27 +0000)]
Add 8859-4 and lt_LT entries

24 years agoOops, fix typo in prev. commit
Andrey A. Chernov [Fri, 24 Dec 1999 05:01:14 +0000 (05:01 +0000)]
Oops, fix typo in prev. commit

24 years agoAdd Latin2 FreeBSD consoles
Andrey A. Chernov [Fri, 24 Dec 1999 04:55:06 +0000 (04:55 +0000)]
Add Latin2 FreeBSD consoles
Minor correction of comments

Submitted by: Latin2 console from Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

24 years agoAdd ACS support to 8859-2 fonts
Andrey A. Chernov [Fri, 24 Dec 1999 04:35:33 +0000 (04:35 +0000)]
Add ACS support to 8859-2 fonts
Remove stale 8859-2 font
Fix Russian INDEX entries
Add more languages to FONT fields

Submitted by: fonts from Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

24 years agoUse 'i' for ACS lantern (as ncurses expect it)
Andrey A. Chernov [Fri, 24 Dec 1999 03:54:41 +0000 (03:54 +0000)]
Use 'i' for ACS lantern (as ncurses expect it)

24 years agoNew man page. This will need modifications RSN.
Greg Lehey [Fri, 24 Dec 1999 00:16:03 +0000 (00:16 +0000)]
New man page.  This will need modifications RSN.

24 years agoCreating weak symbols doesn't work correctly when building an aout libc.
Jason Evans [Fri, 24 Dec 1999 00:03:00 +0000 (00:03 +0000)]
Creating weak symbols doesn't work correctly when building an aout libc.
Doing the "right thing" here is difficult, so create two ENTRY points for
each function (for example, __setjmp and setjmp are equivalent).  This
isn't pretty, but it works for both aout and ELF.

libc symbol naming needs an overhaul in order to properly support function
wrapping, specifically in the case of a real libpthread, and these
duplicate entry points should be fixed as part of that overhaul.

Pointed out by: bde

24 years agoUpdate config rules for making {linux|svr4}_assym.h
Marcel Moolenaar [Thu, 23 Dec 1999 21:52:17 +0000 (21:52 +0000)]
Update config rules for making {linux|svr4}_assym.h
Assembler symbols are now made using genassym(1).

24 years agoDon't bother fork()ing after closing a ctty if ppp is about to
Brian Somers [Thu, 23 Dec 1999 21:43:25 +0000 (21:43 +0000)]
Don't bother fork()ing after closing a ctty if ppp is about to
terminate anyway.

24 years agoUnderstand double-quotes anywhere on a command line in the same
Brian Somers [Thu, 23 Dec 1999 21:43:12 +0000 (21:43 +0000)]
Understand double-quotes anywhere on a command line in the same
way that a shell does.  The previous way ppp did it just didn't
make any sense.

24 years agoCorrect warning about unindented commands when the unindented command
Brian Somers [Thu, 23 Dec 1999 21:43:00 +0000 (21:43 +0000)]
Correct warning about unindented commands when the unindented command
is actually a new label with a comment at the end of the line.

24 years agoUse genassym(1) and <sys/assym.h> to generate assembler symbols.
Marcel Moolenaar [Thu, 23 Dec 1999 21:19:32 +0000 (21:19 +0000)]
Use genassym(1) and <sys/assym.h> to generate assembler symbols.

24 years agoUse genassym(1) and <sys/assym.h> to generate assembler symbols.
Marcel Moolenaar [Thu, 23 Dec 1999 19:59:47 +0000 (19:59 +0000)]
Use genassym(1) and <sys/assym.h> to generate assembler symbols.

24 years agoo Define `offsetof' when not already defined,
Marcel Moolenaar [Thu, 23 Dec 1999 19:58:09 +0000 (19:58 +0000)]
o  Define `offsetof' when not already defined,
o  Define ASSYM(sym, v) as the primary macro to use,
o  Define ASSYM_SELF and ASSYM_OFFSET in terms of ASSYM,

Psychological manipulation by: bde <grin>

24 years agoDon't build caesar as a tool. fortune(6) doesn't depend on it
Marcel Moolenaar [Thu, 23 Dec 1999 19:18:28 +0000 (19:18 +0000)]
Don't build caesar as a tool. fortune(6) doesn't depend on it
anymore. Update comments and variable names as well to wipe out any
traces that may confuse people in the future.

24 years agoUse tr(1) instead of caesar(6) to perform the rotation. This removes
Marcel Moolenaar [Thu, 23 Dec 1999 19:09:59 +0000 (19:09 +0000)]
Use tr(1) instead of caesar(6) to perform the rotation. This removes
the dependency on caesar which therefore doesn't need to be built by
bootstrap-tools.

Suggested by: des
Previously mentioned by: Peter Jeremy <peter.jeremy@alcatel.com.au>

24 years agoFix problem reported by Matt Dillon. Occasionally, very small received
Bill Paul [Thu, 23 Dec 1999 19:05:58 +0000 (19:05 +0000)]
Fix problem reported by Matt Dillon. Occasionally, very small received
frames would be handled incorrectly due to bad usage of m_pullup() in
the case where the frame wraps from the end of the receive buffer back
the beginning.

Also, when manually extending small packets to pad them to the minimum
frame length during transmission, zero out the pad area to make some
really paranoid people happy.

24 years agoFix zero-padding for printf formats which include a precision or
Sheldon Hearn [Thu, 23 Dec 1999 18:24:31 +0000 (18:24 +0000)]
Fix zero-padding for printf formats which include a precision or
width.

This is a vendor-supplied patch.

Requested by: bde
Submitted by: Aharon Robbins <arnold@skeeve.com>

24 years agoRemoved vestiges of BAD144 support.
Bruce Evans [Thu, 23 Dec 1999 17:52:00 +0000 (17:52 +0000)]
Removed vestiges of BAD144 support.

24 years agoRemoved vestiges of BAD144 support.
Bruce Evans [Thu, 23 Dec 1999 17:48:52 +0000 (17:48 +0000)]
Removed vestiges of BAD144 support.
Removed -mno-486 from CFLAGS since it is no longer supported by gcc.

24 years agoFixed bitrot in synopsis. The prototype for panic() was moved to
Bruce Evans [Thu, 23 Dec 1999 17:42:10 +0000 (17:42 +0000)]
Fixed bitrot in synopsis.  The prototype for panic() was moved to
<sys/param.h>, but the #includes weren't adjusted here.

24 years agoFixed wrong function types (the device_add_child() family returns a
Bruce Evans [Thu, 23 Dec 1999 17:39:45 +0000 (17:39 +0000)]
Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).

24 years agoRemoved unused include of <sys/buf.h> from synopsis. This include is
Bruce Evans [Thu, 23 Dec 1999 17:35:48 +0000 (17:35 +0000)]
Removed unused include of <sys/buf.h> from synopsis.  This include is
needed to access the internals of buffers but not necessarily to use
the VOP.  <sys/buf.h> recently grew a bogus dependency on <sys/systm.h>
for the declaration of spl*, and I prefer to fix the synopsis breakage
by removing a wart instead of adding one.

24 years agoFixed bitrot in synopsis. The prototype for VOP_ISLOCKED() changed
Bruce Evans [Thu, 23 Dec 1999 17:28:46 +0000 (17:28 +0000)]
Fixed bitrot in synopsis.  The prototype for VOP_ISLOCKED() changed
recently, except of course in the documentation.  Other parts of this
man page are several years out of date.

24 years agoFixed missing #includes in synopsis.
Bruce Evans [Thu, 23 Dec 1999 17:24:40 +0000 (17:24 +0000)]
Fixed missing #includes in synopsis.

24 years agoFixed bitrot in synopsis. Important interface changes hadn't reached here.
Bruce Evans [Thu, 23 Dec 1999 17:22:58 +0000 (17:22 +0000)]
Fixed bitrot in synopsis.  Important interface changes hadn't reached here.

24 years ago"Fixed" assorted bitrot. remove_dev() was renamed to destroy_dev().
Bruce Evans [Thu, 23 Dec 1999 17:16:32 +0000 (17:16 +0000)]
"Fixed" assorted bitrot.  remove_dev() was renamed to destroy_dev().
VOP_ABORTOP() went away.  at_shutdown() was replaced by undocumented
event handling.  Rename remove_dev() here too, and remove the dead
and dead wrong man pages.

24 years agoFixed missing declarations of futimes(2) and lutimes(2).
Bruce Evans [Thu, 23 Dec 1999 17:00:03 +0000 (17:00 +0000)]
Fixed missing declarations of futimes(2) and lutimes(2).

24 years agoFixed missing declaration of lchmod(2).
Bruce Evans [Thu, 23 Dec 1999 16:57:54 +0000 (16:57 +0000)]
Fixed missing declaration of lchmod(2).

24 years agoFixed missing #include in synopsis.
Bruce Evans [Thu, 23 Dec 1999 16:56:27 +0000 (16:56 +0000)]
Fixed missing #include in synopsis.
Fixed misspelling of VGLPanScreen in its prototype.
Fixed missing installation of link to VGLPanScreen.3.

24 years agoFixed a formatting error in the prototype for crypt().
Bruce Evans [Thu, 23 Dec 1999 16:53:18 +0000 (16:53 +0000)]
Fixed a formatting error in the prototype for crypt().

24 years agoFixed bitrot in synopsis. The change from "int *pshared" to "int pshared"
Bruce Evans [Thu, 23 Dec 1999 16:51:27 +0000 (16:51 +0000)]
Fixed bitrot in synopsis.  The change from "int *pshared" to "int pshared"
hadn't reached here.

24 years agoFixed wrong #include in synopsis.
Bruce Evans [Thu, 23 Dec 1999 16:48:57 +0000 (16:48 +0000)]
Fixed wrong #include in synopsis.

24 years agoFixed missing `const' in synopsis.
Bruce Evans [Thu, 23 Dec 1999 16:46:34 +0000 (16:46 +0000)]
Fixed missing `const' in synopsis.

24 years agoFixed missing includes in synopsis.
Bruce Evans [Thu, 23 Dec 1999 16:38:51 +0000 (16:38 +0000)]
Fixed missing includes in synopsis.

24 years agoFixed missing installation of a link to ctermid_r.3.
Bruce Evans [Thu, 23 Dec 1999 16:36:48 +0000 (16:36 +0000)]
Fixed missing installation of a link to ctermid_r.3.

24 years agoFixed missing declaration of ctermid_r(3).
Bruce Evans [Thu, 23 Dec 1999 16:33:12 +0000 (16:33 +0000)]
Fixed missing declaration of ctermid_r(3).

24 years agoFixed wrong prototype and missing include for strsignal(3). strsignal()
Bruce Evans [Thu, 23 Dec 1999 16:29:58 +0000 (16:29 +0000)]
Fixed wrong prototype and missing include for strsignal(3).  strsignal()
takes an int arg and is prototyped in <string.h>.  It has the opposite
interface botches to psignal(3) which takes a bogus unsigned arg but is
prototyped in the right place.

This is not the last of the interface problems for strsignal().  We
obtained it from NetBSD, but NetBSD has moved its prototype to
<unistd.h>.  strsignal() should return const char *, but it returns
char * for historical reasons.  NetBSD declares it as returning
__aconst char, where __aconst is normally empty but can be set to
`const' to give better error checking.  glibc-2.1.1 prototypes
strsignal() in <string.h>.

24 years agoFixed missing installation of a link to getlogin_r.3. This is the first
Bruce Evans [Thu, 23 Dec 1999 16:12:24 +0000 (16:12 +0000)]
Fixed missing installation of a link to getlogin_r.3.  This is the first
example of section 2 and section 3 interfaces sharing a man page.  It's
probably a bad example.

24 years agoFixed missing declaration of getlogin_r(3).
Bruce Evans [Thu, 23 Dec 1999 16:06:12 +0000 (16:06 +0000)]
Fixed missing declaration of getlogin_r(3).

24 years agoFixed missing installation of a link to rand_r.3.
Bruce Evans [Thu, 23 Dec 1999 16:00:50 +0000 (16:00 +0000)]
Fixed missing installation of a link to rand_r.3.