Yang Tse
69fa447354
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
18 years ago
Yang Tse
10a035e128
compiler warning fix
18 years ago
Yang Tse
c2f42a9bf4
introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()
...
making them available to any source code file which includes "setup.h".
Macro SOCKERRNO / SET_SOCKERRNO() returns / sets the *socket-related* errno
(or equivalent) on this platform to hide platform details to code using it.
Macro ERRNO / SET_ERRNO() returns / sets the NOT *socket-related* errno
(or equivalent) on this platform to hide platform details to code using it.
18 years ago
Yang Tse
3c769f98e8
icc 9.0 when compiling its generated code for its own FD_SET,
...
FD_ISSET, and FD_ZERO macros emits warnings #1469 and #593 .
So for icc 9.0 we also ignore warnings #1469 and #593 .
* 593 warns on "variable __d0 was set but never used"
* 1469 warns on "cc clobber ignored"
18 years ago
Yang Tse
ab3790b683
compiler warning fix
18 years ago
Yang Tse
5dceb6d883
Oops, missing argument separator comma
18 years ago
Yang Tse
8c76cf38a7
in debug messages also show error description
18 years ago
Yang Tse
0d8bf01d91
avoid using funtion isblank() and just use our ISBLANK
...
macro to provide this functionality on all platforms
18 years ago
Yang Tse
902d0283b7
check for isblank() at configuration stage. If not available
...
provide a suitable replacement for use in our ISBLANK macro
18 years ago
Yang Tse
2bd57a6d30
use our own ISUPPER and ISLOWER macros
18 years ago
Yang Tse
05da7b7fda
use our own ISBLANK macro
18 years ago
Yang Tse
6751a208d6
Fix c-ares failing to get the search sequence of /etc/hosts and
...
DNS from /etc/nsswitch.conf, /etc/host.conf or /etc/svc.conf when
/etc/resolv.conf did not exist or was unable to read it.
18 years ago
Yang Tse
d145c09ef1
compiler warning fix
18 years ago
Yang Tse
5d5bf03803
use macro AC_AIX to define `_ALL_SOURCE', if on AIX.
18 years ago
Yang Tse
6fa6ac89b4
use same AIX XLC compiler options as curl's
18 years ago
Yang Tse
7a76b6948f
*) Remove duplicate declaration of TYPE_SOCKADDR_STORAGE
...
*) Update CURL_CC_DEBUG_OPTS from curl's script
18 years ago
Gisle Vanem
f5055ad5ae
INADDR_NONE no longer used.
18 years ago
Gisle Vanem
6413a26a88
Added debug option ('-d') for Watt-32 programs.
18 years ago
Gisle Vanem
657c69ce9d
Added HAVE_PROCESS_H for DOS/Win32.
...
Include <process.h> for getpid() in ares_init.c.
18 years ago
Gisle Vanem
2776f1ed03
Fix compiler warning.
18 years ago
Gisle Vanem
54d5320745
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
...
Added 'optind' and 'optarg' as in adig.c.
18 years ago
Gisle Vanem
7ac09a058c
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
18 years ago
Yang Tse
b9c00a23ce
compiler warning fix
18 years ago
Gisle Vanem
69b6529167
Remove '-Dselect=select_s'. Remove depend.dj-
18 years ago
Yang Tse
12393dcd5c
compiler warning fix
18 years ago
Gisle Vanem
5908d58da3
Use correct 3rd argument for ioctlsocket() under Watt-32.
18 years ago
Gisle Vanem
6a3e5617d7
Use correct calling convention.
18 years ago
Gisle Vanem
b6c4466641
Added DllMain() function for Watcom.
18 years ago
Yang Tse
7fe31e4d00
compiler warning fix
18 years ago
Yang Tse
6f872e206a
add debug messages for initialization failures
18 years ago
Yang Tse
94f2d923fc
add missing strings for existing error codes
18 years ago
Yang Tse
e184411c0b
move DEBUGF macro definition to setup_once.h
18 years ago
Yang Tse
145117174e
compiler warning fix
18 years ago
Yang Tse
fb38ee15e2
compiler warning fix
18 years ago
Gisle Vanem
4a30753b47
Support for OpenWatcom (Win32): It do have getpid(), but no
...
<sys/time.h>.
18 years ago
Yang Tse
3c90d9d6d3
fix compiler warning "discards qualifiers from pointer target type" in debug builds
18 years ago
Yang Tse
3445be6316
sync with lib/setup_once.h
18 years ago
Gunter Knauf
f8c4607cef
enabled build with libssh2; fixed copyright for new year..
18 years ago
Gisle Vanem
de2e08cee1
ahost.exe needs getopt.obj.
18 years ago
Yang Tse
65fc05826e
Make sure RETSIGTYPE is properly defined
18 years ago
Yang Tse
286eafac7b
Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILE
...
as appropriate for platforms that don't have autotools support
18 years ago
Daniel Stenberg
6a59182e81
Michael Wallner fixed this problem: When I set domains in the options
...
struct, and there are domain/search entries in /etc/resolv.conf, the domains
of the options struct will be overridden.
18 years ago
Daniel Stenberg
bc76d02bc3
Install ares_dns.h too
18 years ago
Yang Tse
7f7d2ad5c6
Added a check in configure that verifies if <signal.h> is available,
...
defining HAVE_SIGNAL_H if the header is available.
Added a check in configure that tests if the sig_atomic_t type is
available, defining HAVE_SIG_ATOMIC_T if it is available. Providing
a suitable default in setup_once.h if not available.
Added a check in configure that tests if the sig_atomic_t type is
already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE
if it is available and already defined as volatile.
18 years ago
Daniel Stenberg
4a23aef23c
we did 1.3.2 and are now on the 1.3.3 track!
18 years ago
Gisle Vanem
f34c89a9a2
Moved select_s() to Makefile.dj since select() is used in applications.
18 years ago
Yang Tse
877966659d
avoid a couple of potential zero size memory allocations
18 years ago
Daniel Stenberg
fadf4bfa08
mention the areslib.dsp fix
18 years ago
Daniel Stenberg
5617c371e7
add the recent crowd of contributors
18 years ago
Daniel Stenberg
776108dc80
Andreas Rieke fixed back the correct line endings!
18 years ago