Differences From Artifact [d8e79884c0]:
- File src/OFStreamObserver_kqueue.m — part of check-in [89177dcd09] at 2012-12-20 16:42:52 on branch trunk — Remove dummy implementations for formal protocols. (user: js, size: 4158) [annotate] [blame] [check-ins using]
To Artifact [9a99bdfa5c]:
- File
src/OFStreamObserver_kqueue.m
— part of check-in
[e5157b2ba2]
at
2012-12-27 11:20:34
on branch trunk
— OFStreamObserver_kqueue: Return NO on error.
Using an assertion there was not a good idea. (user: js, size: 3997) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
124 125 126 127 128 129 130 | objc_autoreleasePoolPop(pool); events = kevent(kernelQueue, [changeList items], (int)[changeList count], eventList, EVENTLIST_SIZE, (timeout == -1 ? NULL : ×pec)); | | < < | < < < < < < < | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | objc_autoreleasePoolPop(pool); events = kevent(kernelQueue, [changeList items], (int)[changeList count], eventList, EVENTLIST_SIZE, (timeout == -1 ? NULL : ×pec)); if (events < 0) return NO; [changeList removeAllItems]; if (events == 0) return NO; for (i = 0; i < events; i++) { |
︙ | ︙ |