]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoUpdate to note which specific brand of IDE drive does this.
Jordan K. Hubbard [Wed, 16 Dec 1998 07:14:01 +0000 (07:14 +0000)]
Update to note which specific brand of IDE drive does this.

25 years agoOld stuff laying around: Don't use getstr which can conflict with some
Peter Wemm [Wed, 16 Dec 1998 06:06:06 +0000 (06:06 +0000)]
Old stuff laying around:  Don't use getstr which can conflict with some
curses/termcap/terminfo implementations and causes recursion.

25 years agoOld stuff laying around: Don't use a function called getstr(), that has
Peter Wemm [Wed, 16 Dec 1998 06:04:29 +0000 (06:04 +0000)]
Old stuff laying around:  Don't use a function called getstr(), that has
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.

25 years agoOld stuff from a source tree: copy (verbatum) the code to expand the
Peter Wemm [Wed, 16 Dec 1998 06:01:33 +0000 (06:01 +0000)]
Old stuff from a source tree:  copy (verbatum) the code to expand the
 %s/%m in the default /etc/gettytab.

25 years agoOld nit lying around in a source tree: Slightly optimize the number of
Peter Wemm [Wed, 16 Dec 1998 05:50:25 +0000 (05:50 +0000)]
Old nit lying around in a source tree:  Slightly optimize the number of
uname/gname overrides and /sets.

25 years agoOld nit lying around: Don't override the gname when it's the same as the
Peter Wemm [Wed, 16 Dec 1998 05:47:53 +0000 (05:47 +0000)]
Old nit lying around:  Don't override the gname when it's the same as the
previous /set.

25 years agoOld stuff laying around: Don't override /tmp to the same uid/gid as the
Peter Wemm [Wed, 16 Dec 1998 05:45:58 +0000 (05:45 +0000)]
Old stuff laying around:  Don't override /tmp to the same uid/gid as the
previous /set defaults

25 years agoOld stuff lying around a source tree:
Peter Wemm [Wed, 16 Dec 1998 05:34:49 +0000 (05:34 +0000)]
Old stuff lying around a source tree:
 Create/remove /etc/wall_cmos_clock without using system() and magic paths.

25 years agoCleaning out old stuff from one of my source trees:
Peter Wemm [Wed, 16 Dec 1998 05:29:09 +0000 (05:29 +0000)]
Cleaning out old stuff from one of my source trees:
  use mkdtemp() rather than mktemp() and fix a trivial memory leak.

25 years ago Added /usr/share/examples/portal to mtree
Matthew Dillon [Wed, 16 Dec 1998 05:01:44 +0000 (05:01 +0000)]
Added /usr/share/examples/portal to mtree

25 years agoAdd support for building on MIPS based systems.
Warner Losh [Wed, 16 Dec 1998 04:59:53 +0000 (04:59 +0000)]
Add support for building on MIPS based systems.

25 years agoFree memory from getmode.
Warner Losh [Wed, 16 Dec 1998 04:54:08 +0000 (04:54 +0000)]
Free memory from getmode.

Obtained from: OpenBSD

25 years agoFree memory from setmode.
Warner Losh [Wed, 16 Dec 1998 04:51:27 +0000 (04:51 +0000)]
Free memory from setmode.

Obtained from: OpenBSD

25 years agoReturn memory from setmode.
Warner Losh [Wed, 16 Dec 1998 04:50:46 +0000 (04:50 +0000)]
Return memory from setmode.

Obtained from: OpenBSD

25 years agoFix two possible non-exploitable buffer overflows.
Warner Losh [Wed, 16 Dec 1998 04:48:00 +0000 (04:48 +0000)]
Fix two possible non-exploitable buffer overflows.

Thanks to: A friend at Sun auditing dump/restore for Solaris.

25 years agoFree memory from setmode.
Warner Losh [Wed, 16 Dec 1998 04:45:35 +0000 (04:45 +0000)]
Free memory from setmode.

Obtained from: OpenBSD

25 years agoUse getcwd in stead of using getwd so that we try harder to avoid
Warner Losh [Wed, 16 Dec 1998 04:44:32 +0000 (04:44 +0000)]
Use getcwd in stead of using getwd so that we try harder to avoid
overflowing a buffer.

