Overview
Comment: | Correctly use FD_COPY. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1fceb27c0ed05801b7b9d7dabd76344d |
User & Date: | js on 2010-11-06 13:36:08 |
Other Links: | manifest | tags |
Context
2010-11-08
| ||
19:24 | Fix type of the new *_ptr atomic ops. check-in: 8ae37b5b5f user: js tags: trunk | |
2010-11-06
| ||
13:36 | Correctly use FD_COPY. check-in: 1fceb27c0e user: js tags: trunk | |
13:34 | Handle stream exceptions in OFStreamObserver. check-in: b7767021ca user: js tags: trunk | |
Changes
Modified src/OFStreamObserver.m from [2971c119f2] to [b89b86c6f6].
︙ | ︙ | |||
285 286 287 288 289 290 291 | [delegate streamDidReceiveException: stream]; } fds_c[i].revents = 0; } #else # ifdef FD_COPY | | | | | 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | [delegate streamDidReceiveException: stream]; } fds_c[i].revents = 0; } #else # ifdef FD_COPY FD_COPY(&readfds, &readfds_); FD_COPY(&writefds, &writefds_); FD_COPY(&exceptfds, &exceptfds_); # else readfds_ = readfds; writefds_ = writefds; exceptfds_ = exceptfds; # endif if (select(nfds, &readfds_, &writefds_, &exceptfds_, |
︙ | ︙ |