Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Mike Barcroft
ede8b1c50a
Fix some bogus strncpy(3) to strlcpy(3) changes I made in the previous
...
revision. <utmp.h> structures don't leave room for a NUL character.
Also fix "UNKNOWN" which should have just been UNKNOWN.
Pointed out by: bde
2001-08-13 05:56:27 +00:00
Mark Murray
37ee76af52
Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
...
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.
Requested by: ache
Discussed on: -security
2001-08-12 18:47:56 +00:00
Mike Barcroft
9ab4f41231
o Replace occurrences of strncpy(3) with strlcpy(3); most of
...
the uses of it were wrong anyway.
o Always check for NULL returns on strdup(3).
o Fix a possible buffer overflow in strcpy(3).
o Fix a format string vulnerability.
o t->ty_type in stypeof() could be NULL and eventually cause
a segmentation fault in setenv(3), so check for that.
Eyeballed by: kris
Reviewed by: murray
MFC after: 3 days
2001-08-12 17:54:49 +00:00
Kenneth D. Merry
9674f1d43a
Change the compute_stats() call to the new devstat_compute_statistics()
...
interface.
Cast the return of the rest of the printfs in here to void.
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
2001-08-11 19:41:56 +00:00
Mark Murray
788222e410
Set the RUSER for PAM so that (eg) kerberos can set up tickets properly.
2001-08-11 14:24:13 +00:00
Mark Murray
8cc3b02f98
WARNS=2 type cleanup.
...
WARNS=2 cannot be enable because of an unresolvable conflict in arg 2
of execv(). Document this in the Makefile.
Reviewed by: bde (su.c only)
2001-08-11 14:22:32 +00:00
Kris Kennaway
57c6bd978f
Don't call errx() with a variable format string
...
MFC after: 1 week
2001-08-11 00:49:11 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Ruslan Ermilov
57e4378bf6
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Ruslan Ermilov
3ce0d6e846
mdoc(7) police: fix markup.
2001-08-10 10:43:45 +00:00
Ruslan Ermilov
95d6ec368c
Update for 3.36.
2001-08-09 14:38:45 +00:00
Ruslan Ermilov
5a32eb6470
Update for 3.36.
...
Reduce diffs to distributed, man(7) format, version.
Markup nits.
2001-08-09 14:38:10 +00:00
Dima Dorfman
ca0589467f
Style fix: use .else where appropriate.
...
PR: 29489
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-09 07:03:11 +00:00
Dima Dorfman
e896c344fb
Print the peer's name and address in the "Connection establish"
...
message. Similar information is given by the talk daemon when a
connection is requested, but that part isn't on the screen when the
main "talk" screen appears, and sometimes it's nice to know who you're
talking to.
Reviewed by: ru
2001-08-09 06:45:35 +00:00
Yaroslav Tykhiy
d691b79fbc
Replace the condemned access(2) by stat(2),
...
as per the discussion in -audit.
2001-08-08 21:22:48 +00:00
Sheldon Hearn
42abf713c9
can not -> cannot
2001-08-08 18:32:06 +00:00
David E. O'Brien
bef2f61da3
Clean up this thing a little.
2001-08-08 16:19:30 +00:00
David E. O'Brien
9732caee1b
Support the new "-i" (output MIME type strings) option by installing
...
the MIME files (both regular and precompiled).
2001-08-08 16:10:16 +00:00
David E. O'Brien
8c662313ce
Build and use the precompiled magic file. Precompiled magic files have
...
been supported since version 3.35, however it is just with version 3.36
that file has become verbose about it.
2001-08-08 15:53:58 +00:00
Ruslan Ermilov
5873dc7271
Add entry for wsanchez.
2001-08-08 15:35:20 +00:00
Thomas Gellekum
31769c6186
Silence some more warnings, mostly from `-W -Wwrite-strings'.
2001-08-08 10:58:50 +00:00
Dag-Erling Smørgrav
03f28475f8
Allow the user to specify port ranges against which to match inet sockets.
...
Suggested by: roam
2001-08-07 19:59:52 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Ruslan Ermilov
489c40dcf5
mdoc(7) police: bump document date for the previous delta.
2001-08-07 13:45:55 +00:00
Ruslan Ermilov
2909f5cf21
mdoc(7) police: sort xrefs.
2001-08-07 13:41:38 +00:00
Ruslan Ermilov
df3fa85144
mdoc(7) police: bump document date for the previous delta, fix markup.
2001-08-07 13:40:07 +00:00
Thomas Gellekum
9e6e8e9f89
Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'.
2001-08-07 11:09:15 +00:00
Mike Barcroft
b5b9b43078
Constify, staticize, and set WARNS=2.
...
MFC after: 3 days
2001-08-06 23:20:06 +00:00
Dima Dorfman
41f59e1ce0
can not -> cannot
2001-08-05 22:07:27 +00:00
Mike Barcroft
eade81c941
o Move APNIC flag from -p to -A. Since, -p is usually associated
...
with specifying a port.
o Add the -p flag for specifying a port. (PR: 28790) This is
useful for querying rwhois servers. Example:
whois -h rwhois.exodus.net -p rwhois 216.136.180.0
o Add the -c flag which allows one to get the same whois server
that would normally be determined if no arguments were specified.
(Concept based on work by phantom, requested by ache) Example:
whois -c ru TCNET-MNT-RIPN
o Deprecate -R flag in favour of -c ru.
PR: 28790
Reviewed by: -audit, ache, phantom
2001-08-05 19:37:12 +00:00
Dima Dorfman
e632521c36
Document -d in usage.
...
Submitted by: Martin Kammerhofer <mkamm@sbox.tu-graz.ac.at>
2001-08-05 16:01:34 +00:00
Jonathan Chen
48aa92042e
Fix using /usr/bin/ftp as a slave process on the end of a pipe by calling
...
fflush(stdout). This is one ancient PR...
PR: bin/1589
Submitted by: imp
2001-08-05 08:39:58 +00:00
Thomas Gellekum
b99bacc92b
Fix warnings from `-Wmissing-prototypes'. Staticize.
2001-08-03 10:47:56 +00:00
Thomas Gellekum
273a0913fe
Sort SRCS.
2001-08-03 10:47:13 +00:00
Maxim Sobolev
a8ec1b4851
Fix a cryptoless world by disconnecting libmp from the build when there is no
...
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.
IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.
Missed by: dd
2001-08-02 15:47:03 +00:00
Sheldon Hearn
86f478757a
MFS: in HISTORY section, fix release number of first appearance
2001-08-01 12:15:21 +00:00
Thomas Gellekum
399a82cd5d
Don't wait for a keypress in INT 16 function 01, just return the current
...
state. This fixes Easytrax.
2001-08-01 11:47:06 +00:00
Thomas Gellekum
008969f3d3
Mark debug() and fatal() as __printflike() and fix resulting warnings.
2001-07-31 11:27:48 +00:00
Thomas Gellekum
ddda86e60f
Sort options, remove unknown option 'f'.
2001-07-31 11:25:52 +00:00
Bosko Milekic
a8a35cdd91
Add a "X KBytes of wired memory reserved" metric that represents
...
approximately the amount of memory allocated from the mbuf maps
and sitting in the mbuf allocator's cache containers, and display
in parantheses the percentage of said memory that is actually
in use at the given time `netstat -m' is executed.
Suggested by: mjacob
2001-07-31 08:19:49 +00:00
Yaroslav Tykhiy
b95dbabab3
Don't use ".nofinger" as a string constant from within the code
...
since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead.
2001-07-30 16:50:47 +00:00
Thomas Gellekum
86c393fc09
- Add some more x86 instructions to emulate,
...
- emulate VGA read mode 0,
- emulate VGA write mode 1,
- minor cleanup.
Protel's Easytrax, a free PCB layout program, almost runs now; there are
still some problems with the keyboard emulation, but the graphics are fine
(albeit a bit slow).
2001-07-30 12:03:38 +00:00
Thomas Gellekum
07679c2d28
- Fix file names <:-(,
...
- attempt to find the X includes and libraries better,
- sort some things.
Submitted by: bde
2001-07-30 11:38:20 +00:00
Bruce Evans
0c593a5078
Fixed bitrot in DPADD in previous commit.
...
Fixed some style bugs (mainly disorder).
2001-07-30 11:16:39 +00:00
Bruce Evans
13c05935fa
Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.
2001-07-30 11:08:11 +00:00
David E. O'Brien
f1c116854d
Update to version 3.36.
2001-07-30 03:50:24 +00:00
David E. O'Brien
56e3dc4288
Update to version 3.36.
...
I had to hack print.c due to some new bits that only compile on NetBSD.
I could not figure what the analogous FreeBSD bits are.
2001-07-30 03:50:04 +00:00
Thomas Moestl
1e543a5075
Correct the old length argument passed to sysctl to be a pointer to a
...
size_t (not to an int).
MFC after: 2 days
2001-07-29 21:56:14 +00:00