Differences From Artifact [073f94a1b8]:
- File configure.ac — part of check-in [c409a0ec95] at 2015-01-17 22:41:00 on branch trunk — Use 64 bit file offsets (user: js, size: 28106) [annotate] [blame] [check-ins using]
To Artifact [c29aae2dde]:
- File
configure.ac
— part of check-in
[62e2de30b9]
at
2015-02-16 08:39:17
on branch trunk
— Explicitly pass errno to exceptions
The old behaviour where the exception would access errno directly on
creation of the exception was very fragile. The two main problems with
it were that sometimes it would pick up an errno even though none had
been set and in other cases that when the exception was created errno
had already been overridden.This also greatly increases errno handling on Win32, especially in
conjunction with sockets. It can still be improved further, though. (user: js, size: 28096) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
452 453 454 455 456 457 458 459 460 461 462 463 464 465 | AC_DEFINE(HAVE_VFP2, 1, [Whether we have VFP2 or above]) AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) ]) ;; esac AC_CHECK_LIB(m, fmod, LIBS="$LIBS -lm") AC_CHECK_FUNC(asprintf, [ case "$host" in *-psp-*) dnl asprintf is broken on the PSP, but snprintf works. | > > | 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 | AC_DEFINE(HAVE_VFP2, 1, [Whether we have VFP2 or above]) AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) ]) ;; esac AC_CHECK_FUNCS(strerror_r) AC_CHECK_LIB(m, fmod, LIBS="$LIBS -lm") AC_CHECK_FUNC(asprintf, [ case "$host" in *-psp-*) dnl asprintf is broken on the PSP, but snprintf works. |
︙ | ︙ | |||
851 852 853 854 855 856 857 | ]) AC_MSG_RESULT($have_threadsafe_getaddrinfo) ]) ], [ AC_MSG_RESULT(no) ]) | < < | 853 854 855 856 857 858 859 860 861 862 863 864 865 866 | ]) AC_MSG_RESULT($have_threadsafe_getaddrinfo) ]) ], [ AC_MSG_RESULT(no) ]) ]) AS_IF([test x"$enable_sockets" != x"no" -a x"$enable_threads" != x"no"], [ AC_SUBST(OFHTTPCLIENTTESTS_M, "OFHTTPClientTests.m") ]) AC_DEFUN([CHECK_BUILTIN_BSWAP], [ |
︙ | ︙ |