Commit Graph

39 Commits

Author SHA1 Message Date
wiz 1dbb52e92c Fix typos, from Jared Yanovich. Forwarded by jmc@openbsd. 2003-10-21 09:03:25 +00:00
itojun d5250e4ec9 safer use of realloc 2003-10-16 06:34:19 +00:00
wiz ebe750b040 Sort options. 2003-10-11 09:06:03 +00:00
christos ca7e7788b7 - enable WARNS 2
- delint (void casts, shadow warning on port)
- always cast to unsigned char for isfoo() macros, not sometimes.
- save errno to avoid reporting random error value.
- use warnx() when the error is indeed unknown.
- use getprogname() instead of __progname.
- make all locals static.
2003-10-09 15:32:37 +00:00
jrf df042318ea christos@netbsd.org suggested we replace whois
with one that is KNF, has ipv6, better error
handling, and recursion. I settled on OpenBSDs.
Christos found some nits and had me commit as
is. Christos will follow up with fixes shortly.
2003-10-09 14:21:49 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun 6086476ade use bounded string op 2003-07-14 09:21:03 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
wiz 1afb9ef148 NFSNET. From Igor Sobrado in PR 19691. 2003-04-06 20:14:41 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 75dd6f2e0d Remove some STDC ifdefs, and some code that's for non-NetBSD systems.
ANSIfy.
2002-06-13 23:26:43 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz 3a82d1810a Drop some .Pp, sort sections. 2002-01-13 11:16:52 +00:00
fair 2b8deaf0e6 Extensive revamp of this man page to both answer PR 11116 and deal
with a wide variety of other problems in what came over from RIPE.
2002-01-13 02:35:03 +00:00
wiz e803edcb44 Use .Pp instead of empty lines. 2001-12-08 19:26:19 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
joda 98fea760dc don't know when the TOPDOMAIN compile-time option might be useful, but
doing strcat on a string literal is not a very good idea
2001-01-27 22:31:52 +00:00
mjl b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
jhawk 8d07b6ddd6 Return to whois.internic.net.
whois.networksolutions.com is just wrong -- it only returns information
for Network Solutions domains.
whois.opensrs.net is a bit better -- it returns information for OpenSRS
domains, and otherwise recurses to the correct whois server for other
domains -- unfortunately it is not canonical, and cannot be construed as
"correct." Other recursing proxies include whois.geektools.com and pallas.
eruditorum.org, neither of which is "official" either.

For good or for ill, we go back to whois.internic.net, which is the canonical
source for this information.
2000-09-30 14:05:48 +00:00
tv a5c649d5f5 Until whois supports proper recursion and/or the rwhois protocol, use
whois.opensrs.net, which does internal recursion for domain data.
Network Solutions' server recurses on only _some_ registries, and has the
damned disclaimer and advertising on no-match results.
2000-09-19 17:09:10 +00:00
fair b426e15b59 The never-sufficiently-damned Network Solutions has whacked around
the WHOIS service, again. New target: whois.networksolutions.com

This program should be replaced with one that does WHOIS++ so that it
can hit all the registries for data.
1999-12-03 08:22:09 +00:00
matthias 6ecf374e0c make this actually display the flag descriptions and examples. 1999-10-05 11:56:15 +00:00
itojun 1f293daeb9 fix getaddrinfo() loop.
Approved by: seirios@iri.co.jp (submitter of IPv6 whois patch)
1999-09-06 06:23:08 +00:00
itojun fa7c0ce4df IPv6-ready whois client.
PR: 8281
1999-09-03 13:51:28 +00:00
tron 6dac1f6a24 - Resolve conflicts from import.
- Fix compilation problems.
- Use "whois.internic.net" as default server for backward compatibility.
- Reformat manual page.
1999-05-18 22:36:36 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
kim 2d1bb4511d Allow port number for the server to be specified ("-h server:port").
This makes it possible to query rwhois servers at non-standard ports.
1998-11-24 01:33:47 +00:00
lukem 11d7c8ede7 deprecate register, fix .Nm, use err.h, use ANSI string.h 1997-10-20 03:23:37 +00:00
mrg 777a66571e WARNSify; deprecate register; clean up .Nm 1997-10-19 14:46:16 +00:00
jtc 9c755aca36 Sync with 4.4lite2. 1995-08-31 21:51:32 +00:00
jtc 5ff6f16bd7 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-14 05:13:14 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft d0f8d5d2bb Add RCS identifiers. 1993-07-30 22:28:22 +00:00
jtc d4f7744b8e Fix formatting bug. 1993-07-27 20:21:42 +00:00
cgd 5a79c6155d the whois database moved 1993-04-02 12:08:44 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00