FreeBSD Bugzilla – Attachment 5581 Details for
Bug 13236
Patch for whois to use UK Nominet database.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.54 KB, created by
joe
on 1999-08-18 23:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
joe
Created:
1999-08-18 23:00:01 UTC
Size:
1.54 KB
patch
obsolete
>Index: whois.1 >=================================================================== >RCS file: /home/ncvs/src/usr.bin/whois/whois.1,v >retrieving revision 1.6 >diff -u -r1.6 whois.1 >--- whois.1 1999/02/02 01:49:14 1.6 >+++ whois.1 1999/08/18 21:53:41 >@@ -86,6 +86,10 @@ > database. It contains network numbers and domain contact information > for subdomains of > .Tn \&.RU . >+.It Fl u >+Use the Nominet Network Information Center >+.Pq Tn NIC.UK >+database. It contains domain contact information for the UK. > .El > .Pp > The operands specified to >Index: whois.c >=================================================================== >RCS file: /home/ncvs/src/usr.bin/whois/whois.c,v >retrieving revision 1.8 >diff -u -r1.8 whois.c >--- whois.c 1999/02/02 01:49:14 1.8 >+++ whois.c 1999/08/18 21:50:31 >@@ -63,6 +63,7 @@ > #define RNICHOST "whois.ripe.net" > #define PNICHOST "whois.apnic.net" > #define RUNICHOST "whois.ripn.net" >+#define UNICHOST "whois.nic.uk" > #define WHOIS_PORT 43 > > static void usage __P((void)); >@@ -85,7 +86,7 @@ > #endif > > host = NICHOST; >- while ((ch = getopt(argc, argv, "adgh:prR")) != -1) >+ while ((ch = getopt(argc, argv, "adgh:prRu")) != -1) > switch((char)ch) { > case 'a': > host = ANICHOST; >@@ -108,6 +109,9 @@ > case 'R': > host = RUNICHOST; > break; >+ case 'u': >+ host = UNICHOST; >+ break; > case '?': > default: > usage(); >@@ -159,6 +163,6 @@ > static void > usage() > { >- fprintf(stderr, "usage: whois [-adgprR] [-h hostname] name ...\n"); >+ fprintf(stderr, "usage: whois [-adgprRu] [-h hostname] name ...\n"); > exit(EX_USAGE); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13236
: 5581