Commit Graph

34062 Commits

Author SHA1 Message Date
Dmitrij Tejblum
85f118c801 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>
1998-12-14 18:54:04 +00:00
Luigi Rizzo
b13ebaaa5c ipfw changes for dummynet. manpages still missing 1998-12-14 18:43:03 +00:00
Bruce Evans
0be036c31a Ifdefed the declarations of conditionally used variables. 1998-12-14 18:21:34 +00:00
Luigi Rizzo
b715f178c6 Last bits (i think) of dummynet for -current. 1998-12-14 18:09:13 +00:00
Luigi Rizzo
fb5fbe465a Bridging support. Wait for LINT to be updated before trying it. 1998-12-14 17:58:05 +00:00
Dmitrij Tejblum
10db74e96d (Hopefully) fix support for "large" files. Mostly cast block numbers to off_t
before they multiplied to block sizes.
1998-12-14 17:51:30 +00:00
Luigi Rizzo
508d06616f Bring dummynet+bridging in -current. Everything will be ready when
LINT is updated.
1998-12-14 17:46:15 +00:00
Bruce Evans
ff9607b070 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.
1998-12-14 16:29:58 +00:00
Stephen McKay
2619394c7c Fix tabs that should have been spaces. Some were in kernel error messages. 1998-12-14 13:30:29 +00:00
Stephen McKay
cf17350fb8 Restore traditional behaviour by allowing tabs in strings. In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.
1998-12-14 13:27:48 +00:00
Nick Hibma
527e2883c3 Removed probe for VIA 82C586B OHCI controller (is done in ohci_pci.c now) 1998-12-14 09:46:31 +00:00
Nick Hibma
bea029a166 Added Id 1998-12-14 09:40:15 +00:00
Nick Hibma
6fef2c2c27 Added Id to all files 1998-12-14 09:32:25 +00:00
Nick Hibma
f287ad3471 Added Id 1998-12-14 09:31:41 +00:00
Nick Hibma
680a2f48d9 Added comment 1998-12-14 09:15:19 +00:00
Nick Hibma
def348d45a Added copyright and Id 1998-12-14 09:13:29 +00:00
KATO Takenori
c2a3601760 Sync with sys/i386/isa/fd.c revision 1.128. 1998-12-14 09:06:23 +00:00
KATO Takenori
ba8d06b9f7 Sync with sys/i386/isa/pcaudio.c revision 1.44. 1998-12-14 08:58:56 +00:00
KATO Takenori
ec16d9c2fc Sync with sys/i386/isa/if_ed.c revision 1.147. 1998-12-14 08:58:12 +00:00
KATO Takenori
82749a0af6 Sync with sys/i386/i386/userconfig.c revision 1.118. 1998-12-14 08:53:32 +00:00
KATO Takenori
dcb6aac9bb Sync with sys/i386/conf/options.i386 revision 1.95. 1998-12-14 08:52:20 +00:00
Matthew Dillon
3ea57f9da2 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
1998-12-14 08:34:55 +00:00
Matthew Dillon
0c2383102b More locale directory structure updates for DIS_8859-15 1998-12-14 08:06:57 +00:00
Matthew Dillon
b76ad1a32a Fix installworld, forgot directories for locale DIS_8859-15 1998-12-14 07:44:47 +00:00
Matthew Dillon
2cbe36f725 probe function changed from returning char * to const char *. 1998-12-14 06:37:37 +00:00
Matthew Dillon
9402b52081 Get rid of uninitialized variable warnings. No bugs found, just
preinitializing some locals to 0 to get rid of the compiler warnings.
1998-12-14 06:16:13 +00:00
Matthew Dillon
1a14f4b688 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.
1998-12-14 06:13:41 +00:00
Matthew Dillon
9334c514ff Fix uninitialized variable warning by preinitializing 'class' to 0. This
wasn't a bug, just added to silence a warning.
1998-12-14 05:49:04 +00:00
Matthew Dillon
35f069d08b 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.
1998-12-14 05:47:29 +00:00
Matthew Dillon
f7bb75c92a 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 ).
1998-12-14 05:37:37 +00:00
Matthew Dillon
c5a8ae50dd 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.
1998-12-14 05:35:56 +00:00
Matthew Dillon
98848ba89a Change local ddb_mode variable to volatile to handle GCC warning about
the variable possibly being clobbered by setjmp/longjmp.
1998-12-14 05:34:33 +00:00
Wes Peters
b1e12513fa Reviewed by: JKH
Submitted by:	Wes Peters

Added strtok_r (reentrant) function and man page.
1998-12-14 05:11:26 +00:00
Matthew Dillon
27ed09c2f0 Cleanup uninitialized-possibly-used (but really not) warnings 1998-12-14 05:00:59 +00:00
Matthew Dillon
ad7847141f Added support for DIS 8859-15 based locales using patch
from Kaleb.

Obtained from: Kaleb Keithley <kaleb@ics.com>
1998-12-14 02:59:15 +00:00
Matthew Dillon
374fad8b17 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.
1998-12-14 02:25:32 +00:00
Matthew Dillon
d749f6f64f Remove rc.local (now deleted from CVS tree) from Makefile. 1998-12-14 02:01:22 +00:00
Eivind Eklund
537ad9741c Make the use of 'disc' vs 'ds' as prefix consistent by making all 'disc'.
This fix the conflict of having two functions called 'dsioctl()'.
1998-12-14 01:59:16 +00:00
Brian Somers
87766c5694 Allow a variable as the first arg to ``set proctitle''. 1998-12-14 01:15:34 +00:00
Brian Somers
80b2397ccf Mention the cosmetic necessity to ``iface clear'' in ppp.linkdown. 1998-12-14 01:15:14 +00:00
Nick Hibma
1806e812ae small oops on previous bug fix, it's late... 1998-12-13 23:53:42 +00:00
Steve Price
23ffc3a6b1 Fix a couple grammar and typographical errors.
PR:		8355
Submitted by:	Bruce A. Mah <bmah@ca.sandia.gov>
1998-12-13 23:37:33 +00:00
Eivind Eklund
1c413ddaf0 Fix 3-byte buffer overflow.
Also, while I'm here, fix up some more after those that haven't
noticed #endif isn't a comment introducer.
1998-12-13 23:36:16 +00:00
Steve Price
4c1a815f94 Commit out caveat about hardlinks to directories since they are
no longer possible.

PR:		8337
1998-12-13 23:35:01 +00:00
Eivind Eklund
79f41b6df0 Fix typo - [0], [1], [2], not [0], [1], [3]. 1998-12-13 23:32:44 +00:00
Steve Price
4a76413bf7 wcd_read_toc returns zero on success and EIO on failure, so change the
test in open to return EIO if non-zero.

PR:		8316
Submitted by:	Masatoshi TAMURA <tamrin@shinzan.kuee.kyoto-u.ac.jp>
1998-12-13 23:30:15 +00:00
Nick Hibma
67aabdd8b7 small bug fix 1998-12-13 23:26:41 +00:00
Steve Price
5e6338f6e7 Cleanup usage string: -i takes an argument.
PR:		8315
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-12-13 23:26:21 +00:00
Eivind Eklund
494dc6bbe2 Fix typo - sizeof(struct crtl *) -> sizeof(struct ctrl *).
XXX This still assume that bzero() over a field create null-pointers,
which seems a chancy proposition at best.
1998-12-13 23:25:29 +00:00
Nick Hibma
9501b6d6b8 Removed unneeded definition 1998-12-13 23:16:20 +00:00