platform/upstream/c-ares.git
18 years agoAvoid the risk of a false positive detection of MSG_NOSIGNAL when cross compiling...
Yang Tse [Mon, 31 Jul 2006 18:41:29 +0000 (18:41 +0000)]
Avoid the risk of a false positive detection of MSG_NOSIGNAL when cross compiling a Windows target.

18 years agoForce compilation failure in case macros sread() or swrite() are not defined.
Yang Tse [Mon, 31 Jul 2006 17:12:24 +0000 (17:12 +0000)]
Force compilation failure in case macros sread() or swrite() are not defined.

18 years agoProvide definitions needed for macros sread() and swrite() in config file.
Yang Tse [Mon, 31 Jul 2006 16:58:10 +0000 (16:58 +0000)]
Provide definitions needed for macros sread() and swrite() in config file.

18 years agoFix compiler warnings.
Yang Tse [Sat, 29 Jul 2006 09:15:03 +0000 (09:15 +0000)]
Fix compiler warnings.

18 years agoinclude setup_once.h dependency and adjust to 80 char lines.
Yang Tse [Sat, 29 Jul 2006 08:39:20 +0000 (08:39 +0000)]
include setup_once.h dependency and adjust to 80 char lines.

18 years agoReplace send() and recv() with swrite() and sread() macros.
Yang Tse [Fri, 28 Jul 2006 18:01:23 +0000 (18:01 +0000)]
Replace send() and recv() with swrite() and sread() macros.

18 years agoFirst step trying to avoid the multiple header inclusion and recursion nightmare.
Yang Tse [Fri, 28 Jul 2006 14:19:03 +0000 (14:19 +0000)]
First step trying to avoid the multiple header inclusion and recursion nightmare.

Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.

18 years agoProvide multiple header inclusion prevention definition __ARES_PRIVATE_H
Yang Tse [Wed, 26 Jul 2006 10:54:08 +0000 (10:54 +0000)]
Provide multiple header inclusion prevention definition __ARES_PRIVATE_H

18 years agoChange multiple header inclusion prevention definition to __ARES_BITNCMP_H
Yang Tse [Wed, 26 Jul 2006 10:47:11 +0000 (10:47 +0000)]
Change multiple header inclusion prevention definition to __ARES_BITNCMP_H

18 years agoChange multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H
Yang Tse [Wed, 26 Jul 2006 10:43:15 +0000 (10:43 +0000)]
Change multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H

18 years agoSync header with source code
Yang Tse [Wed, 26 Jul 2006 10:33:17 +0000 (10:33 +0000)]
Sync header with source code

18 years agoSimplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall...
Yang Tse [Tue, 25 Jul 2006 13:49:50 +0000 (13:49 +0000)]
Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.

18 years agoAdded getopt() processing.
Gisle Vanem [Sun, 23 Jul 2006 10:10:52 +0000 (10:10 +0000)]
Added getopt() processing.

18 years agoAdded getopt() processing of [-t {a|aaaa}].
Gisle Vanem [Sat, 22 Jul 2006 17:31:00 +0000 (17:31 +0000)]
Added getopt() processing of [-t {a|aaaa}].

18 years agoAdded CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:38:35 +0000 (15:38 +0000)]
Added CVS id.

18 years ago2nd try adding CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:37:10 +0000 (15:37 +0000)]
2nd try adding CVS id.

18 years agoAdded CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:21:13 +0000 (15:21 +0000)]
Added CVS id.

18 years agoUse ares_free_string() to avoid detecting leaks.
Gisle Vanem [Sat, 22 Jul 2006 15:12:34 +0000 (15:12 +0000)]
Use ares_free_string() to avoid detecting leaks.

18 years agoIf CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set.
Gisle Vanem [Sat, 22 Jul 2006 14:51:39 +0000 (14:51 +0000)]
If CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set.

18 years agoFix compiler warning
Yang Tse [Fri, 14 Jul 2006 11:04:19 +0000 (11:04 +0000)]
Fix compiler warning

18 years agoChange the ai_addrlen type of struct addrinfo from size_t to socklen_t, per RFC 3493.
Yang Tse [Fri, 14 Jul 2006 10:30:44 +0000 (10:30 +0000)]
Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per RFC 3493.

18 years agoDefine NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation...
Yang Tse [Tue, 11 Jul 2006 20:40:38 +0000 (20:40 +0000)]
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.

