Commit Graph

4572 Commits

Author SHA1 Message Date
Jordan K. Hubbard
cd7377a368 Don't assume that the number of fds to select on is known quantity (in
this case 16).  Use dynamic FD_SETs and calculated high-water marks
throughout.
Obtained from:	OpenBSD and Apple's Radar database
MFC after:	2 days
2001-12-08 21:51:34 +00:00
Mike Barcroft
3334b16966 Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.
PR:	30676
2001-12-08 21:22:42 +00:00
Warner Losh
bc505f7742 Only use __FBSDID if it is defined. This fixes the 4.4-release (but
not stable) -> current upgrade path.

Reviewed by: markm
2001-12-08 02:28:16 +00:00
David Malone
9d26129dba Yes seems to be warns clean on alpha and i386. 2001-12-03 21:42:15 +00:00
David Malone
6215f63b5e Some warns cleanups - I think this is still not warns clean on the alpha. 2001-12-03 21:40:07 +00:00
David Malone
57a4972d78 Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:39:04 +00:00
David Malone
c83caf7b8d Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
David Malone
0fce1f20c8 Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile. 2001-12-03 21:33:59 +00:00
David Malone
c86e1d1f86 Warns cleanups. Add missing prototype. 2001-12-03 21:32:54 +00:00
David Malone
0050672a16 Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
David Malone
47e68d542a Strip seems to be warns clean on i386 and alpha. 2001-12-03 21:28:37 +00:00
David Malone
45af1a4cbd Warns cleanups. 2001-12-03 21:27:45 +00:00
David Malone
6e878749df Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.
2001-12-03 21:25:28 +00:00
David Malone
b139689c6b Warns cleanups. Add FreeBSD ID. 2001-12-03 21:22:56 +00:00
David Malone
586ffa2e8a Warns cleanups, add FreeBSD IDs. 2001-12-03 21:20:37 +00:00
David Malone
73f631edfa Warnc cleanups. Add FreeBSD IDs. 2001-12-03 21:15:40 +00:00
David Malone
054bbc7bc3 Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
David Malone
9178fa121e Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile. 2001-12-03 21:12:03 +00:00
David Malone
ae1a490de6 Warns cleanup. Add FreeBSD ID to Makefile and nice.c. 2001-12-03 21:10:47 +00:00
David Malone
9ff5e898db Warns cleanups. 2001-12-03 21:07:23 +00:00
David Malone
1627c04d8c Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:06:20 +00:00
David Malone
106b1a8c91 Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
David Malone
fae4fbf838 Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:03:39 +00:00
David Malone
4285ad09c9 Warns cleanups:
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.
2001-12-03 21:01:52 +00:00
David Malone
7f6475cec1 Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.
2001-12-03 21:00:33 +00:00
David Malone
1e49c24583 Warns cleanup. 2001-12-03 20:58:56 +00:00
David Malone
b268886863 Warns cleanup (just make main return an int). 2001-12-03 20:57:49 +00:00
David Malone
5748d9ba6f Cast off_t to long long before printing. Use %ll instead of %q incase
long long and quad_t are not the same.
2001-12-03 20:56:16 +00:00
John Hay
dcb9e45113 Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
the kerberos libraries and includes.
2001-12-03 17:53:09 +00:00
Mark Murray
7a32b4b1c6 Merge from master (crypto) telnet. WARNS fixes for alpha. 2001-12-03 12:41:19 +00:00
Mark Murray
151aa6c35a Use __FBSDID(). 2001-12-03 01:15:28 +00:00
Mark Murray
863475aa48 Reorder Makefile for style. 2001-12-03 01:09:17 +00:00
Mark Murray
d0effe7563 WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)
2001-12-03 00:16:52 +00:00
Mark Murray
f86b9f6d64 Use __FBSDID(). 2001-12-03 00:07:59 +00:00
Mark Murray
7f1afe0e0e Style fixes.
Use __FBSDID().
Be consistent WRT ANSI use.

OK'ed by:	obrien
2001-12-03 00:00:22 +00:00
Mark Murray
546c7f6629 Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
Mark Murray
9240706953 Use __FBSDID(). 2001-12-02 23:52:47 +00:00
Mark Murray
6e47870b77 Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
Mark Murray
3945c68f93 WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
Mark Murray
84c0ff2233 Use __FBSDID(). 2001-12-02 23:34:16 +00:00
Mark Murray
6af414cb2e Turn on WARNS=2.
Use __FBSDID().
2001-12-02 23:29:26 +00:00
Mark Murray
47faf12380 WARNS=2 fixes. Also, use __FBSDID(), and sort includes. 2001-12-02 23:12:33 +00:00
Mark Murray
b802e87095 Protect "make world", as I am doing some (potentially) dangerous
WARNS=2 fixes.

Add a commented out WARNS=2 to indicate future intentions.
2001-12-02 23:10:57 +00:00
Mark Murray
58cb8b9466 Turn on WARNS=2. this compiles cleanly. 2001-12-02 23:09:09 +00:00
Mark Murray
f614104aeb Slight makefile style.
Use __FBSDID().
2001-12-02 23:04:14 +00:00
Mark Murray
cbc4699c32 Use __FBSDID(). 2001-12-02 22:46:47 +00:00
Mark Murray
9e1e9c4421 WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Use __FBSDID().
Sort some headers.
2001-12-02 22:44:14 +00:00
Mark Murray
f1b6a5418e Use __FBSDID(). 2001-12-02 21:24:03 +00:00
Mark Murray
1a8b24c257 Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.
2001-12-02 20:54:57 +00:00
Mark Murray
01823518f5 Use __FBSDID(). 2001-12-02 20:45:24 +00:00