[CFR] Upgrading base version of our resolver in libc to BIND9

Hajimu UMEMOTO ume at freebsd.org
Tue Mar 14 00:31:04 UTC 2006


Hi,

>>>>> On Mon, 13 Mar 2006 11:27:57 -0800
>>>>> Peter Wemm <peter at wemm.org> said:

peter> From the patch:

peter> -#define        h_errno (*__h_error())
peter> +#define        h_errno (*__h_errno())

peter> ....

peter>  /* DO NOT USE THESE, THEY ARE SUBJECT TO CHANGE AND ARE NOT PORTABLE!!! 
peter> */
peter> -int    * __h_error(void);
peter> +int    * __h_errno(void);

peter> This is a significant ABI change.  Anything that references the public 
peter> "h_errno" definition will no longer link against the new libc.

No, I added an alias for __h_error for binary backward compatibility.

+/* binary backward compatibility for FreeBSD 5.x and 6.x */
+__weak_reference(__h_errno, __h_error);

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-arch mailing list