Overview
Comment: | Workaround for binding to UDP port 0 on HP-UX |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c98b6672298735732aebc72e335637a7 |
User & Date: | js on 2021-01-01 22:27:07 |
Other Links: | manifest | tags |
Context
2021-01-01
| ||
22:28 | OFDataTests: Fix wrong test description check-in: da0a27ee23 user: js tags: trunk | |
22:27 | Workaround for binding to UDP port 0 on HP-UX check-in: c98b667229 user: js tags: trunk | |
22:19 | Workaround for binding to port 0 on HP-UX check-in: d1bd191ac7 user: js tags: trunk | |
Changes
Modified src/OFUDPSocket.m from [8b135fcca2] to [19321c5f2d].
︙ | |||
63 64 65 66 67 68 69 | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | - + - + | #if SOCK_CLOEXEC == 0 && defined(HAVE_FCNTL) && defined(FD_CLOEXEC) /* {} needed to avoid warning with Clang 10 if next #if is false. */ if ((flags = fcntl(_socket, F_GETFD, 0)) != -1) { fcntl(_socket, F_SETFD, flags | FD_CLOEXEC); } #endif |
︙ | |||
119 120 121 122 123 124 125 | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | - + | #endif objc_autoreleasePoolPop(pool); if ((port = of_socket_address_get_port(address)) > 0) return port; |
︙ |