Differences From Artifact [5139608894]:
- File
src/OFTCPSocket.m
— part of check-in
[59e52af26d]
at
2011-07-17 01:55:16
on branch 0.5
— Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as
an argument name and thus fail to compile when using -fblocks. (user: js, size: 9753) [annotate] [blame] [check-ins using]
To Artifact [1ca1782d51]:
- File
src/OFTCPSocket.m
— part of check-in
[1688bf89e0]
at
2011-07-17 02:08:27
on branch 0.5
— Use sockaddr_storage instead of sockaddr in OFTCPSocket.
This ensures it's big enough and correctly aligned. (user: js, size: 9802) [annotate] [blame] [check-ins using]
︙ | |||
347 348 349 350 351 352 353 | 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | - + + - + | isListening = YES; } - (OFTCPSocket*)accept { OFTCPSocket *newsock; |
︙ | |||
393 394 395 396 397 398 399 | 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | - - + + | @throw [OFInvalidArgumentException newWithClass: isa selector: _cmd]; #ifdef HAVE_THREADSAFE_GETADDRINFO char *host = [self allocMemoryWithSize: NI_MAXHOST]; @try { |
︙ |