Yang Tse
590e697792
Fix compiler warning
15 years ago
Yang Tse
f3346ca16b
Fix compiler warning
15 years ago
Yang Tse
e112f191a3
Fix compiler warning
15 years ago
Yang Tse
716d5817dc
Fix compiler warning: addition result could be truncated before cast to bigger sized type
15 years ago
Yang Tse
c2d3e82931
Overhauled ares__get_hostent()
...
- Fixing out of bounds memory overwrite triggered with malformed /etc/hosts file.
- Improving parsing of /etc/hosts file.
- Validating requested address family.
- Ensuring that failures always return a NULL pointer.
- Adjusting header inclusions.
15 years ago
Yang Tse
b7bb0a5722
Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak
15 years ago
Yang Tse
38209f6a77
more files to ignore
15 years ago
Yang Tse
bd4a8c159e
Check if _REENTRANT definition is required to
...
make errno available as a preprocessor macro.
15 years ago
Yang Tse
85442b2a4b
Attempt to silence bogus compiler warning: "Potential null pointer dereference"
15 years ago
Yang Tse
ada932d94a
ignore more files
15 years ago
Gisle Vanem
a65d11ee13
Suppress warnings about unused prototypes in Watt32 and Win32 programs.
15 years ago
Gisle Vanem
4ff50cf6bd
Update email address.
15 years ago
Gisle Vanem
01c4c8ae3f
Update my email address. Add ares_config.h as dependency for 'make depend'.
15 years ago
Yang Tse
4cc09c0216
T_SRV portability check
15 years ago
Gunter Knauf
d2f5bde0db
changed includes to match style how we do with all other *.c files.
15 years ago
Gunter Knauf
091393e79c
changed u_int16_t to unsigned short because it is the only place within ares and curl where such a type would be used;
...
also it broke many autobuilds. We should probably introduce an ares_port_t if we want to use a type here.
15 years ago
Gisle Vanem
6616621ffe
Replace 'uint16_t' with 'u_int16_t' since the latter is used in ares.h.
15 years ago
Gisle Vanem
f4d9eacfe4
Added 'ares_parse_srv_reply.obj'. Added definition of 'u_int16_t'. This is I don't like; we should not depend on such non-universal types in a public header. But this is just a quick fix.
15 years ago
Daniel Stenberg
a5b204dd5b
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
15 years ago
Steinar H. Gunderson
cef560e871
Support lookup of IPv4 literals in ares_gethostbyname(), even when the address family is set to AF_INET6.
15 years ago
Gisle Vanem
c3872cb5dc
Remove call to LoadLibrary(). (leftover from debugging).
16 years ago
Gisle Vanem
135bfe341f
Fix bad sentence.
16 years ago
Daniel Stenberg
408df8efcd
- Timo Teras changed the reason code used in the resolve callback done when
...
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
better allow the callback to know what's happening.
16 years ago
Daniel Stenberg
d0a8c3b68b
- Joshua Kwan fixed the init routine to fill in the defaults for stuff that
...
fails to get inited by other means. This fixes a case of when the c-ares
init fails when internet access is fone.
16 years ago
Gunter Knauf
8ddea4e287
test if adding ../lib to includes can fix the current break ...
16 years ago
Gunter Knauf
e391db0ef9
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
16 years ago
Yang Tse
f474f738a5
Refactor how libraries are checked for connect() function, follow-up.
16 years ago
Yang Tse
cdcc3aca8c
Refactor how libraries are checked for connect() function,
...
16 years ago
Gisle Vanem
dab4d1afbc
Remove unneeded defines.
16 years ago
Gisle Vanem
118797c376
Use select_s() and not select().
16 years ago
Yang Tse
f34c2a879b
sclose() function-like macro definition used to close a socket,
...
16 years ago
Yang Tse
0757cbf7f4
add CloseSocket camel case function check
16 years ago
Yang Tse
d960739133
check for socket() and closesocket() as it is done for other functions
16 years ago
Yang Tse
a741386bec
Remove HAVE_CONFIG_H definition from here,
...
16 years ago
Yang Tse
3f9b0ee3d9
initial step towards decoupling c-ares from libcurl for DOS
16 years ago
Yang Tse
8010774eda
don't ignore these subdirs, they must be removed first
16 years ago
Yang Tse
8f40cb6832
Remove DEBUGBUILD symbol definition, is not required for programs using the library.
16 years ago
Yang Tse
4d49566a3e
DEBUGBUILD symbol definition for debug builds
16 years ago
Yang Tse
e82026953e
ignore some subdirs
16 years ago
Yang Tse
546ef23c3e
fix comment
16 years ago
Yang Tse
1228991462
Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this library.
16 years ago
Yang Tse
ea46b347bb
Revert last change, it is inappropriate.
16 years ago
Gisle Vanem
51a10c962a
Replace CURLDEBUG with DEBUGBUILD.
16 years ago
Yang Tse
e8e01acc8e
when running automake copy missing files instead of symlinking them
16 years ago
Yang Tse
1bbfcc09ca
Adjusted to take in account that...
...
With the curl memory tracking feature decoupled from the debug build feature,
CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows:
CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)
DEBUGBUILD used for debug enabled specific code (--enable-debug)
16 years ago
Yang Tse
7fcd022b2a
c-ares' --enable-debug --enable-curldebug decoupling follow-up
16 years ago
Yang Tse
f8fac7ee8c
mention last changes
16 years ago
Yang Tse
f364b4aa4c
Remove buildconf.bat from release and daily snapshot archives.
...
buildconf.bat is only for CVS tree builds.
16 years ago
Yang Tse
0ab756bf9e
Ensure that buildconf.bat does nothing unless it is used with a CVS checkout.
16 years ago
Yang Tse
14a04b28b8
CVS-INFO file only present in CVS tree, never in release nor daily snapshot
...
archives. Used as a sentinel file in buildconf.bat to differentiate CVS builds.
16 years ago