jdolecek
1bc1c2815d
cleanup
1999-09-24 15:22:32 +00:00
hubertf
1f6247c83d
Add some sanity checks on what pkgdb_retrieve() returns.
...
Noted by D'Arcy J.M. Cain <darcy@druid.druid.net> on current-users.
1999-09-24 14:39:44 +00:00
lukem
a222db7c70
* use %lld instead of %qd to print out (long long) vars.
...
(slightly more portable; e.g, solaris supports this)
* remove some fluff (lint)
1999-09-24 14:28:14 +00:00
hubertf
8f48378bc3
Fix overflow in df on big partitions' raw device.
...
Supplied by Greg Oster, problem noted in OpenBSD PR#924.
1999-09-24 13:35:21 +00:00
lukem
14b5ecf789
use an off_t instead of quad_t (or long #ifndef NO_QUAD) to store the
...
temporary restart point. (yet another portability fix...)
1999-09-24 12:52:18 +00:00
explorer
a54e7e8c68
Merge a few constants from a different telnet.h file.
1999-09-24 07:53:21 +00:00
simonb
edde11af38
Fix tyop in roff macro name.
1999-09-24 07:44:05 +00:00
lukem
ec4e414dc8
fix a couple of thinkos in my recent work:
...
* abort_remote(): replace borken MIN(4,BUFSIZ) with just BUFSIZ; it
should have been MAX(4,BUFSIZ), but it's probably safe to assume that
BUFSIZ is at least 3... (fix from simonb)
* auth_url(): use the correct variable when calculating a buffer size.
1999-09-24 06:57:37 +00:00
is
497a2d0eaa
Make this compile without 68060 support. Apparently, nobody has tried this for
...
a long time.
1999-09-24 06:24:34 +00:00
lukem
cb8c56db8a
if getsockopt() returns a buffer size of <= 0, set them to 8192.
...
this works around a problem in certain OS from Sun with a version < 5.6...
1999-09-24 06:14:40 +00:00
lukem
e73d848293
in complete(), only copy the word if there is one.
...
`cd <TAB>' was triggering _DIAGASSERT(src != NULL)).
1999-09-24 05:35:09 +00:00
enami
c122d6ab9d
Suggest to upgrade config(8).
1999-09-24 04:52:46 +00:00
enami
8e1cda20c6
Fix the path of ioconf.incl.$MACHINE using sourcepath(). This is part
...
of PR#8369. Also, make sure that the file pointer ifp is always closed.
1999-09-24 04:48:37 +00:00
enami
532da8eb1c
Remove redundant declaration of firstfile().
1999-09-24 04:23:36 +00:00
nisimura
ffe9ca742d
Add 'sfbreg.h' to the list of files installed in /usr/include/dev/tc/.
1999-09-24 01:01:23 +00:00
lukem
76c8d5f094
* finish replacing snprintf() with sprintf(), for portability reasons.
...
add lots of comments about how to size up the buffers, and add extra
checks to hopefully ensure that there won't be an overflow (unless
someone modifies the length of the sprintf()s).
* as part of the above, slightly rework the way the `*' bar is calculated.
also fixes a display bug when > 160 stars were needed to be printed.
the maximum progress bar width at this time is 256.
* remove some code that checks the port that was #if 0-ed out as part of the
ipv6 migration; it's not going to be used again.
1999-09-24 00:48:24 +00:00
nisimura
ff559f77f0
'KB' for kilo-bytes as humanize_number().
1999-09-24 00:37:52 +00:00
tron
7469644d8f
Replace place holders (e.g. "@CMD_EXT@") with correct values for NetBSD.
1999-09-23 19:38:10 +00:00
frueauf
aa39b12fb0
add missing #include <compat/svr4/svr4_lwp.h>. Ok'd by Klaus Klein.
1999-09-23 16:37:04 +00:00
christos
fcc61fbac4
PR/8443: Yamano-uchi, Hidetoshi: Missing register in IODESC.
1999-09-23 16:09:58 +00:00
tron
dd82f86245
Add Realtek 8129/8139 driver to install kernel as suggested by
...
Patrick Welche in PR install/8477.
1999-09-23 16:09:13 +00:00
tron
4c33d8ac2b
Replace "nullfs" by "null". Fixes PR misc/8481 by Feico Dillema.
1999-09-23 16:03:12 +00:00
dmcmahill
10800b97f9
add description of the -t option
1999-09-23 15:42:06 +00:00
dmcmahill
df5a9e3cb5
fix -t option
1999-09-23 15:41:31 +00:00
minoura
75c422ec6c
Use m68k common cacheops.c.
1999-09-23 15:24:34 +00:00
ws
b47ad60693
Correct handling of extended partitions within extended partitions.
...
Problem found and new program tested by Reinoud.Koornstra@ibbnet.nl .
While here, add support for Linux extended partitions.
1999-09-23 15:21:12 +00:00
minoura
be7984a052
First step toward network boot.
...
By Takeshi Nakayama <tn@catvmics.ne.jp>.
1999-09-23 15:14:57 +00:00
minoura
42b87a3a7d
#ifndef _M68K_CACHEOPS_H_ - #endif.
1999-09-23 15:10:18 +00:00
minoura
536a2060af
Protect some declarations by #ifdef _KERNEL.
1999-09-23 15:06:37 +00:00
kleink
9dfb5a91ec
Minor output formatting buglet.
1999-09-23 11:53:13 +00:00
kleink
d9abf5e332
Add Game Port definitions.
1999-09-23 11:50:19 +00:00
kleink
cef2689773
Oops, we do have to check ourselves whether a given value is valid within an
...
enumeration.
1999-09-23 11:46:12 +00:00
enami
67e874d814
Allow to detach wdc, atapibus, wd and cd.
1999-09-23 11:04:29 +00:00
is
672a322dfc
Remove references to nonexistent manual pages prof(1), pc(1) and monitor(3).
...
Add references to c++(1), f77(1), moncontrol(3) and monstartup(3).
Problem reported in PR 8060.
1999-09-23 09:38:53 +00:00
tron
22cf28baac
Fix wrong option string in call to getopt(3). Patch supplied by
...
Geoff C. Wing in PR bin/8475.
1999-09-23 08:47:47 +00:00
takemura
8dd0eb62ce
Add timezone info in bootinfo.
...
Delete raw writing 'OK' into frame buffer.
1999-09-23 08:30:58 +00:00
msaitoh
2f74c366d0
Fix RWKREG register reset code in resettodr().
1999-09-23 05:34:03 +00:00
enami
5326516a15
Make this compile without INET6.
1999-09-23 04:02:27 +00:00
itojun
9474edfcd8
cleanup and correct TCP MSS consideration with IPsec headers.
...
MSS advertisement must always be:
max(if mtu) - ip hdr siz - tcp hdr siz
We violated this in the previous code so it was fixed.
tcp_mss_to_advertise() now takes af (af on wire) as its argument,
to compute right ip hdr siz.
tcp_segsize() will take care of IPsec header size.
One thing I'm not really sure is how to handle IPsec header size in
*rxsegsizep (inbound segment size estimation).
The current code subtracts possible *outbound* IPsec size from *rxsegsizep,
hoping that the peer is using the same IPsec policy as me.
It may not be applicable, could TCP gulu please comment...
1999-09-23 02:21:30 +00:00
jsm
157087a683
Use macro NAMLEN rather than dirent->d_namlen, for easier portability.
1999-09-22 18:56:32 +00:00
jsm
25688c046c
Use the function usage().
1999-09-22 18:55:14 +00:00
jsm
13f44a1f67
Don't include terminal . in argument of err().
1999-09-22 18:54:42 +00:00
jsm
419fb603c3
Don't include <nlist.h>.
1999-09-22 18:54:03 +00:00
wrstuden
9229eeaa2b
Add KMOD_LOADFLAGS to the load target. With this, lkm's in /sys/lkm/... can
...
more readily depend on each other.
An lkm which depends on another lkm now only needs to set
KMOD_LOADFLAGS= -A../../path/to/other/lkm's/${KMOD}
and the lkm will link against the other lkm's symbols. Obviously the other
lkm had better be loaded. ;-) Note: the -A option to modload was pre-
existing. This change makes it possible for users of this file to take
advantage of it.
1999-09-22 18:06:21 +00:00
jdolecek
5fc5120c8e
drop support for pre-104050000 NetBSD
1999-09-22 14:39:53 +00:00
ws
b17a1042ba
Allow mutual dependencies.
...
Output string-valued options reasonably to option files.
1999-09-22 14:23:03 +00:00
bouyer
4ef94b0ae5
Add missing '/usr/share/man/man8/next68k'
1999-09-22 12:54:12 +00:00
uch
7a074afddc
Change indent. no code changes.
1999-09-22 12:49:48 +00:00
enami
99024b0423
print newline.
1999-09-22 10:03:37 +00:00
enami
c08940c49b
Fix indentation of close curly brace.
1999-09-22 09:51:03 +00:00