Obtained from: Either OpenBSD or a discussion in bugtraq.

25 years agoFree memory obtained from setmode.
Warner Losh [Wed, 16 Dec 1998 04:42:33 +0000 (04:42 +0000)]
Free memory obtained from setmode.

Obtained from: OpenBSD

25 years agoAdd reminder to return memory allocated by this call.
Warner Losh [Wed, 16 Dec 1998 04:39:23 +0000 (04:39 +0000)]
Add reminder to return memory allocated by this call.

Obtained from: OpenBSD

25 years agoThe perlinterp option builds and works, but I'm not so sure how it'll go
Peter Wemm [Wed, 16 Dec 1998 04:02:56 +0000 (04:02 +0000)]
The perlinterp option builds and works, but I'm not so sure how it'll go
in a release or buildworld environment, so I'll leave it disabled.

25 years agoMake this work with the perl5 in the source tree - the API has "evolved"
Peter Wemm [Wed, 16 Dec 1998 04:00:25 +0000 (04:00 +0000)]
Make this work with the perl5 in the source tree - the API has "evolved"
and some code glitches had to be fixed.

25 years agoDisable build/install of boot.help until we sort out how to construct it
Mike Smith [Wed, 16 Dec 1998 02:27:15 +0000 (02:27 +0000)]
Disable build/install of boot.help until we sort out how to construct it
in the makeworld environment.

25 years agovxalloc() can return NULL. Deal with it.
Eivind Eklund [Wed, 16 Dec 1998 00:38:57 +0000 (00:38 +0000)]
vxalloc() can return NULL.  Deal with it.

25 years agoFix possible NULL-pointer deref in error case (same as DEVFS).
Eivind Eklund [Wed, 16 Dec 1998 00:10:51 +0000 (00:10 +0000)]
Fix possible NULL-pointer deref in error case (same as DEVFS).

25 years agoAvoid NULL-pointer dereference on error condition.
Eivind Eklund [Tue, 15 Dec 1998 23:46:59 +0000 (23:46 +0000)]
Avoid NULL-pointer dereference on error condition.

25 years ago Remove signal mask prior to calling exec
Matthew Dillon [Tue, 15 Dec 1998 23:12:33 +0000 (23:12 +0000)]
Remove signal mask prior to calling exec

25 years agoFix a rather bad latency problem (uncovered by the recent timer commit).
Brian Somers [Tue, 15 Dec 1998 19:12:24 +0000 (19:12 +0000)]
Fix a rather bad latency problem (uncovered by the recent timer commit).
Problem reported by: Christopher Hall <hsw@acm.org>

25 years ago Add portal example
Matthew Dillon [Tue, 15 Dec 1998 19:05:35 +0000 (19:05 +0000)]
Add portal example

PR: misc/8796

25 years agoAdd pt_tcplisten.c functionality, fix a few minor bugs
Matthew Dillon [Tue, 15 Dec 1998 18:59:07 +0000 (18:59 +0000)]
Add pt_tcplisten.c functionality, fix a few minor bugs

PR:             kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>

25 years agoWrap two macros into do { ... } while (0), and fix the way they're used
Dag-Erling Smørgrav [Tue, 15 Dec 1998 17:38:33 +0000 (17:38 +0000)]
Wrap two macros into do { ... } while (0), and fix the way they're used
in the kernel.

Reviewed by: bde

25 years agoAdd some emacs code to make cc-mode almost compatible to style(9).
Martin Cracauer [Tue, 15 Dec 1998 16:51:49 +0000 (16:51 +0000)]
Add some emacs code to make cc-mode almost compatible to style(9).
Sort entries in toplevel README.

25 years agoCompile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE
Martin Cracauer [Tue, 15 Dec 1998 16:43:14 +0000 (16:43 +0000)]
Compile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE

25 years agoOops, I forgot to commit two diffs to fe driver.
KATO Takenori [Tue, 15 Dec 1998 15:56:37 +0000 (15:56 +0000)]
Oops, I forgot to commit two diffs to fe driver.

