Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
a2495a13
Commit
a2495a13
authored
Apr 27, 2000
by
David Lawrence
Browse files
inet_* checks used NULL as a parameter, which was not necessarily defined
parent
145bd6ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
a2495a13
#! /bin/sh
# From configure.in Revision: 1.1
19
# From configure.in Revision: 1.1
20
...
...
@@ -3444,7 +3444,7 @@ cat > conftest.$ac_ext <<EOF
#include <netinet/in.h>
#include <arpa/inet.h>
int main() {
inet_ntop(0,
NULL, NULL
, 0); return (0);
inet_ntop(0,
0, 0
, 0); return (0);
; return 0; }
EOF
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 <arpa/inet.h>
int main() {
inet_pton(0,
NULL, NULL
); return (0);
inet_pton(0,
0, 0
); return (0);
; return 0; }
EOF
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 <arpa/inet.h>
int main() {
struct in_addr in; inet_aton(
NULL
, &in); return (0);
struct in_addr in; inet_aton(
0
, &in); return (0);
; return 0; }
EOF
if
{
(
eval echo
configure:3505:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
...
...
configure.in
View file @
a2495a13
...
...
@@ -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 SOFTWARE.
AC_REVISION($Revision: 1.1
19
$)
AC_REVISION($Revision: 1.1
20
$)
AC_PREREQ(2.13)
...
...
@@ -699,7 +699,7 @@ AC_TRY_LINK([
#include <sys/types.h>
#include <netinet/in.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)
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"],
...
...
@@ -712,7 +712,7 @@ AC_TRY_LINK([
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>],
[inet_pton(0,
NULL, NULL
); return (0);],
[inet_pton(0,
0, 0
); return (0);],
[AC_MSG_RESULT(yes)
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"],
...
...
@@ -725,7 +725,7 @@ AC_TRY_LINK([
#include <sys/types.h>
#include <netinet/in.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)
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment