diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-10-08 14:38:51 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-10-08 14:38:51 +0000 |
commit | 6ff970c0671d7e5facb393c57daa9cacb5f5b39f (patch) | |
tree | 8c7a410371d16e4252e35a492471e5edb2115809 /ares_process.c | |
parent | f75d1172f86bf4e18460bfa751dee025ce249923 (diff) | |
download | c-ares-6ff970c0671d7e5facb393c57daa9cacb5f5b39f.tar.gz c-ares-6ff970c0671d7e5facb393c57daa9cacb5f5b39f.tar.bz2 c-ares-6ff970c0671d7e5facb393c57daa9cacb5f5b39f.zip |
'FD_CLOXEC' is meaningless on MSDOS/Watt-32.
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ares_process.c b/ares_process.c index c03ea4a..a6820de 100644 --- a/ares_process.c +++ b/ares_process.c @@ -715,7 +715,7 @@ void ares__send_query(ares_channel channel, struct query *query, time_t now) &(query->queries_by_timeout), &(channel->queries_by_timeout[query->timeout % ARES_TIMEOUT_TABLE_SIZE])); - + /* Keep track of queries bucketed by server, so we can process server * errors quickly. */ @@ -800,7 +800,7 @@ static int configure_socket(int s, ares_channel channel) { nonblock(s, TRUE); -#ifdef FD_CLOEXEC +#if defined(FD_CLOEXEC) && !defined(MSDOS) /* Configure the socket fd as close-on-exec. */ if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1) return -1; |