25 years agoPC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
KATO Takenori [Tue, 15 Dec 1998 15:51:37 +0000 (15:51 +0000)]
PC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
as well as several functional additions.

(1) dot3 MIB support.
(2) if_media selection method support.
(3) bridge support.
(4) new boards support. Supported boards are as follows.
    [PC/AT]
     * Fujitsu FMV-180 series
     * Allied-Telesis RE2000 series
     * Allied-Telesyn AT1700 series
     * Gateway Communications G/Ether series
     * UB networks Access/PC ISA series
     * TDK/LANX LAC-AX series
     * ICL EtherTeam16i series
     * RATOC REX-5586/5587
    [PC-98]
     * Allied-Telesis RE1000 series
     * Allied-Telesis RE1000Plus/ME1500 series
     * Contec C-NET(9N)E series
     * Contec C-NET(98)P2 series
     * UB networks Access/PC N98C+ series
     * TDK/LANX LAC-98 series(not tested)

Submitted by: seki@sysrap.cs.fujitsu.co.jp (Masahiro Sekiguchi) and
              chi@bd.mbn.or.jp (Chiharu Shibata)

25 years agoReformat help to improve subtopic display appearance, other minor
Mike Smith [Tue, 15 Dec 1998 14:32:17 +0000 (14:32 +0000)]
Reformat help to improve subtopic display appearance, other minor
cleaning.  The 'help' command in the loader should now be usable and
hopefully informative.

25 years agoBuild the composite help file from the generic and architecture-specific
Mike Smith [Tue, 15 Dec 1998 14:21:30 +0000 (14:21 +0000)]
Build the composite help file from the generic and architecture-specific
help files, sorting topics and subtopics to allow maximum flexibility.

25 years agoFix the "Unknown HTTP error" message.
Dag-Erling Smørgrav [Tue, 15 Dec 1998 12:24:26 +0000 (12:24 +0000)]
Fix the "Unknown HTTP error" message.
Make compile_et generate prototypes.

25 years agoGenerate a prototype for initialize_XXXX_error_table() when the language
Dag-Erling Smørgrav [Tue, 15 Dec 1998 12:20:27 +0000 (12:20 +0000)]
Generate a prototype for initialize_XXXX_error_table() when the language
is set to C.

25 years agoFixed misformatted error messages. wderror() was broken way back
Bruce Evans [Tue, 15 Dec 1998 09:16:57 +0000 (09:16 +0000)]
Fixed misformatted error messages.  wderror() was broken way back
in rev.1.30 (just before FreeBSD-1.1R) to almost match corresponding
breakage in FreeBSD-1.x's diskerr().  FreeBSD-2.x's diskerr() never
had the breakage.

25 years agoPull in new ccb_hdr list types.
Justin T. Gibbs [Tue, 15 Dec 1998 08:24:45 +0000 (08:24 +0000)]
Pull in new ccb_hdr list types.

25 years agoPerform a save data pointers operation if a data transfer was performed
Justin T. Gibbs [Tue, 15 Dec 1998 08:22:42 +0000 (08:22 +0000)]
Perform a save data pointers operation if a data transfer was performed
in target mode, but we are not completing the command.

Use a template of allowed bus arbitration phases to selectively and
dynamically enable/disable initiator or target (re)selection.

Properly handle timeouts for target role transactions - just go to the
bus free state and report the error to the peripheral driver.

Checkpoint support for the XPT_ABORT_CCB function code.  This currently
handles the accept tio and immediate notify ccb types, but does not
handle the continue target I/O or SCSI I/O ccb types.  This is enough
to handle dynamic target enable/disable events.

Clean up the SCSI reset code so that we perform at most 1 SCSI bus
reset at initialization, the reset requested by the XPT layer.

25 years agoEnable/Disable our lun on open/close. Track resources kept at the controller
Justin T. Gibbs [Tue, 15 Dec 1998 08:15:15 +0000 (08:15 +0000)]
Enable/Disable our lun on open/close.  Track resources kept at the controller
level so they can be reclaimed before attempting to disable our lun.
Correctly free descriptors.  Add periph locking and spl protection
around open and close.

