David E. O'Brien
065fe72747
Quiet a [useless] compiler warning.
2001-07-23 23:27:28 +00:00
Assar Westerlund
dbda0a3480
revert last commit. using %option nounput is better
...
noted by: Seth Kingsley <seth.kingsley@windriver.com>
2001-07-22 23:14:33 +00:00
Mike Barcroft
2c69b9a13e
Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
...
working.
Reviewed by: des
Approved by: des
2001-07-22 18:23:24 +00:00
Mike Pritchard
b21b2f313e
Fix some man page xrefs.
...
PR: docs/26065
MFC after: 1 week
2001-07-22 11:51:11 +00:00
Assar Westerlund
04625dfc30
add an unused attribute to yyunput to avoid warnings (errors) when
...
it's not being used
2001-07-21 19:47:17 +00:00
Mike Barcroft
197bca2ccf
o Add phantom's gethostinfo() function to reduce duplicated code.
...
o Increase readability by creating a wrapper for asprintf(3).
o Cast isdigit(3) argument to unsigned char for future locale
changes.
Submitted by: phantom
Reviewed by: -audit, des
Approved by: des
2001-07-20 16:44:44 +00:00
Mike Barcroft
e896ec1ef5
o Integrate security enhancements from OpenBSD.
...
- Don't assume environment variable HOME is not NULL.
o Integrate standards compliance from NetBSD.
- Allow -- before the command.
- Blocking SIGQUIT isn't standards compliant.
- Proper exit(3) levels.
- Actually append to nohup.out (as documented and required
by standard) instead of clobbering it.
o Remove some FreeBSD specific access(2) cruft (relating to
incorrect appending).
o Document the fact that two or more instances of nohup can
append to the same file.
o Constify; Staticize functions; Set WARNS?=2
Reviewed by: bde
Approved by: des
Obtained from: NetBSD, OpenBSD
MFC after: 9 days
2001-07-19 21:25:10 +00:00
David E. O'Brien
934d98a94b
Portability configuation for LukeM's ftp client.
2001-07-19 17:45:52 +00:00
Ruslan Ermilov
1a084f197d
Fixed the race caused by not checking the result of fgets(3):
...
/usr/bin/env MALLOC_OPTIONS=J banner </dev/null
PR: bin/29074
Fixed the problem when banner(6) would eat last character:
echo -n a | banner
MFC after: 1 week
2001-07-19 08:07:09 +00:00
Kris Kennaway
c0e30a2b1f
Embed $FreeBSD$ as an rcsid[]
2001-07-19 01:39:12 +00:00
Dag-Erling Smørgrav
04d12c9900
If we're writing to stdout, we don't care about the size.
...
Submitted by: wollman
2001-07-17 21:23:43 +00:00
Dag-Erling Smørgrav
91404f38f0
WARNS cleanup + remove an unused macro and an unused function argument.
2001-07-17 21:22:32 +00:00
Mike Barcroft
6c56da4a27
Re-write the logic that finds the whois server to query.
...
[This fixes a bug where one would type 'whois foo.bar.'
and get an error because of the trailing period.]
PR: 28880
Approved by: des
2001-07-17 20:40:41 +00:00
Ruslan Ermilov
f72acdd4c9
Clarify that MAKEOBJDIR and MAKEOBJDIRPREFIX are environment variables.
...
Submitted by: bde
2001-07-16 15:33:34 +00:00
Kris Kennaway
8b16780ac8
Add myself
2001-07-16 00:17:48 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Mark Murray
9061237999
Switch on SHA1 hashing.
2001-07-14 08:34:26 +00:00
Ruslan Ermilov
e8b02a428d
mdoc(7) police: -xwidth has been fold into -width.
2001-07-13 09:09:52 +00:00
Ruslan Ermilov
7d20bafcad
Generate top.local.h and manpage dynamically, with sed(1) script.
...
The generated manpage will now describe the actual behavior of
top(1) WRT how many processes it displays. This also eliminates
all troff(1) warnings.
2001-07-12 15:07:30 +00:00
Maxim Sobolev
2d68ab234d
Build/install bzip2 documentation (info page).
2001-07-12 14:44:17 +00:00
Ruslan Ermilov
63914212f0
Eliminate troff(1) warnings that were hiding some useful text.
2001-07-12 14:29:59 +00:00
Ruslan Ermilov
96e0c91959
Eliminate troff(1) warnings that were hiding some useful text.
2001-07-12 14:16:48 +00:00
Ruslan Ermilov
eb89426722
mdoc(7) police: removed punctuation after the last SEE ALSO xref.
2001-07-10 18:00:19 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Ruslan Ermilov
63919764c2
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:42:19 +00:00
David E. O'Brien
fb8d590c0e
style nit
2001-07-09 23:12:23 +00:00
Mark Murray
8509234471
Remove the S/Key key-handling apps, which are no longer needed, as
...
they are replaced by opiepasswd, opieinfo and opiekey.
2001-07-09 17:40:57 +00:00
Mark Murray
875afe974f
Provide a WANT_INSECURE_OPIE compile-time option, which is useful if
...
you encrypt all traffic routinely, and is also useful for debugging.
Also, (properly) set SUID bit on relevant apps - opieinfo and
opiepasswd, which need it to mess with /etc/opiekeys.
2001-07-09 17:37:52 +00:00
Ruslan Ermilov
42dadc4a58
mdoc(7) police: eliminate -ww warnings.
2001-07-09 15:46:02 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Brian Somers
7bc6d0158f
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Dag-Erling Smørgrav
74bd3d7698
Fix an embarassing if-test-reversal bug that broke scheme guessing.
2001-07-08 15:17:26 +00:00
Ruslan Ermilov
5521ff5a4d
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
Ruslan Ermilov
9597e1c260
mdoc(7) police: -column lists require column width specifiers.
2001-07-06 10:07:43 +00:00
Ruslan Ermilov
ac84cb970a
mdoc(7) police: moved -u down, fixed markup, removed hard sentence break.
2001-07-05 13:27:33 +00:00
Ruslan Ermilov
29baea0370
Document -u in the usage().
...
Make usage fit on a standard 80-column display.
2001-07-05 13:21:20 +00:00
Kris Kennaway
013fab318c
Mark a function as __printflike() and fix a non-exploitable format string
...
warning.
MFC after: 1 week
2001-07-05 10:08:25 +00:00
Kris Kennaway
6209021ebd
Mark some functions as __printflike()
...
MFC after: 1 week
2001-07-05 09:54:59 +00:00
Dima Dorfman
ffb9c240d7
Spelling police: extention -> extension.
2001-07-05 08:51:08 +00:00
Kris Kennaway
69c828c6bc
Don't generate syslog() statements which have format string vulnerabilities.
...
MFC after: 1 week
2001-07-05 08:17:41 +00:00
Ruslan Ermilov
865ec6c8fa
mdoc(7) police: sort xrefs.
2001-07-05 06:40:06 +00:00
Ruslan Ermilov
8fa6964a78
mdoc(7) police: fixed formatting.
2001-07-05 06:35:03 +00:00
Ruslan Ermilov
b7cd452d78
mdoc(7) police: fixed formatting bugs in rev. 1.27.
2001-07-05 06:27:52 +00:00
Ruslan Ermilov
756ceae899
mdoc(7) police: add missing .Ar in SYNOPSIS.
2001-07-05 06:20:29 +00:00
Ruslan Ermilov
33f6985557
mdoc(7) police: add missing .Ar in SYNOPSIS.
2001-07-05 06:11:10 +00:00
Dima Dorfman
561aef9a69
Revert previous commit; it broke large file support on platforms that
...
had it to begin with (e.g., the Alpha).
Submitted by: bde
2001-07-02 22:51:33 +00:00
Wilko Bulte
cf7ae120d9
s/Netherlands/the Netherlands
...
ISO3166 is *plain wrong* ...
Requested by: grog
MFC after: 1 week
2001-07-02 18:31:34 +00:00
Dima Dorfman
f6751868e4
Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
...
where necessary.
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
Dima Dorfman
653636c21d
Silence a warning on the Alpha.
...
Reviewed by: md5(1)
2001-06-30 05:32:29 +00:00
Dima Dorfman
41faa1a791
Silence a warning on the Alpha.
2001-06-30 05:29:57 +00:00