Yang Tse
f1a1df1e6c
configure: libtool 1.5 tweaks
13 years ago
Daniel Stenberg
6ae9e71df4
ares_timeout.3: fix the NAME section
...
It was clearly a copy n' paste error
13 years ago
Albert Chin
f394cd55c8
configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol def
...
When using Sun C compiler the preprocessor somehow inserts an extra space
in front of replaced symbol, breaking CURL_CHECK_DEF macro. To workaround
this, macro CURL_CHECK_DEF now ignores all leading whitespace in front of
symbol substitution result.
13 years ago
Yang Tse
3d84eb3bbc
ares_init.c: fix segfault triggered in ares_init_options() upon previous
...
failure of init_by_defaults() and incomplete cleanup there.
13 years ago
Yang Tse
66e91438c5
ares_process.c: fix compiler warning
13 years ago
Yang Tse
a831da792d
fix MSVC compiler warning 'conditional expression is constant'
13 years ago
Yang Tse
bab721cb1c
setup_once.h cleanup and sync
13 years ago
Denis Bilenko
1f8f14d21e
ares_getnameinfo: fix random results with c-ares 1.7.5
...
In ares_getnameinfo memcpy did not copy enough bytes, causing
it to return arbitrary memory contents as a result.
13 years ago
Yang Tse
c8d8ca2606
warnings: fix another 'conversion may lose significant bits' compiler warning
13 years ago
Yang Tse
1089cf6052
ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions
...
Fixing compiler warnings existing definitions triggered on these.
13 years ago
Yang Tse
b816675c0f
ares_destroy.c: fix segfault in ares_destroy_options()
13 years ago
Daniel Stenberg
d0c3cb6840
ares_parse_srv_reply: silence compiler warnings
...
... by adding ugly typecasts.
13 years ago
Daniel Stenberg
2d9a5acff5
CHANGES: generate from script
...
The CHANGES file is now generated automatically with 'git2changes.pl',
invoked by the maketgz script which is used to build release archives.
The former human edited CHANGES file was renamed to CHANGES.0 in git.
13 years ago
Yang Tse
440b5d488a
Makefile.netware: SIZEOF_SHORT definition
13 years ago
Yang Tse
14eb79f660
warnings: fix some 'conversion may lose significant bits' compiler warnings
13 years ago
Yang Tse
34d5d76969
configure: fix symbol hiding usability check
...
A more thorough test is done now in order to determine visibility attribute
usability, given that some compilers don't support visibility attribute on
all configurations.
13 years ago
Daniel Stenberg
f11c2c2891
1.7.6: start working...
13 years ago
Daniel Stenberg
622313ab3b
CHANGES: synced for 1.7.5 release
13 years ago
Daniel Stenberg
c4d3cb8c3a
RELEASE-NOTES: synced with bb4096effe
13 years ago
Jakub Hrozek
bb4096effe
Only fall back to AF_INET searches when looking for AF_UNSPEC addresses
13 years ago
Gisle Vanem
1b9c2a3ea3
ares_iphlpapi.h: Watcom C fix
...
Added "!defined(_WS2DEF_)" since Watcom doesn't have
a per type guard for the typedefs 'CSADDR_INFO' (that MingW has) or
'SOCKET_ADDRESS' (that MSVC has). But we can use the header-guard for
<ws2def.h> instead.
14 years ago
Gisle Vanem
5da497e0e8
Makefile.Watcom:
...
* The 'NTDDI_VERSION' needs to be raised to 0x05010000
in order for SOCKADDR_STORAGE etc. to be typedefed.
* Replaced '-dUSE_WATT32' with '-dWATT32'.
* Added $(DEMOS) to the 'all' target and removed the 'demos'
target to be consistent with e.g. Makefile.msvc etc.
* 'ENABLE_IPV6' is no longer used. Hence removed the '%use_ipv6' construct.
* object-file order seems to be important (Watcom v.19). Hence
'ares_getopt.obj' must be put after the .obj that references getopt().
14 years ago
Yang Tse
a94b4e53d1
cares-compilers.m4: CARES_CONVERT_INCLUDE_TO_ISYSTEM adjustments
...
Add CARES_CHECK_COMPILER as a requirement.
Ensure macro does nothing unless GNU_C or CLANG compiler is used.
This should allow usage of this macro in unforeseen placements.
14 years ago
Yang Tse
a8f62e82bf
config-win32.h: comments adjustments - followup
14 years ago
Yang Tse
3d7af9782e
config-win32.h: comments adjustments
14 years ago
Tom Hughes
bffd67f16a
ares_parse_a_reply: fix memleak
14 years ago
Yang Tse
f2ea96b1b7
cares-functions.m4 serial # bump
14 years ago
Yang Tse
2039e81e45
Revert "configure: additional flag checks for fcntl() and socket()"
...
This reverts commit 5f2a3b0e48
.
14 years ago
Yang Tse
5f2a3b0e48
configure: additional flag checks for fcntl() and socket()
14 years ago
Yang Tse
08e721e004
xc-translit.m4 fix quoting
14 years ago
Yang Tse
88d314548e
configure: avoid direct usage of AS_TR_* macros
14 years ago
Yang Tse
4701b0c47a
xc-translit.m4 provides transliteration macros with well defined behavior.
14 years ago
Jakub Hrozek
159b82c056
Revert "Only fall back to AF_INET searches when looking for AF_UNSPEC addresses"
...
This reverts commit b5823d6570
.
This patch was not reviewed properly before pushing
14 years ago
Jakub Hrozek
ce03c818f4
Revert "Do not use sized constants in public headers"
...
This reverts commit 22c01e96f7
.
This is a Red Hat specific patch that does not belong into upstream
14 years ago
Jakub Hrozek
22c527cc87
Use correct sizeof in ares_getnameinfo()
14 years ago
Jakub Hrozek
09f8a05573
Do not leak rr_name on failures inside ares_parse_ptr_reply
14 years ago
Jakub Hrozek
a1116723d4
Do not leak rr_name on failures inside ares_parse_a_reply
14 years ago
Jakub Hrozek
18b6d475dc
Do not leak rr_name on failures inside ares_parse_aaaa_reply
14 years ago
Jakub Hrozek
978a929b40
Do not leak rr_name on failures inside ares_parse_ns_reply
14 years ago
Jakub Hrozek
8e457f2c41
Fix incorrect sizeof() in ares_save_options
14 years ago
Jakub Hrozek
654733a399
Fix incorrect allocation in ares_parse_ptr_reply()
14 years ago
Jakub Hrozek
b5823d6570
Only fall back to AF_INET searches when looking for AF_UNSPEC addresses
14 years ago
Jakub Hrozek
22c01e96f7
Do not use sized constants in public headers
14 years ago
Jakub Hrozek
adf75c56c4
ares_free_hostent(NULL) should be a noop
14 years ago
Yang Tse
e67edcd18d
configure: fix recvfrom 5th arg type qualifier detection (followup)
14 years ago
Yang Tse
700b928544
configure: fix recvfrom 5th arg type qualifier detection
...
Additionally remove whitespace from EOL
14 years ago
Daniel Stenberg
3cb1afe054
strlen: use size_t to receive the return
14 years ago
Yang Tse
45ec020795
xlc: avoid preprocessor definition usage when linking
14 years ago
Yang Tse
f9b24e590c
ares_nowarn: icc 9.1 workaround
14 years ago
Yang Tse
56c77364d5
ares_nowarn: header inclusion fix
14 years ago