25 years agoWire up the XPT_ABORT and XPT_RESET_DEV ccb function codes so they can
Justin T. Gibbs [Tue, 15 Dec 1998 08:13:10 +0000 (08:13 +0000)]
Wire up the XPT_ABORT and XPT_RESET_DEV ccb function codes so they can
be delivered to controller drivers.

Adjust for changes to the ccb_hdr list types in cam_queue.h

25 years agoAdd definitions for TAILQ, LIST, and SLIST ccb_hdr queues.
Justin T. Gibbs [Tue, 15 Dec 1998 08:12:03 +0000 (08:12 +0000)]
Add definitions for TAILQ, LIST, and SLIST ccb_hdr queues.

25 years agoAdded UCLASS_CDC definitions to usb.h
Nick Hibma [Tue, 15 Dec 1998 07:06:51 +0000 (07:06 +0000)]
Added UCLASS_CDC definitions to usb.h

25 years agounlocalise build date (merge from i386)
Mike Smith [Tue, 15 Dec 1998 04:27:15 +0000 (04:27 +0000)]
unlocalise build date (merge from i386)

25 years agoAdd comments to code that I was trying to understand.
Julian Elischer [Tue, 15 Dec 1998 03:29:52 +0000 (03:29 +0000)]
Add comments to code that I was trying to understand.
Hopefully will save others time.

Someone who understands this better might check for correctness.

25 years agoAdd another modem (Psion Dacom)
Mike Smith [Tue, 15 Dec 1998 02:57:30 +0000 (02:57 +0000)]
Add another modem (Psion Dacom)

Submitted by: "Gary Palmer" <gpalmer@FreeBSD.ORG>

25 years agoo Convert length of hccb to integer from the array. Eivind Eklund
Warner Losh [Tue, 15 Dec 1998 02:51:54 +0000 (02:51 +0000)]
o Convert length of hccb to integer from the array.  Eivind Eklund
  pointed this out, but I've not seen a manifestation of this.
o Check against 0x00 as well as 0xff for geometry register, as some clone
  cards don't return 0xff.  Vadim Mikhailov pointed this out in PR
  8743 for his Dell SCSI Array controller working in AHA-1540
  emulation mode.  Note that this test is likely to go away in the
  future in favor of a better one Justin has recommended.

25 years agoThis file contains minimal instructions for the moderately clueful to
Warner Losh [Tue, 15 Dec 1998 00:24:32 +0000 (00:24 +0000)]
This file contains minimal instructions for the moderately clueful to
update their systems from prior versions of FreeBSD.  It is only for
November 18, 1998 and newer systems.  If you have an older system, you
are on your own.

I'll update this from time to time, and if it shows signs of bitrot
I'll kill it.

25 years agoAdd "-N" option to supress reverse name lookup.
Bill Fumerola [Mon, 14 Dec 1998 22:40:39 +0000 (22:40 +0000)]
Add "-N" option to supress reverse name lookup.
This comes in really handy when you're telneting the broken DNS server by
IP.

PR: bin/8698

25 years ago Remove hardwired alignment, align to sizeof(long) which should be more
Matthew Dillon [Mon, 14 Dec 1998 21:34:55 +0000 (21:34 +0000)]
Remove hardwired alignment, align to sizeof(long) which should be more
    portable (though the hardwired alignment of 16 would also have worked just
    fine and perhaps even resulted in better L1 cache operation).

25 years ago fix intermediate overflow in 'quad = int * int' situation by casting
Matthew Dillon [Mon, 14 Dec 1998 21:17:37 +0000 (21:17 +0000)]
fix intermediate overflow in 'quad = int * int' situation by casting
    the arguments to the multiply to a quad equivalent.  In this case,
    vm_ooffset_t.

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

25 years agoThe OHCI interfaces I have access to map their control regs etc. into
Julian Elischer [Mon, 14 Dec 1998 21:14:11 +0000 (21:14 +0000)]
The OHCI interfaces I have access to map their control regs etc. into
memory address space rather than IO space.. reflect this when looking for the
interface revision register.

If this is not true for them all then we probably need some smarter code.

25 years agoAdd -Wunused to kernel build flags.
Archie Cobbs [Mon, 14 Dec 1998 21:03:27 +0000 (21:03 +0000)]
Add -Wunused to kernel build flags.
Reviewed by: cvs-committers@freebsd.org

