aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-functions.m4
AgeCommit message (Collapse)Author
2012-03-21curl-functions.m4: update detection logic of getaddrinfo() thread-safenessYang Tse
Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or (_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not.
2011-07-29curl-functions.m4 serial # bumpYang Tse
2011-07-29Revert "configure: additional flag checks for fcntl() socket() and socketpair()"Yang Tse
This reverts commit bc6e6a465ad0b9f9757c4385698fe5f255dd125b.
2011-07-29configure: additional flag checks for fcntl() socket() and socketpair()Yang Tse
2011-07-29socketpair() usage tracking to allow fd leak detectionYang Tse
2011-04-28treaded-resolver: better error messagesDaniel Stenberg
Now use gai_strerror() to get proper error messages when getaddrinfo() has failed. Detect the function in configure. Code based on work and suggestions by Jeff Pohlmeyer and Guenter Knauf
2010-11-10curl-functions: provide xattr function tests that also check number of argumentsYang Tse
2010-11-10write extended attributes by using fsetxattrStefan Tomanek
Instead of reopening the downloaded file, fsetxattr uses the (already open) file descriptor to attach extended attributes. This makes the procedure more robust against errors caused by moved or deleted files.
2010-11-09serial number bumpYang Tse
2010-11-08xattr-check: correct the comment as wellDaniel Stenberg
2010-11-08setxattr: fix the checksDaniel Stenberg
My copy and paste job was a little too much copy and I missed to adjust it properly to sys/xattr.h all over and this is a fix to cure that.
2010-11-05xattr: add configure check and #ifdefsDaniel Stenberg
setxattr is a glibc call to set extended attributes, so configure now checks for it and the code is adapted to only build when the functionality is present.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-17update outdated serial numberYang Tse
2010-03-02- Markus Duft pointed out in bug #2961796 that even though Interix has aDaniel Stenberg
poll() function it doesn't quite work the way we want it so we must disable it, and he also provided a patch for it. http://curl.haxx.se/bug/view.cgi?id=2961796
2010-01-06Prevent detection of stdint.h on IRIX systems, even when available.Yang Tse
IRIX MIPSpro 7.4 C++ compiler does not tolerate inclusion of stdint.h
2009-11-16Update serial numberYang Tse
2009-11-15getaddrinfo is fully thread safe on solaris versions whichYang Tse
implement the function even when h_errno is not a macro. The h_errno macro test now only done on systems for which there is no hard coded knowledge about getaddrinfo's thread safeness.
2009-11-13Assume that getaddrinfo is thread safe, unless hard codedYang Tse
knowledge says the contrary or h_errno is not defined.
2009-11-13Related with the threadsafe capability of getaddrinfo:Yang Tse
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2 and newer have a threadsafe getaddrinfo. - Fix Dragonfly BSD triplet detection. - In case the hard-coded knowledge says that getaddrinfo is threadsafe, an additional check is done to verify that h_errno is also defined. If h_errno isn't defined, we finally assume that it isn't threadsafe. Jamie Lokier provided the inspiration for this extra check.
2009-11-12AIX 5.2 and newer have threadsafe getaddrinfo.Yang Tse
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12HP-UX 11.11 and later have threadsafe getaddrinfoYang Tse
2009-11-12Check if getaddrinfo is threadsafe when function check allows it to be usedYang Tse
2009-10-18Check for basename() is now done the same as other function checksYang Tse
2009-09-28Added check for memrchr function or macroYang Tse
2009-07-14renamed generated config.h to curl_config.h in order to avoid clashes when ↵Gunter Knauf
libcurl is used with other projects which also have a config.h.
2009-06-20Refactor how libraries are checked for connect() function,Yang Tse
and check for connect() as it is done for other functions.
2009-06-18add CloseSocket camel case function checkYang Tse
2009-06-17socket() and closesocket() prototypes might be in socket.hYang Tse
2009-06-17check for socket() and closesocket() as it is done for other functionsYang Tse
2009-04-28Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other ↵Yang Tse
CURL_INCLUDES_*
2009-04-26Initial step towards a configure time curl_socklen_t definitionYang Tse
2009-02-13check for poll() as it is done for other functionsYang Tse
2008-11-20Make checking for struct ifreq a prerequisite for settingDan Fandrich
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C doesn't currently define it.
2008-11-18check for gethostbyaddr and gethostbyname as it is done for other functionsYang Tse
2008-11-17Make configure script check if ioctl with the SIOCGIFADDR command can beYang Tse
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
2008-11-17fix leftover from previous commitYang Tse
2008-11-17fix inet_pton() runtime configure checkYang Tse
2008-11-14fix typo affecting inclusion of <arpa/inet.h> in configureYang Tse
checks for inet_ntoa_r() inet_ntop() and inet_pton()
2008-11-14#include <string.h> in the getaddrinfo() runtime check for the memset() ↵Yang Tse
prototype
2008-11-14fix symbol definition check for fcntl.h inclusionYang Tse
2008-11-14#include <stdlib.h> in the getifaddrs() runtime check for the exit() prototypeYang Tse
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse
non-blocking mode, and decouple function detection from function capability.
2008-11-08check for getifaddrs and freeifaddrs as it is done for other functionsYang Tse
2008-10-30check for freeaddrinfo() at configuration phaseYang Tse
2008-10-30update aclocal file serial numberYang Tse
2008-10-30remove verification of the freeability of the addrinfo struct pointer membersYang Tse
2008-10-29make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDRYang Tse
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME internal to CHECK_FUNC_GETADDRINFO
2008-10-28fix leftoverYang Tse
2008-10-28Initial attempt to detect at configuration time if the getaddrinfo()Yang Tse
function returns an addrinfo with an unfreeable ai_canonname member ptr.