Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
600
Issues
600
List
Boards
Labels
Service Desk
Milestones
Merge Requests
111
Merge Requests
111
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
7de2c6e6
Commit
7de2c6e6
authored
Sep 13, 2007
by
Evan Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings on SCO OSr5
parent
d468b1b7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
208 additions
and
50 deletions
+208
-50
config.h.in
config.h.in
+4
-4
configure
configure
+178
-30
lib/isc/include/isc/string.h
lib/isc/include/isc/string.h
+2
-2
lib/isc/unix/net.c
lib/isc/unix/net.c
+17
-8
lib/isc/unix/syslog.c
lib/isc/unix/syslog.c
+2
-2
lib/isccc/symtab.c
lib/isccc/symtab.c
+2
-2
lib/lwres/getaddrinfo.c
lib/lwres/getaddrinfo.c
+3
-2
No files found.
config.h.in
View file @
7de2c6e6
/* config.h.in. Generated from configure.in by autoheader. */
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005
, 2007
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and
/or
distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
...
...
@@ -16,7 +16,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.h.in,v 1.
88 2007/02/12 00:50:01
marka Exp $ */
/* $Id: config.h.in,v 1.
90 2007/09/14 03:40:36
marka Exp $ */
/*! \file */
...
...
@@ -308,7 +308,7 @@ int sigwait(const unsigned int *set, int *sig);
#undef inline
#endif
/* Define to `unsigned' if <sys/types.h> does not define. */
/* Define to `unsigned
int
' if <sys/types.h> does not define. */
#undef size_t
/* Define to `int' if <sys/types.h> does not define. */
...
...
configure
View file @
7de2c6e6
...
...
@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# $Id: configure,v 1.41
6 2007/08/14 00:12:58 marka
Exp $
# $Id: configure,v 1.41
7 2007/09/13 04:47:10 each
Exp $
#
# Portions Copyright (C) 1996-2001 Nominum, Inc.
#
...
...
@@ -29,7 +29,7 @@
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# From configure.in Revision: 1.43
0
.
# From configure.in Revision: 1.43
1
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
...
...
@@ -975,6 +975,7 @@ ISC_PLATFORM_RLIMITTYPE
ISC_PLATFORM_USEDECLSPEC
LWRES_PLATFORM_USEDECLSPEC
ISC_PLATFORM_BRACEPTHREADONCEINIT
ISC_PLATFORM_HAVESTRINGSH
ISC_PLATFORM_HAVEIFNAMETOINDEX
ISC_PLATFORM_HAVEXADD
ISC_PLATFORM_HAVECMPXCHG
...
...
@@ -9518,7 +9519,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 952
1
"configure"' > conftest.$ac_ext
echo '#line 952
2
"configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
...
...
@@ -11640,11 +11641,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1164
3
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1164
4
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:1164
7
: \$? = $ac_status" >&5
echo "$as_me:1164
8
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
...
...
@@ -11883,11 +11884,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1188
6
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1188
7
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:1189
0
: \$? = $ac_status" >&5
echo "$as_me:1189
1
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
...
...
@@ -11943,11 +11944,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1194
6
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1194
7
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:1195
0
: \$? = $ac_status" >&5
echo "$as_me:1195
1
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -14091,7 +14092,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 1409
4
"configure"
#line 1409
5
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -14189,7 +14190,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 1419
2
"configure"
#line 1419
3
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -16382,11 +16383,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1638
5
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1638
6
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:163
89
: \$? = $ac_status" >&5
echo "$as_me:163
90
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
...
...
@@ -16442,11 +16443,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1644
5
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1644
6
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:164
49
: \$? = $ac_status" >&5
echo "$as_me:164
50
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -17770,7 +17771,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 1777
3
"configure"
#line 1777
4
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -17868,7 +17869,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 1787
1
"configure"
#line 1787
2
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -18705,11 +18706,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1870
8
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1870
9
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:1871
2
: \$? = $ac_status" >&5
echo "$as_me:1871
3
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
...
...
@@ -18765,11 +18766,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1876
8
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1876
9
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:1877
2
: \$? = $ac_status" >&5
echo "$as_me:1877
3
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -20799,11 +20800,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:2080
2
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:2080
3
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:2080
6
: \$? = $ac_status" >&5
echo "$as_me:2080
7
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
...
...
@@ -21042,11 +21043,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:2104
5
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:2104
6
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:210
49
: \$? = $ac_status" >&5
echo "$as_me:210
50
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
...
...
@@ -21102,11 +21103,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:2110
5
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:2110
6
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:211
09
: \$? = $ac_status" >&5
echo "$as_me:211
10
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -23250,7 +23251,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 2325
3
"configure"
#line 2325
4
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -23348,7 +23349,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 2335
1
"configure"
#line 2335
2
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -28501,6 +28502,152 @@ _ACEOF
;;
esac
for ac_header in strings.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
else
# Is the header compilable?
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_compiler=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
# Is the header present?
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
ISC_PLATFORM_HAVESTRINGSH="#define ISC_PLATFORM_HAVESTRINGSH 1"
else
ISC_PLATFORM_HAVESTRINGSH="#undef ISC_PLATFORM_HAVESTRINGSH"
fi
done
#
# Check for if_nametoindex() for IPv6 scoped addresses support
#
...
...
@@ -31815,6 +31962,7 @@ ISC_PLATFORM_RLIMITTYPE!$ISC_PLATFORM_RLIMITTYPE$ac_delim
ISC_PLATFORM_USEDECLSPEC!$ISC_PLATFORM_USEDECLSPEC$ac_delim
LWRES_PLATFORM_USEDECLSPEC!$LWRES_PLATFORM_USEDECLSPEC$ac_delim
ISC_PLATFORM_BRACEPTHREADONCEINIT!$ISC_PLATFORM_BRACEPTHREADONCEINIT$ac_delim
ISC_PLATFORM_HAVESTRINGSH!$ISC_PLATFORM_HAVESTRINGSH$ac_delim
ISC_PLATFORM_HAVEIFNAMETOINDEX!$ISC_PLATFORM_HAVEIFNAMETOINDEX$ac_delim
ISC_PLATFORM_HAVEXADD!$ISC_PLATFORM_HAVEXADD$ac_delim
ISC_PLATFORM_HAVECMPXCHG!$ISC_PLATFORM_HAVECMPXCHG$ac_delim
...
...
@@ -31865,7 +32013,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5
8
; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5
9
; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
...
...
lib/isc/include/isc/string.h
View file @
7de2c6e6
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: string.h,v 1.2
2 2007/09/13 04:45:18
each Exp $ */
/* $Id: string.h,v 1.2
3 2007/09/13 04:48:16
each Exp $ */
#ifndef ISC_STRING_H
#define ISC_STRING_H 1
...
...
@@ -30,7 +30,7 @@
#include <string.h>
#ifdef ISC_PLATFORM_HAVE
_STRINGS_
H
#ifdef ISC_PLATFORM_HAVE
STRINGS
H
#include <strings.h>
#endif
...
...
lib/isc/unix/net.c
View file @
7de2c6e6
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: net.c,v 1.3
5 2007/06/19 23:47:18 tbox
Exp $ */
/* $Id: net.c,v 1.3
6 2007/09/13 04:45:18 each
Exp $ */
#include <config.h>
...
...
@@ -30,17 +30,26 @@
#include <isc/string.h>
#include <isc/util.h>
#if defined(ISC_PLATFORM_HAVEIPV6) && defined(ISC_PLATFORM_NEEDIN6ADDRANY)
#if defined(ISC_PLATFORM_HAVEIPV6)
# if defined(ISC_PLATFORM_NEEDIN6ADDRANY)
const
struct
in6_addr
isc_net_in6addrany
=
IN6ADDR_ANY_INIT
;
#endif
#
endif
#
if defined(ISC_PLATFORM_HAVEIPV6) &&
defined(ISC_PLATFORM_NEEDIN6ADDRLOOPBACK)
#
if
defined(ISC_PLATFORM_NEEDIN6ADDRLOOPBACK)
const
struct
in6_addr
isc_net_in6addrloop
=
IN6ADDR_LOOPBACK_INIT
;
#endif
#
endif
static
isc_once_t
once
=
ISC_ONCE_INIT
;
# if defined(WANT_IPV6)
static
isc_once_t
once_ipv6only
=
ISC_ONCE_INIT
;
# endif
# if defined(ISC_PLATFORM_HAVEIN6PKTINFO)
static
isc_once_t
once_ipv6pktinfo
=
ISC_ONCE_INIT
;
# endif
#endif
/* ISC_PLATFORM_HAVEIPV6 */
static
isc_once_t
once
=
ISC_ONCE_INIT
;
static
isc_result_t
ipv4_result
=
ISC_R_NOTFOUND
;
static
isc_result_t
ipv6_result
=
ISC_R_NOTFOUND
;
static
isc_result_t
unix_result
=
ISC_R_NOTFOUND
;
...
...
@@ -245,7 +254,7 @@ initialize_ipv6only(void) {
RUNTIME_CHECK
(
isc_once_do
(
&
once_ipv6only
,
try_ipv6only
)
==
ISC_R_SUCCESS
);
}
#endif
/*
IPV6_V6ONLY
*/
#endif
/*
WANT_IPV6
*/
#ifdef ISC_PLATFORM_HAVEIN6PKTINFO
static
void
...
...
@@ -301,7 +310,7 @@ initialize_ipv6pktinfo(void) {
try_ipv6pktinfo
)
==
ISC_R_SUCCESS
);
}
#endif
/* ISC_PLATFORM_HAVEIN6PKTINFO */
#endif
/*
WANT_
IPV6 */
#endif
/*
ISC_PLATFORM_HAVE
IPV6 */
isc_result_t
isc_net_probe_ipv6only
(
void
)
{
...
...
lib/isc/unix/syslog.c
View file @
7de2c6e6
...
...
@@ -15,17 +15,17 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: syslog.c,v 1.
7 2007/06/19 23:47:18 tbox
Exp $ */
/* $Id: syslog.c,v 1.
8 2007/09/13 04:45:18 each
Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <isc/result.h>
#include <isc/string.h>
#include <isc/syslog.h>
#include <isc/util.h>
...
...
lib/isccc/symtab.c
View file @
7de2c6e6
...
...
@@ -29,7 +29,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: symtab.c,v 1.1
0 2007/08/28 07:20:43 tbox
Exp $ */
/* $Id: symtab.c,v 1.1
1 2007/09/13 04:45:18 each
Exp $ */
/*! \file */
...
...
@@ -37,10 +37,10 @@
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <isc/assertions.h>
#include <isc/magic.h>
#include <isc/string.h>
#include <isccc/result.h>
#include <isccc/symtab.h>
...
...
lib/lwres/getaddrinfo.c
View file @
7de2c6e6
...
...
@@ -18,7 +18,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: getaddrinfo.c,v 1.5
1 2007/06/19 23:47:22 tbox
Exp $ */
/* $Id: getaddrinfo.c,v 1.5
2 2007/09/13 04:45:18 each
Exp $ */
/*! \file */
...
...
@@ -133,9 +133,10 @@
#include <config.h>
#include <string.h>
#include <errno.h>
#include <isc/string.h>
#include <lwres/lwres.h>
#include <lwres/net.h>
#include <lwres/netdb.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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