25 years ago Accidently broke structural alignment in SEMUSZ calculation. Added
Matthew Dillon [Mon, 14 Dec 1998 21:01:47 +0000 (21:01 +0000)]
Accidently broke structural alignment in SEMUSZ calculation.  Added
    alignment back in ( but am also keeping the use offsetof() ).

25 years agoRather than interrupting 10 times per second then checking
Brian Somers [Mon, 14 Dec 1998 19:24:30 +0000 (19:24 +0000)]
Rather than interrupting 10 times per second then checking
to see if there's anything to do, schedule the next alarm
based on the next required timeout.
This decreases the load when there are lots of relatively
idle ppp processes.

While I'm in there, handle the possibility that a timeout
makes the timer element go out of scope by grabbing the
enext pointer before executing the timer function.

25 years agoMake this protototype of mmap return void *, like two other copies.
Dmitrij Tejblum [Mon, 14 Dec 1998 19:23:16 +0000 (19:23 +0000)]
Make this protototype of mmap return void *, like two other copies.

25 years agoMoved the declaration of another non-SMP variable into the non-SMP section.
Bruce Evans [Mon, 14 Dec 1998 19:16:17 +0000 (19:16 +0000)]
Moved the declaration of another non-SMP variable into the non-SMP section.

25 years agoAdded 3 new errno values, requred by various standards: EOVERFLOW,
Dmitrij Tejblum [Mon, 14 Dec 1998 18:54:04 +0000 (18:54 +0000)]
Added 3 new errno values, requred by various standards: EOVERFLOW,
ECANCELED, EILSEQ.

Fixed ibcs2 and especially linux EIDRM and ENOMSG errno mapping.
Reviewed by: Dan Nelson <dnelson@emsphone.com>

25 years agoipfw changes for dummynet. manpages still missing
Luigi Rizzo [Mon, 14 Dec 1998 18:43:03 +0000 (18:43 +0000)]
ipfw changes for dummynet. manpages still missing

25 years agoIfdefed the declarations of conditionally used variables.
Bruce Evans [Mon, 14 Dec 1998 18:21:34 +0000 (18:21 +0000)]
Ifdefed the declarations of conditionally used variables.

25 years agoLast bits (i think) of dummynet for -current.
Luigi Rizzo [Mon, 14 Dec 1998 18:09:13 +0000 (18:09 +0000)]
Last bits (i think) of dummynet for -current.

25 years agoBridging support. Wait for LINT to be updated before trying it.
Luigi Rizzo [Mon, 14 Dec 1998 17:58:05 +0000 (17:58 +0000)]
Bridging support. Wait for LINT to be updated before trying it.

25 years ago(Hopefully) fix support for "large" files. Mostly cast block numbers to off_t
Dmitrij Tejblum [Mon, 14 Dec 1998 17:51:30 +0000 (17:51 +0000)]
(Hopefully) fix support for "large" files. Mostly cast block numbers to off_t
before they multiplied to block sizes.

25 years agoBring dummynet+bridging in -current. Everything will be ready when
Luigi Rizzo [Mon, 14 Dec 1998 17:46:15 +0000 (17:46 +0000)]
Bring dummynet+bridging in -current. Everything will be ready when
LINT is updated.

25 years agoFixed LINT breakage in previous commit. Option FDC_YE enabled a
Bruce Evans [Mon, 14 Dec 1998 16:29:58 +0000 (16:29 +0000)]
Fixed LINT breakage in previous commit.  Option FDC_YE enabled a
syntax error.  Options FDC_YE and DEVFS together enabled references
to a nonexistent variable and calls of a nonexistent function.

25 years agoFix tabs that should have been spaces. Some were in kernel error messages.
Stephen McKay [Mon, 14 Dec 1998 13:30:29 +0000 (13:30 +0000)]
Fix tabs that should have been spaces.  Some were in kernel error messages.

25 years agoRestore traditional behaviour by allowing tabs in strings. In deference
Stephen McKay [Mon, 14 Dec 1998 13:27:48 +0000 (13:27 +0000)]
Restore traditional behaviour by allowing tabs in strings.  In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.

25 years agoRemoved probe for VIA 82C586B OHCI controller (is done in ohci_pci.c now)
Nick Hibma [Mon, 14 Dec 1998 09:46:31 +0000 (09:46 +0000)]
Removed probe for VIA 82C586B OHCI controller (is done in ohci_pci.c now)

25 years agoAdded Id
Nick Hibma [Mon, 14 Dec 1998 09:40:15 +0000 (09:40 +0000)]
Added Id

25 years agoAdded Id to all files
Nick Hibma [Mon, 14 Dec 1998 09:32:25 +0000 (09:32 +0000)]
Added Id to all files

25 years agoAdded Id
Nick Hibma [Mon, 14 Dec 1998 09:31:41 +0000 (09:31 +0000)]
Added Id

25 years agoAdded comment
Nick Hibma [Mon, 14 Dec 1998 09:15:19 +0000 (09:15 +0000)]
Added comment

25 years agoAdded copyright and Id
Nick Hibma [Mon, 14 Dec 1998 09:13:29 +0000 (09:13 +0000)]
Added copyright and Id

25 years agoSync with sys/i386/isa/fd.c revision 1.128.
KATO Takenori [Mon, 14 Dec 1998 09:06:23 +0000 (09:06 +0000)]
Sync with sys/i386/isa/fd.c revision 1.128.

25 years agoSync with sys/i386/isa/pcaudio.c revision 1.44.
KATO Takenori [Mon, 14 Dec 1998 08:58:56 +0000 (08:58 +0000)]
Sync with sys/i386/isa/pcaudio.c revision 1.44.

25 years agoSync with sys/i386/isa/if_ed.c revision 1.147.
KATO Takenori [Mon, 14 Dec 1998 08:58:12 +0000 (08:58 +0000)]
Sync with sys/i386/isa/if_ed.c revision 1.147.

