Loading CHANGES +11 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,17 @@ Changelog Daniel (18 May 2005) - The configure check for strerror_r() failed to detect the proper API at times, like on my HP-UX 10.20 tests. And then lib/strerror.c badly assumed the glibc version if the posix define wasn't set (since it _had_ found a strerror_r). Daniel (16 May 2005) - The gmtime_r() function in HP-UX 10.20 is broken. About 13 test cases fail due to this. There's now a configure check that attempts to detect the bad function and not use it on such systems. Version 7.14.0 (16 May 2005) Daniel (13 May 2005) Loading acinclude.m4 +3 −1 Original line number Diff line number Diff line Loading @@ -418,7 +418,9 @@ dnl AC_DEFUN([CURL_CHECK_STRERROR_R], [ dnl determine of strerror_r is present AC_CHECK_FUNCS(strerror_r,[ AC_CHECK_FUNC(strerror_r, strerror_r="yes", [ AC_MSG_CHECKING(whether strerror_r is declared) AC_EGREP_CPP(strerror_r,[ #include <string.h>],[ Loading lib/strerror.c +6 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,12 @@ #include "setup.h" #ifdef HAVE_STRERROR_R #if !defined(HAVE_POSIX_STRERROR_R) && !defined(HAVE_GLIBC_STRERROR_R) #error "you MUST have either POSIX or glibc strerror_r if strerror_r is found" #endif /* !POSIX && !glibc */ #endif /* HAVE_STRERROR_R */ #include <curl/curl.h> #include <stdlib.h> #include <string.h> Loading Loading
CHANGES +11 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,17 @@ Changelog Daniel (18 May 2005) - The configure check for strerror_r() failed to detect the proper API at times, like on my HP-UX 10.20 tests. And then lib/strerror.c badly assumed the glibc version if the posix define wasn't set (since it _had_ found a strerror_r). Daniel (16 May 2005) - The gmtime_r() function in HP-UX 10.20 is broken. About 13 test cases fail due to this. There's now a configure check that attempts to detect the bad function and not use it on such systems. Version 7.14.0 (16 May 2005) Daniel (13 May 2005) Loading
acinclude.m4 +3 −1 Original line number Diff line number Diff line Loading @@ -418,7 +418,9 @@ dnl AC_DEFUN([CURL_CHECK_STRERROR_R], [ dnl determine of strerror_r is present AC_CHECK_FUNCS(strerror_r,[ AC_CHECK_FUNC(strerror_r, strerror_r="yes", [ AC_MSG_CHECKING(whether strerror_r is declared) AC_EGREP_CPP(strerror_r,[ #include <string.h>],[ Loading
lib/strerror.c +6 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,12 @@ #include "setup.h" #ifdef HAVE_STRERROR_R #if !defined(HAVE_POSIX_STRERROR_R) && !defined(HAVE_GLIBC_STRERROR_R) #error "you MUST have either POSIX or glibc strerror_r if strerror_r is found" #endif /* !POSIX && !glibc */ #endif /* HAVE_STRERROR_R */ #include <curl/curl.h> #include <stdlib.h> #include <string.h> Loading