mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
inet_* checks used NULL as a parameter, which was not necessarily defined
This commit is contained in:
parent
145bd6ea33
commit
a2495a1323
8
configure
vendored
8
configure
vendored
@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# From configure.in Revision: 1.119
|
# From configure.in Revision: 1.120
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -3444,7 +3444,7 @@ cat > conftest.$ac_ext <<EOF
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
int main() {
|
int main() {
|
||||||
inet_ntop(0, NULL, NULL, 0); return (0);
|
inet_ntop(0, 0, 0, 0); return (0);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
@ -3471,7 +3471,7 @@ cat > conftest.$ac_ext <<EOF
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
int main() {
|
int main() {
|
||||||
inet_pton(0, NULL, NULL); return (0);
|
inet_pton(0, 0, 0); return (0);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
@ -3498,7 +3498,7 @@ cat > conftest.$ac_ext <<EOF
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
int main() {
|
int main() {
|
||||||
struct in_addr in; inet_aton(NULL, &in); return (0);
|
struct in_addr in; inet_aton(0, &in); return (0);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
|
@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
|||||||
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||||
dnl SOFTWARE.
|
dnl SOFTWARE.
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.119 $)
|
AC_REVISION($Revision: 1.120 $)
|
||||||
|
|
||||||
AC_PREREQ(2.13)
|
AC_PREREQ(2.13)
|
||||||
|
|
||||||
@ -699,7 +699,7 @@ AC_TRY_LINK([
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>],
|
#include <arpa/inet.h>],
|
||||||
[inet_ntop(0, NULL, NULL, 0); return (0);],
|
[inet_ntop(0, 0, 0, 0); return (0);],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"],
|
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"],
|
||||||
|
|
||||||
@ -712,7 +712,7 @@ AC_TRY_LINK([
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>],
|
#include <arpa/inet.h>],
|
||||||
[inet_pton(0, NULL, NULL); return (0);],
|
[inet_pton(0, 0, 0); return (0);],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"],
|
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"],
|
||||||
|
|
||||||
@ -725,7 +725,7 @@ AC_TRY_LINK([
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>],
|
#include <arpa/inet.h>],
|
||||||
[struct in_addr in; inet_aton(NULL, &in); return (0);],
|
[struct in_addr in; inet_aton(0, &in); return (0);],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"],
|
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user