18 years agoFinally get rid of CURL_CHECK_HEADERS_ONCE since it adds very little value and has...
Yang Tse [Fri, 7 Jul 2006 17:34:40 +0000 (17:34 +0000)]
Finally get rid of CURL_CHECK_HEADERS_ONCE since it adds very little value and has portability issues.

Change some shell if...then...fi tests into case...esac tests which demand less resources.

18 years agoSubstitution of the literal '-' is only done if it's the first or last character.
Yang Tse [Fri, 7 Jul 2006 14:03:17 +0000 (14:03 +0000)]
Substitution of the literal '-' is only done if it's the first or last character.

18 years agoUsing backslashes and slashes in the strings of the sed 'y' command shall be avoided...
Yang Tse [Fri, 7 Jul 2006 12:59:45 +0000 (12:59 +0000)]
Using backslashes and slashes in the strings of the sed 'y' command shall be avoided since its interpretation is not the same across platforms.

Now we use the sed 's' command with a bracket expression.

18 years agoFix excessive escaping.
Yang Tse [Fri, 7 Jul 2006 05:39:14 +0000 (05:39 +0000)]
Fix excessive escaping.

18 years agoFix CURL_CHECK_HEADERS_ONCE
Yang Tse [Fri, 7 Jul 2006 04:42:15 +0000 (04:42 +0000)]
Fix CURL_CHECK_HEADERS_ONCE

18 years agoFix MinGW/MSYS support in CURL_CHECK_FUNC_RECV and CURL_CHECK_FUNC_SEND.
Yang Tse [Thu, 6 Jul 2006 15:51:03 +0000 (15:51 +0000)]
Fix MinGW/MSYS support in CURL_CHECK_FUNC_RECV and CURL_CHECK_FUNC_SEND.

18 years agoPrevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers...
Yang Tse [Wed, 5 Jul 2006 23:10:38 +0000 (23:10 +0000)]
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.

18 years agoUse a more descriptive var name.
Yang Tse [Tue, 4 Jul 2006 17:19:15 +0000 (17:19 +0000)]
Use a more descriptive var name.

18 years agoGet qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.
Yang Tse [Tue, 4 Jul 2006 16:54:11 +0000 (16:54 +0000)]
Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.

18 years agoPlatforms that don't have/run configure need default values in their config files...
Yang Tse [Tue, 4 Jul 2006 16:10:13 +0000 (16:10 +0000)]
Platforms that don't have/run configure need default values in their config files for:

HAVE_GETNAMEINFO, GETNAMEINFO_QUAL_ARG1, GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, GETNAMEINFO_TYPE_ARG46, GETNAMEINFO_TYPE_ARG7

HAVE_RECV, RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3, RECV_TYPE_ARG4, RECV_TYPE_RETV

HAVE_SEND, SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4, SEND_TYPE_RETV

18 years agoFind out return types and argument types for functions recv() and send() at configura...
Yang Tse [Tue, 4 Jul 2006 13:03:33 +0000 (13:03 +0000)]
Find out return types and argument types for functions recv() and send() at configuration stage.

18 years agoUse CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEID
Yang Tse [Mon, 3 Jul 2006 15:32:12 +0000 (15:32 +0000)]
Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEID

18 years agoMake CURL_CHECK_NI_WITHSCOPEID actually try to compile NI_WITHSCOPEID when cross...
Yang Tse [Sun, 2 Jul 2006 23:09:46 +0000 (23:09 +0000)]
Make CURL_CHECK_NI_WITHSCOPEID actually try to compile NI_WITHSCOPEID when cross-compiling.

18 years agoFix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO
Yang Tse [Sun, 2 Jul 2006 01:21:54 +0000 (01:21 +0000)]
Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO

18 years agoFix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO
Yang Tse [Sun, 2 Jul 2006 01:17:37 +0000 (01:17 +0000)]
Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO

18 years agoGet qualifier of arg 1 for getnameinfo apart. Take 2.
Yang Tse [Sat, 1 Jul 2006 02:53:18 +0000 (02:53 +0000)]
Get qualifier of arg 1 for getnameinfo apart. Take 2.

18 years agoGet qualifier of arg 1 for getnameinfo apart.
Yang Tse [Fri, 30 Jun 2006 19:20:16 +0000 (19:20 +0000)]
Get qualifier of arg 1 for getnameinfo apart.

18 years agoRemove experimental notice from CURL_CHECK_FUNC_GETNAMEINFO
Yang Tse [Fri, 30 Jun 2006 00:22:39 +0000 (00:22 +0000)]
Remove experimental notice from CURL_CHECK_FUNC_GETNAMEINFO

