Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 147575 Details for
Bug 219473
"host" command from bind-utils package returns zero whether the host resolves or not.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
very simple patch
return.patch (text/plain), 779 bytes, created by
Adam Tkac
on 2007-02-07 17:24:53 UTC
(
hide
)
Description:
very simple patch
Filename:
MIME Type:
Creator:
Adam Tkac
Created:
2007-02-07 17:24:53 UTC
Size:
779 bytes
patch
obsolete
>--- bind-9.2.4/bin/dig/host.c.return 2007-02-07 18:06:43.000000000 +0100 >+++ bind-9.2.4/bin/dig/host.c 2007-02-07 18:09:42.000000000 +0100 >@@ -42,6 +42,7 @@ > static isc_boolean_t short_form = ISC_TRUE, listed_server = ISC_FALSE; > static isc_boolean_t list_addresses = ISC_TRUE; > static dns_rdatatype_t list_type = dns_rdatatype_a; >+static int seen_error = 0; > > static const char *opcodetext[] = { > "QUERY", >@@ -436,6 +437,7 @@ > dns_name_format(query->lookup->name, namestr, sizeof(namestr)); > printf("Host %s not found: %d(%s)\n", namestr, > msg->rcode, rcodetext[msg->rcode]); >+ seen_error = 1; > return (ISC_R_SUCCESS); > } > if (!short_form) { >@@ -707,6 +709,6 @@ > cancel_all(); > destroy_libs(); > isc_app_finish(); >- return (0); >+ return (seen_error); > } >
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 219473
: 147575