Bruce Evans
887ba12fc5
Removed diskerr()'s unused d_name arg and updated callers. This fixes
...
warnings caused by the arg having the wrong type (not const enough).
The arg was also wrong (a full name instead of a short one) for calls
from from subr_diskmbr.c and pc98/diskslice_machdep.c.
1999-09-13 12:59:41 +00:00
Bruce Evans
c32cc1493f
Const'ify devtoname() and d_name. This exposes some errors (2 non-benign).
...
Handle negative minor numbers properly in devtoname().
1999-09-13 12:29:32 +00:00
Dag-Erling Smørgrav
8dc47ef606
Fix disordering introduced in my previous commit.
...
Pointed out by: bde
1999-09-13 09:45:07 +00:00
Dag-Erling Smørgrav
c7ed8409ad
Document tcp_keepalive, tcp_drop_synfin, tcp_restrict_rst,
...
icmp_drop_redirect and icmp_log_redirect.
1999-09-13 09:18:31 +00:00
KATO Takenori
4e7d4af091
Merge from sys/i386/conf/GENERIC revision 1.190.
1999-09-13 08:55:15 +00:00
Dag-Erling Smørgrav
01b9141584
"\t\t" -> " \t" as per rev. 1.611 (mangled in the previous commit)
...
Pointed out by: bde
1999-09-13 08:36:15 +00:00
Dmitrij Tejblum
e755fb7671
__collate_substitute() do something non-trivial only for German. For everyone
...
else, it is equivalent to strdup(). So, we will check if the substitution
tables are trivial at the load time, and possibly save 2 calls to
__collate_substitute() in strcoll().
Still, __collate_substitute() should not exist.
1999-09-12 21:15:28 +00:00
Poul-Henning Kamp
2016e4e906
Bite the bullet and allocate the devsw entry at compile time.
1999-09-12 20:40:29 +00:00
Dmitrij Tejblum
03a7efc234
Reduce time of __collate_substitute() from O(strlen(s)^2) to O(strlen(s)).
...
Other minor optimizations. I got ~30% speedup in strcoll() for 50 char strings,
~40% speedup for 100 char strings, and unmeasurable speedup for 1M strings.
Collates are still terribly slow. To make them reasonable fast,
__collate_substitute() should be killed.
1999-09-12 19:42:38 +00:00
Kenneth D. Merry
661d7edf84
Fix a file descriptor leak in cam_open_btl(). The xpt device was opened,
...
but never closed.
Submitted by: amobbs@allstor-sw.co.uk
1999-09-12 19:40:20 +00:00
Brian Feldman
32952d4b37
ISDISK -> ISSEEK
...
Allow a device type of D_DISK or D_MEM to be ISSEEK.
1999-09-12 18:56:12 +00:00
Brian Feldman
49c684571a
Correction: mem.c devices are "D_MEM" (and D_MEM is added.)
...
Taken issue with by: phk
1999-09-12 18:48:07 +00:00
Ollivier Robert
2a87314062
This fix adds checking for the existance of the /var/msgs
...
directory before attempting to create the bounds file.
PR: bin/13184
Submitted by: "Stephen J. Roznowski" <sjr@home.net>
1999-09-12 18:13:11 +00:00
Dag-Erling Smørgrav
e46cd3d4d2
Add the net.inet.tcp.restrict_rst and net.inet.tcp.drop_synfin sysctl
...
variables, conditional on the TCP_RESTRICT_RST and TCP_DROP_SYNFIN kernel
options, respectively. See the comments in LINT for details.
1999-09-12 17:22:08 +00:00
Brian Feldman
5868747254
Even more cleanups to dd(1). This is probably the culmination of the
...
BDEification process of dd(1). Most of the changes are from BDE's archive.
Support for negative offsets is gone again, but the case where you
lseek() onto byte -1 of something from a negative offset using seek/skip
is fixed; if you end up on -1, you won't get a false positive lseek failure.
The biggest changes are to data types (more size_t, for instance) and
argument parsing. skip/seek on /dev/{,k}mem now occurs (instead of "read
until you reach the offset") due to mem devices now being D_DISK. Some
const things are now correctly declared as such, and the "case table"
building is better. The only thing that seems to be left to make dd(1)
everything TOG wants it to be is l10n.
1999-09-12 16:51:53 +00:00
Brian Feldman
4871de2f17
Mainly stylistic fixes:
...
1. return( -> return (
2. inappropriate ENODEV -> ENOTTY
3. some unreachable cases removed
1999-09-12 16:44:07 +00:00
Brian Feldman
1a351c9ee4
Make the d_flags of mem devices D_DISK to signify that they are disk-like
...
random-seekable devices. This lets dd(1) know it can seek on them. It
also affects spec_vnopen() (IIRC), but only makes the path of execution smaller,
and does not change its behavior. This is when securelevel >= 2.
1999-09-12 16:38:43 +00:00
Doug Rabson
57129f42d5
Add new manpage device_set_flags.9 and add links for
...
device_set_desc_copy.9 and device_get_flags.9.
1999-09-12 16:01:11 +00:00
Yoshihiro Takahashi
1065b855f9
Fixed missing changes from sys/isa/sio.c.
1999-09-12 13:44:54 +00:00
Andrey A. Chernov
2a31c9cc9e
use %OB for months names
1999-09-12 13:33:33 +00:00
Yoshihiro Takahashi
c95341117e
Merge missing changes from sys/i386/conf/files.i386.
1999-09-12 12:32:49 +00:00
Andrey A. Chernov
313baec25f
Redefine KEY_HOME as BOL like in pico, joe and lot of others and line edition
...
Add KEY_END as EOL
1999-09-12 10:08:18 +00:00
Poul-Henning Kamp
3febdd8fb8
Use a different tactic when creating the devsw so that disk_create()
...
doesn't need to malloc.
1999-09-12 09:16:00 +00:00
Poul-Henning Kamp
f5756ee9f5
Remove replace phygetvpbuf() with direct call to getpbuf();
1999-09-12 08:27:41 +00:00
Poul-Henning Kamp
c4da3dcc64
Remove unneeded disk-related includes.
1999-09-12 08:23:21 +00:00
Poul-Henning Kamp
be3743d910
Change scheduling to use on the fly determination rather than presorting.
1999-09-12 08:13:26 +00:00
Marcel Moolenaar
e1c2c8c16e
Move the #include directive up one line and out of the function body.
1999-09-12 07:01:23 +00:00
Mike Smith
03c6be5cdc
Some PnP BIOSsen return garbage in the high byte of the number-of-devices
...
field (or don't set the high byte at all). Clear it to avoid reporting
a silly number of devices.
Reported by: phk
1999-09-12 06:58:33 +00:00
Michael Haro
9db4bbf32a
When a STAT command is sent to ftpd as an out-of-band transmission during
...
a file transfer, the command was mishandled on every other receipt of the
command.
PR: 13261
Submitted by: Ian Lepore <ian@plutotech.com>
1999-09-12 01:27:46 +00:00
Andrey A. Chernov
da600884bd
Remove all \n from __COPYRIGHT(...) string - assembler can't parse them
...
in .ident and produce warning
1999-09-12 00:23:44 +00:00
Dmitrij Tejblum
91169b79b6
Add "alternative" forms of full month names.
1999-09-11 22:14:18 +00:00
Dmitrij Tejblum
da3785ef12
Implement new format specifier for strftime: %OB, alternative national
...
representation of the full month name. In the Russian locale, this alternative
will be "nominative case", useful when the date designate month as a whole.
E.g. month heading in a calendar. I hope it can be useful for some other
locales too.
Discussed with: wollman, ache
1999-09-11 21:35:21 +00:00
Alfred Perlstein
07181581f9
Add FreeBSD history in 'HISTORY'
...
Pointed out by: obrien
1999-09-11 21:07:14 +00:00
Alfred Perlstein
2f42dfd0a2
vnode -> mountpoint
...
reference vfs_check_export
change license to my own, (ok'd by dfr) and remove advert clause.
remove extra Id tags and emacs cruft, this should be a fresh file.
1999-09-11 21:00:03 +00:00
Peter Wemm
1a16554b8f
Make pmap_mapdev() deal with non-page-aligned requests.
...
Add a corresponding pmap_unmapdev() to release the KVM back to kernel_map.
1999-09-11 20:31:32 +00:00
Andrey A. Chernov
f273033f60
pick up locales from locale subdir
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 20:01:41 +00:00
Andrey A. Chernov
3e6ef2e23d
install localized files
1999-09-11 19:56:05 +00:00
Andrey A. Chernov
36fa8b8137
koi8-r mandoc tweaks
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 19:49:21 +00:00
Mitsuru IWASAKI
58173bf747
Fix debut version to 3.3, not 4.0.
1999-09-11 19:32:30 +00:00
Andrey A. Chernov
2054e06633
source hyphen.us-ru from locale subdir
1999-09-11 19:32:14 +00:00
Andrey A. Chernov
6801fbaaa3
install hyphen.us-ru under locale subdir
1999-09-11 19:27:35 +00:00
Andrey A. Chernov
2c3cb52472
add tmac/locale for man l10n tweaks
1999-09-11 19:11:03 +00:00
Andrey A. Chernov
19076007f1
Describe man_locales
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 19:03:45 +00:00
Andrey A. Chernov
c664bb9110
Add man_locales knob to specify localized man subdirs for makewhatis and
...
catman
1999-09-11 19:00:41 +00:00
Andrey A. Chernov
77adc291c6
localize it
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 18:55:02 +00:00
Nick Sayer
39aca5c05e
Fix kernel compile with BRIDGE, but without DUMMYNET
1999-09-11 18:54:41 +00:00
Andrey A. Chernov
ef5920ee6c
localize it
...
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:30:23 +00:00
Andrey A. Chernov
198f193685
localize it
...
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:21:16 +00:00
Doug Rabson
04d5308a6b
Change toupper/tolower so that they don't give a bogus answer if the
...
argument is already upper/lower.
1999-09-11 17:54:37 +00:00
Bruce Evans
9128e5b297
Fixed some style bugs (mainly disorderd prototypes).
1999-09-11 17:11:21 +00:00