1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2026-03-19 16:40:39 +00:00
Commit Graph

1094 Commits

Author SHA1 Message Date
6c48e1ff36 Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
is only expanded and included once in the configure script.
2009-10-19 04:13:12 +00:00
7472bed472 Our _AS_PATH_SEPARATOR_PREPARE override is now m4_defun'd instead of m4_define'd
due to autoconf 2.64 m4_require'ing it in _AS_SHELL_SANITIZE indirectly through
_AS_PATH_WALK.
2009-10-19 04:11:54 +00:00
58346cbfb9 Fix compiler warning: argument is incompatible with corresponding format string conversion 2009-10-13 13:53:57 +00:00
e804725e75 Fix potential out-of-bounds read 2009-10-10 12:31:27 +00:00
ec11480d8b Fix compiler warning: loop without body 2009-10-10 12:29:32 +00:00
590e697792 Fix compiler warning 2009-10-09 14:06:38 +00:00
f3346ca16b Fix compiler warning 2009-10-08 18:38:29 +00:00
e112f191a3 Fix compiler warning 2009-10-08 17:06:08 +00:00
716d5817dc Fix compiler warning: addition result could be truncated before cast to bigger sized type 2009-10-08 00:02:32 +00:00
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.
2009-10-07 18:47:04 +00:00
b7bb0a5722 Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak 2009-10-06 13:59:37 +00:00
38209f6a77 more files to ignore 2009-10-05 02:47:34 +00:00
bd4a8c159e Check if _REENTRANT definition is required to
make errno available as a preprocessor macro.
2009-09-29 16:34:03 +00:00
85442b2a4b Attempt to silence bogus compiler warning: "Potential null pointer dereference" 2009-09-17 11:45:27 +00:00
ada932d94a ignore more files 2009-09-14 15:12:59 +00:00
a65d11ee13 Suppress warnings about unused prototypes in Watt32 and Win32 programs. 2009-09-07 11:02:20 +00:00
4ff50cf6bd Update email address. 2009-09-07 10:59:54 +00:00
01c4c8ae3f Update my email address. Add ares_config.h as dependency for 'make depend'. 2009-09-07 10:01:17 +00:00
4cc09c0216 T_SRV portability check 2009-09-06 23:46:07 +00:00
d2f5bde0db changed includes to match style how we do with all other *.c files. 2009-09-05 20:11:32 +00:00
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.
2009-09-05 15:12:30 +00:00
6616621ffe Replace 'uint16_t' with 'u_int16_t' since the latter is used in ares.h. 2009-09-05 12:33:08 +00:00
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. 2009-09-05 12:29:35 +00:00
a5b204dd5b - Jakub Hrozek added ares_parse_srv_reply() for SRV parsing 2009-09-04 21:56:14 +00:00
cef560e871 Support lookup of IPv4 literals in ares_gethostbyname(), even when the address family is set to AF_INET6. 2009-08-27 09:53:55 +00:00
c3872cb5dc Remove call to LoadLibrary(). (leftover from debugging). curl-7_19_6 2009-08-03 12:20:03 +00:00
135bfe341f Fix bad sentence. 2009-08-03 12:16:00 +00:00
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.
2009-08-03 11:51:06 +00:00
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.
2009-08-03 11:29:17 +00:00
8ddea4e287 test if adding ../lib to includes can fix the current break ... 2009-07-16 12:20:16 +00:00
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. 2009-07-14 13:38:50 +00:00
f474f738a5 Refactor how libraries are checked for connect() function, follow-up. 2009-06-21 02:42:35 +00:00
cdcc3aca8c Refactor how libraries are checked for connect() function,
and check for connect() as it is done for other functions.
2009-06-20 17:24:43 +00:00
dab4d1afbc Remove unneeded defines. 2009-06-20 13:08:53 +00:00
118797c376 Use select_s() and not select(). 2009-06-20 13:07:59 +00:00
f34c2a879b sclose() function-like macro definition used to close a socket,
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.
2009-06-19 00:41:03 +00:00
0757cbf7f4 add CloseSocket camel case function check 2009-06-18 12:36:10 +00:00
d960739133 check for socket() and closesocket() as it is done for other functions 2009-06-17 12:52:46 +00:00
a741386bec Remove HAVE_CONFIG_H definition from here,
CFLAGS from common.dj already defines it.
2009-06-13 20:52:30 +00:00
3f9b0ee3d9 initial step towards decoupling c-ares from libcurl for DOS 2009-06-13 18:13:00 +00:00
8010774eda don't ignore these subdirs, they must be removed first 2009-06-13 01:44:45 +00:00
8f40cb6832 Remove DEBUGBUILD symbol definition, is not required for programs using the library. 2009-06-13 01:02:04 +00:00
4d49566a3e DEBUGBUILD symbol definition for debug builds 2009-06-13 00:52:48 +00:00
e82026953e ignore some subdirs 2009-06-13 00:30:08 +00:00
546ef23c3e fix comment 2009-06-13 00:20:41 +00:00
1228991462 Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this library. 2009-06-12 23:51:28 +00:00
ea46b347bb Revert last change, it is inappropriate. 2009-06-12 23:50:33 +00:00
51a10c962a Replace CURLDEBUG with DEBUGBUILD. 2009-06-12 14:15:13 +00:00
e8e01acc8e when running automake copy missing files instead of symlinking them 2009-06-11 17:46:12 +00:00
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)
2009-06-10 02:49:42 +00:00