18 years agoinclude config-win32.h in release archives
Daniel Stenberg [Mon, 26 Jun 2006 08:56:04 +0000 (08:56 +0000)]
include config-win32.h in release archives

18 years ago1.3.1
Daniel Stenberg [Sat, 24 Jun 2006 18:29:18 +0000 (18:29 +0000)]
1.3.1

18 years agoRemove "big endian" DNS section and RR data integer parser macros from
William Ahern [Mon, 19 Jun 2006 06:41:55 +0000 (06:41 +0000)]
Remove "big endian" DNS section and RR data integer parser macros from
ares_dns.h, which break c-ares on my Sparc64. Bit-wise operations in C
operate on logical values. And in any event the octets are already in
big-endian (aka network) byte order so they're being reversed (thus the
source of the breakage).

18 years agoHandle EAGAIN/EWOULDBLOCK readiness errors, which can occur for both TCP and
William Ahern [Mon, 19 Jun 2006 01:18:05 +0000 (01:18 +0000)]
Handle EAGAIN/EWOULDBLOCK readiness errors, which can occur for both TCP and
UDP even when a poll(2) or select(2) suggest otherwise.

18 years agoCopied the NO_UNDEFINED magic from libcurl to make this build fine again with
Daniel Stenberg [Wed, 24 May 2006 23:02:51 +0000 (23:02 +0000)]
Copied the NO_UNDEFINED magic from libcurl to make this build fine again with
libtool cross-compiled on linux with mingw32

18 years agoBram Matthys brought my attention to a libtool peculiarity where detecting
Daniel Stenberg [Wed, 10 May 2006 08:03:54 +0000 (08:03 +0000)]
Bram Matthys brought my attention to a libtool peculiarity where detecting
things such as C++ compiler actually is a bad thing and since we don't need
that detection I added a work-around, much inspired by a previous patch by
Paolo Bonzini. This also shortens the configure script quite a lot.

18 years agotwo more contributors
Daniel Stenberg [Fri, 5 May 2006 21:08:09 +0000 (21:08 +0000)]
two more contributors

18 years agomoved the curl_off_t check to within the --enable-debug block where it belongs since...
Daniel Stenberg [Wed, 3 May 2006 22:39:49 +0000 (22:39 +0000)]
moved the curl_off_t check to within the --enable-debug block where it belongs since it is a somewhat ugly hack

18 years agoNick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
Daniel Stenberg [Wed, 3 May 2006 06:11:44 +0000 (06:11 +0000)]
Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
c-ares call a callback on socket state changes. A better way than the
ares_getsock() to get full control over the socket state.

18 years agoremoved -fpack-struct because gcc4 seems to know its obsolete and warns...
Gunter Knauf [Thu, 20 Apr 2006 10:26:51 +0000 (10:26 +0000)]
removed  -fpack-struct because gcc4 seems to know its obsolete and warns...

18 years agominor Makefile fix - let's go 2006;
Gunter Knauf [Mon, 17 Apr 2006 18:04:27 +0000 (18:04 +0000)]
minor Makefile fix - let's go 2006;
use correct version var.

18 years agoAlexander Lazic improved the getservbyport_r() configure check.
Daniel Stenberg [Mon, 9 Jan 2006 08:31:48 +0000 (08:31 +0000)]
Alexander Lazic improved the getservbyport_r() configure check.

18 years agobuildconf fixes
Daniel Stenberg [Fri, 6 Jan 2006 22:59:34 +0000 (22:59 +0000)]
buildconf fixes

18 years agoUse $ACLOCAL_FLAGS too, pointed out by Alexander Lazic
Daniel Stenberg [Fri, 6 Jan 2006 22:07:51 +0000 (22:07 +0000)]
Use $ACLOCAL_FLAGS too, pointed out by Alexander Lazic

18 years agoJames Bursa fixes: find the hosts file on RISC OS, and made it build with
Daniel Stenberg [Thu, 5 Jan 2006 07:57:32 +0000 (07:57 +0000)]
James Bursa fixes: find the hosts file on RISC OS, and made it build with
newer gcc versions that no longer defines "riscos".

18 years agoYang Tse has been helping out
Daniel Stenberg [Thu, 5 Jan 2006 07:56:43 +0000 (07:56 +0000)]
Yang Tse has been helping out

18 years agoAdded ares_getsock.obj.
Gisle Vanem [Wed, 4 Jan 2006 14:21:57 +0000 (14:21 +0000)]
Added ares_getsock.obj.

18 years agowe're working on 1.3.1 (or more)
Daniel Stenberg [Mon, 2 Jan 2006 09:13:56 +0000 (09:13 +0000)]
we're working on 1.3.1 (or more)

