Oops: [PHP-DEV] Updated getanyrr.patch, now dns_getrecord.patch
| From: | Pollita | Date: | Sun, 17 Nov 2002 19:45:42 +0000 |
| Subject: | Oops: [PHP-DEV] Updated getanyrr.patch, now dns_getrecord.patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91181@lists.php.net to get a copy of this message | ||
Ooops, after running the diff, I made a last minute change, adding
RETURN_TRUE; to the end of the function and was too lazy to rerun the diff
forgetting that the lines-to-insert count would go up....
Here's a version of that diff that'll actually patch right:
> Attached is dns_getrecord.patch, previously known as getanyrr.patch for
> introducing a new function. I've made the changes suggested including:
>
> * Rename function
>
> * Add whitespace in argument list of functions called
>
> * Change parameter two from string to int, use defined constants instead
> DNS_ANY DNS_A DNS_MX DNS_NS DNS_CNAME DNS_PTR DNS_TXT DNS_SOA DNS_HINFO
>
> * Caught the fact I wasn't checking for a user supplied type of "HINFO"
> *whoops*
>
> What I unfortunately don't know how to do is update the ./configure
> process to check for existance of: res_nmkquery, res_nsend, and
> dn_expand.
> At the moment all I can do is rely on the fact that libresolv *is*
> being
> tested for, and that it should contain these functions. If someone
> could point me to documentation on updating that process I'd appreciate
> it, otherwise I'll go back to searching for it.
>
> -Pollita