Differences From Artifact [fcb5839156]:
- File
src/exceptions/common.h
— part of check-in
[898f8c7072]
at
2014-03-04 23:53:48
on branch trunk
— resolver.m: Fix locking
A lock for thread-unsafe getaddrinfo was missing and not all locks were
unlocked / all buffers free'd if an error occurred. (user: js, size: 1509) [annotate] [blame] [check-ins using]
To Artifact [173fdc42a2]:
- File src/exceptions/common.h — part of check-in [f96fd9d551] at 2014-03-05 00:00:52 on branch trunk — Include socket.h before socket_helpers.h (user: js, size: 1530) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #include <string.h> #include <errno.h> #import "macros.h" #ifdef OF_HAVE_SOCKETS # include "socket_helpers.h" #endif #ifndef _WIN32 # define GET_ERRNO errno # ifdef OF_HAVE_SOCKETS # if !defined(HAVE_GETADDRINFO) && defined(HAVE_H_ERRNO) | > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #include <string.h> #include <errno.h> #import "macros.h" #ifdef OF_HAVE_SOCKETS # include "socket.h" # include "socket_helpers.h" #endif #ifndef _WIN32 # define GET_ERRNO errno # ifdef OF_HAVE_SOCKETS # if !defined(HAVE_GETADDRINFO) && defined(HAVE_H_ERRNO) |
︙ | ︙ |