18 years agoThis function was added in c-ares [version]
Daniel Stenberg [Thu, 22 Dec 2005 15:31:32 +0000 (15:31 +0000)]
This function was added in c-ares [version]

18 years agoadded ares_getsock()
Daniel Stenberg [Thu, 22 Dec 2005 15:29:12 +0000 (15:29 +0000)]
added ares_getsock()

18 years agoAdded ares_getsock() to extract sockets to wait for action on, without being
Daniel Stenberg [Thu, 22 Dec 2005 15:27:41 +0000 (15:27 +0000)]
Added ares_getsock() to extract sockets to wait for action on, without being
limited to select().

18 years agoChecking for function getnameinfo and its arguments is finally
Yang Tse [Wed, 21 Dec 2005 20:44:54 +0000 (20:44 +0000)]
Checking for function getnameinfo and its arguments is finally
done in one single function CURL_CHECK_FUNC_GETNAMEINFO which
will only define HAVE_GETNAMEINFO if the function has been found
AND the type of its arguments has been properly been detected

18 years agoUndefine HAVE_GETNAMEINFO if unable to find
Yang Tse [Wed, 21 Dec 2005 17:51:08 +0000 (17:51 +0000)]
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args

18 years agoUndefine HAVE_GETNAMEINFO if unable to find
Yang Tse [Wed, 21 Dec 2005 17:20:23 +0000 (17:20 +0000)]
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args

18 years agoMake sure we're using 'c-ares' sources and not 'ares' ones.
Yang Tse [Wed, 21 Dec 2005 16:08:35 +0000 (16:08 +0000)]
Make sure we're using 'c-ares' sources and not 'ares' ones.

18 years agoIn CURL_FUNC_GETNAMEINFO_ARGTYPES, when cross-compiling a windows
Yang Tse [Tue, 20 Dec 2005 23:49:14 +0000 (23:49 +0000)]
In CURL_FUNC_GETNAMEINFO_ARGTYPES, when cross-compiling a windows
target use calling convention WSAAPI for getnameinfo() prototype.
Checking type DWORD as argument 4 and 6 of getnameinfo not needed.

18 years agoFix PellesC warning.
Gisle Vanem [Tue, 20 Dec 2005 20:58:51 +0000 (20:58 +0000)]
Fix PellesC warning.

18 years agoChanges for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
Gisle Vanem [Tue, 20 Dec 2005 20:48:38 +0000 (20:48 +0000)]
Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
rearrangement in ares_process.c.

18 years agofix ioctlsocket detection
Yang Tse [Tue, 20 Dec 2005 20:29:53 +0000 (20:29 +0000)]
fix ioctlsocket detection

18 years agoFix, header checks must be done before using its results.
Yang Tse [Tue, 20 Dec 2005 18:50:37 +0000 (18:50 +0000)]
Fix, header checks must be done before using its results.

18 years agofix closing parentheses
Daniel Stenberg [Tue, 20 Dec 2005 08:51:48 +0000 (08:51 +0000)]
fix closing parentheses

18 years agouse AC_PROG_LIBTOOL after AC_DISABLE_SHARED
Daniel Stenberg [Tue, 20 Dec 2005 08:51:34 +0000 (08:51 +0000)]
use AC_PROG_LIBTOOL after AC_DISABLE_SHARED

18 years agoFix quoting
Yang Tse [Tue, 20 Dec 2005 03:23:49 +0000 (03:23 +0000)]
Fix quoting

18 years agoUse native type SOCKET instead of int when testing functionality of ioctlsocket on...
Yang Tse [Tue, 20 Dec 2005 00:27:59 +0000 (00:27 +0000)]
Use native type SOCKET instead of int when testing functionality of ioctlsocket on Windows

18 years agoOoops
Yang Tse [Mon, 19 Dec 2005 23:32:52 +0000 (23:32 +0000)]
Ooops

18 years agoAdd checking for type DWORD as argument 4 and 6 of getnameinfo
Yang Tse [Mon, 19 Dec 2005 21:45:43 +0000 (21:45 +0000)]
Add checking for type DWORD as argument 4 and 6 of getnameinfo

18 years agoAdjust more windows header includes
Yang Tse [Mon, 19 Dec 2005 21:38:10 +0000 (21:38 +0000)]
Adjust more windows header includes

18 years agoFix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES
Yang Tse [Mon, 19 Dec 2005 05:57:17 +0000 (05:57 +0000)]
Fix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES

