Differences From Artifact [e03ee47321]:
- File
src/OFDatagramSocket.m
— part of check-in
[1833194867]
at
2021-01-14 02:29:31
on branch trunk
— Define _HPUX_ALT_XOPEN_SOCKET_API where necessary
There is a nasty bug in HP-UX: When using the proper socket APIs that
take a socklen_t (which is 64 bit in LP64 mode), it still calls into
methods that expect an int - so there is a type mismatch between the
headers and the compiled system libraries. This leads to all socklen_t
being interpreted as 0 (due to big endian). Defining
_HPUX_ALT_XOPEN_SOCKET_API makes it use the correct symbols in the
system libraries instead. (user: js, size: 8963) [annotate] [blame] [check-ins using]
To Artifact [ed638b6427]:
- File src/OFDatagramSocket.m — part of check-in [1b82d3bf4f] at 2021-03-07 20:25:21 on branch trunk — *.m: Fold methods into one line where it fits (user: js, size: 8960) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
213 214 215 216 217 218 219 | sender->family = OF_SOCKET_ADDRESS_FAMILY_UNKNOWN; break; } return ret; } | | < | 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | sender->family = OF_SOCKET_ADDRESS_FAMILY_UNKNOWN; break; } return ret; } - (void)asyncReceiveIntoBuffer: (void *)buffer length: (size_t)length { [self asyncReceiveIntoBuffer: buffer length: length runLoopMode: of_run_loop_mode_default]; } - (void)asyncReceiveIntoBuffer: (void *)buffer |
︙ | ︙ |