Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 09:30:53 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        arch@freebsd.org, current@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: [CFR] Upgrading base version of our resolver in libc to BIND9
Message-ID:  <yge7j6xamv6.wl%ume@mahoroba.org>
In-Reply-To: <200603131127.58239.peter@wemm.org>
References:  <yge8xre9srh.wl%ume@mahoroba.org> <200603131127.58239.peter@wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Mon, 13 Mar 2006 11:27:57 -0800
>>>>> Peter Wemm <peter@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@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yge7j6xamv6.wl%ume>