18 years agoAdd check for 'unsigned int' as type of arguments 4 and 6 of getnameinfo
Yang Tse [Mon, 19 Dec 2005 05:32:33 +0000 (05:32 +0000)]
Add check for 'unsigned int' as type of arguments 4 and 6 of getnameinfo

18 years agoUndo previous change. This header file belongs to the public
Yang Tse [Mon, 19 Dec 2005 00:15:04 +0000 (00:15 +0000)]
Undo previous change. This header file belongs to the public
interface and the change could break the compilation of thrid
party apps which link against this library.

18 years agoWhen checking the type of the first argument of getnameinfo do it in the
Yang Tse [Sun, 18 Dec 2005 20:24:36 +0000 (20:24 +0000)]
When checking the type of the first argument of getnameinfo do it in the
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.

18 years agoFix spacing. When defining, define to 1.
Yang Tse [Sun, 18 Dec 2005 16:50:33 +0000 (16:50 +0000)]
Fix spacing. When defining, define to 1.

18 years agoCleanup windows header includes. Where aplicable, inclusion of
Yang Tse [Sun, 18 Dec 2005 15:36:14 +0000 (15:36 +0000)]
Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h

18 years agoMingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= 0x0501
Yang Tse [Sun, 18 Dec 2005 06:07:11 +0000 (06:07 +0000)]
MingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= 0x0501

18 years agoFix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS
Yang Tse [Sun, 18 Dec 2005 04:47:29 +0000 (04:47 +0000)]
Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS

18 years agoMake it compatible with vc60 and vc71
Yang Tse [Sun, 18 Dec 2005 00:27:12 +0000 (00:27 +0000)]
Make it compatible with vc60 and vc71

18 years agoFix typo
Yang Tse [Sat, 17 Dec 2005 23:35:25 +0000 (23:35 +0000)]
Fix typo

18 years agoFix compiler warning
Yang Tse [Sat, 17 Dec 2005 23:34:21 +0000 (23:34 +0000)]
Fix compiler warning

18 years agoCleanup
Yang Tse [Sat, 17 Dec 2005 21:20:35 +0000 (21:20 +0000)]
Cleanup

18 years agoWindows related cleanup
Yang Tse [Sat, 17 Dec 2005 20:37:53 +0000 (20:37 +0000)]
Windows related cleanup

18 years agoCheck first arg of getnameinfo with and without const qualifier.
Yang Tse [Sat, 17 Dec 2005 17:33:14 +0000 (17:33 +0000)]
Check first arg of getnameinfo with and without const qualifier.

18 years agoAvoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, since at...
Yang Tse [Sat, 17 Dec 2005 02:41:33 +0000 (02:41 +0000)]
Avoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, since at this point nothing depends on it.

18 years agoconst qualifier in getnameinfo check
Yang Tse [Sat, 17 Dec 2005 02:32:55 +0000 (02:32 +0000)]
const qualifier in getnameinfo check

18 years agoSince there is no proof of the existence of a platform which would
Yang Tse [Fri, 16 Dec 2005 23:15:33 +0000 (23:15 +0000)]
Since there is no proof of the existence of a platform which would
justify checking for socklen_t in more than one function, the code
used to find a valid socklen_t replacement is simplified back. The
only function that will be used to find a socklen_t replacement is
getpeername, as it has been since revision 1.4 of curl/acinclude.m4

18 years ago'Fix' windows builds
Yang Tse [Fri, 16 Dec 2005 20:55:07 +0000 (20:55 +0000)]
'Fix' windows builds

18 years agoTYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.
Yang Tse [Fri, 16 Dec 2005 18:18:00 +0000 (18:18 +0000)]
TYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.
CURL_FUNC_GETNAMEINFO_ARGTYPES now also checks first argument.
All related changes taken to cares configuration scripts.

18 years agoUndo last changes
Yang Tse [Sun, 11 Dec 2005 23:37:58 +0000 (23:37 +0000)]
Undo last changes

18 years agoFix compiler warning and compatibility issue with the type of the parameter used...
Yang Tse [Sun, 11 Dec 2005 12:03:01 +0000 (12:03 +0000)]
Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.

18 years agoModified lookup_service() to avoid the risk of a potential buffer overflow
Yang Tse [Sat, 10 Dec 2005 19:21:59 +0000 (19:21 +0000)]
Modified lookup_service() to avoid the risk of a potential buffer overflow

18 years agoFix compiler warning
Yang Tse [Fri, 9 Dec 2005 22:23:50 +0000 (22:23 +0000)]
Fix compiler warning