FreeBSD Bugzilla – Attachment 16678 Details for
Bug 30496
`host` does not work properly with top-level domains
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 502 bytes, created by
Tony Finch
on 2001-09-11 00:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Tony Finch
Created:
2001-09-11 00:50:01 UTC
Size:
502 bytes
patch
obsolete
>Index: host.c >=================================================================== >RCS file: /home/ncvs/src/contrib/bind/bin/host/host.c,v >retrieving revision 1.1.1.2.2.4 >diff -u -r1.1.1.2.2.4 host.c >--- host.c 2001/08/05 16:02:05 1.1.1.2.2.4 >+++ host.c 2001/09/03 00:07:04 >@@ -611,7 +611,8 @@ > int n; > char host[NS_MAXDNAME]; > >- if (domain == NULL) >+ if (domain == NULL || >+ domain[0] == '.' && domain[1] == '\0') > sprintf(host, "%.*s", NS_MAXDNAME, name); > else > sprintf(host, "%.*s.%.*s",
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 30496
: 16678