Overview
Comment: | OFKernelEventObserver: Cast FD_SETSIZE to int
FreeBSD stupidly defines this as 1024U, which breaks -Wsign-compare. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d9398f243957950159b0a39596851f71 |
User & Date: | js on 2016-05-29 18:36:44 |
Other Links: | manifest | tags |
Context
2016-05-29
| ||
18:47 | Use <sys/ttycom.h> instead of <sys/termio.h> check-in: 2e872e742c user: js tags: trunk | |
18:36 | OFKernelEventObserver: Cast FD_SETSIZE to int check-in: d9398f2439 user: js tags: trunk | |
14:41 | OFDeflate64Stream: Fix window size check-in: 24338bc6c9 user: js tags: trunk | |
Changes
Modified src/OFKernelEventObserver_select.m from [851bfffddf] to [8eb037b6d9].
︙ | |||
44 45 46 47 48 49 50 | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - + | @implementation OFKernelEventObserver_select - init { self = [super init]; #ifndef OF_WINDOWS |
︙ | |||
68 69 70 71 72 73 74 | 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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - + - + - + - + | { int fd = [object fileDescriptorForReading]; if (fd < 0 || fd > INT_MAX - 1) @throw [OFOutOfRangeException exception]; #ifndef OF_WINDOWS |
︙ |