25 years agoSync with sys/i386/i386/userconfig.c revision 1.118.
KATO Takenori [Mon, 14 Dec 1998 08:53:32 +0000 (08:53 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.118.

25 years agoSync with sys/i386/conf/options.i386 revision 1.95.
KATO Takenori [Mon, 14 Dec 1998 08:52:20 +0000 (08:52 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.95.

25 years agoFixed problems with kernel config file overrides of sysv semaphore
Matthew Dillon [Mon, 14 Dec 1998 08:34:55 +0000 (08:34 +0000)]
Fixed problems with kernel config file overrides of sysv semaphore
parameters.  Prior to this fix a kernel config override would effect
only some of the kernel files, resulting in panics.

PR: kern/9068

25 years ago More locale directory structure updates for DIS_8859-15
Matthew Dillon [Mon, 14 Dec 1998 08:06:57 +0000 (08:06 +0000)]
More locale directory structure updates for DIS_8859-15

25 years ago Fix installworld, forgot directories for locale DIS_8859-15
Matthew Dillon [Mon, 14 Dec 1998 07:44:47 +0000 (07:44 +0000)]
Fix installworld, forgot directories for locale DIS_8859-15

25 years ago probe function changed from returning char * to const char *.
Matthew Dillon [Mon, 14 Dec 1998 06:37:37 +0000 (06:37 +0000)]
probe function changed from returning char * to const char *.

25 years ago Get rid of uninitialized variable warnings. No bugs found, just
Matthew Dillon [Mon, 14 Dec 1998 06:16:13 +0000 (06:16 +0000)]
Get rid of uninitialized variable warnings.  No bugs found, just
    preinitializing some locals to 0 to get rid of the compiler warnings.

25 years ago Get rid of uninitialized warning for local variable 'c'. There was no
Matthew Dillon [Mon, 14 Dec 1998 06:13:41 +0000 (06:13 +0000)]
Get rid of uninitialized warning for local variable 'c'.  There was no
    bug, but set it to 0 anyway to get rid of warning.

    Get rid of uninitialized warning for local variable 'line' as well as
    make a minor change to its scope.  Again, no bug.

25 years ago Fix uninitialized variable warning by preinitializing 'class' to 0. This
Matthew Dillon [Mon, 14 Dec 1998 05:49:04 +0000 (05:49 +0000)]
Fix uninitialized variable warning by preinitializing 'class' to 0.  This
    wasn't a bug, just added to silence a warning.

25 years ago pci_device pd_probe function changed from returning char * to returning
Matthew Dillon [Mon, 14 Dec 1998 05:47:29 +0000 (05:47 +0000)]
pci_device pd_probe function changed from returning char * to returning
    const char *.  Originally I was going to add casts from const char * to
    char * in some of the pci device drivers, but the reality is that the
    pci device probes return constant quoted strings.

25 years ago Fix -Wuninitialized warning regarding zero-length var-args ctl element.
Matthew Dillon [Mon, 14 Dec 1998 05:37:37 +0000 (05:37 +0000)]
Fix -Wuninitialized warning regarding zero-length var-args ctl element.
    ( this isn't really an error, but I think it is important to fix the
    warning ).

25 years ago author was assuming that nextpaddr declared *inside* the do loop would
Matthew Dillon [Mon, 14 Dec 1998 05:35:56 +0000 (05:35 +0000)]
author was assuming that nextpaddr declared *inside* the do loop would
    survive within the loop.  This is not guarenteed by C.  I have moved
    the nextpaddr declaration to outside the do loop.

25 years ago Change local ddb_mode variable to volatile to handle GCC warning about
Matthew Dillon [Mon, 14 Dec 1998 05:34:33 +0000 (05:34 +0000)]
Change local ddb_mode variable to volatile to handle GCC warning about
    the variable possibly being clobbered by setjmp/longjmp.

25 years agoReviewed by: JKH
Wes Peters [Mon, 14 Dec 1998 05:11:26 +0000 (05:11 +0000)]
Reviewed by: JKH
Submitted by: Wes Peters

Added strtok_r (reentrant) function and man page.

25 years ago Cleanup uninitialized-possibly-used (but really not) warnings
Matthew Dillon [Mon, 14 Dec 1998 05:00:59 +0000 (05:00 +0000)]
Cleanup uninitialized-possibly-used (but really not) warnings

25 years agoAdded support for DIS 8859-15 based locales using patch
Matthew Dillon [Mon, 14 Dec 1998 02:59:15 +0000 (02:59 +0000)]
Added support for DIS 8859-15 based locales using patch
from Kaleb.

Obtained from: Kaleb Keithley <kaleb@ics.com>

25 years agoReviewed by: freebsd-current
Matthew Dillon [Mon, 14 Dec 1998 02:25:32 +0000 (02:25 +0000)]
Reviewed by: freebsd-current

    Add bounds checking to netbios NS packet resolving code.  This should
    prevent natd from crashing on badly formed netbios packets (as might be
    heard when the machine is sitting on a cable modem or certain DSL
    networks), and also closes potential security holes that might have
    exploited the lack of bounds checking in the previous version of the
    code.

25 years ago Remove rc.local (now deleted from CVS tree) from Makefile.
Matthew Dillon [Mon, 14 Dec 1998 02:01:22 +0000 (02:01 +0000)]
Remove rc.local (now deleted from CVS tree) from Makefile.

25 years agoMake the use of 'disc' vs 'ds' as prefix consistent by making all 'disc'.
Eivind Eklund [Mon, 14 Dec 1998 01:59:16 +0000 (01:59 +0000)]
Make the use of 'disc' vs 'ds' as prefix consistent by making all 'disc'.
This fix the conflict of having two functions called 'dsioctl()'.

25 years agoAllow a variable as the first arg to ``set proctitle''.
Brian Somers [Mon, 14 Dec 1998 01:15:34 +0000 (01:15 +0000)]
Allow a variable as the first arg to ``set proctitle''.

25 years agoMention the cosmetic necessity to ``iface clear'' in ppp.linkdown.
Brian Somers [Mon, 14 Dec 1998 01:15:14 +0000 (01:15 +0000)]
Mention the cosmetic necessity to ``iface clear'' in ppp.linkdown.

25 years agosmall oops on previous bug fix, it's late...
Nick Hibma [Sun, 13 Dec 1998 23:53:42 +0000 (23:53 +0000)]
small oops on previous bug fix, it's late...