|
Lines 181-187
Link Here
|
| 181 |
|
181 |
|
| 182 |
if (start > 0xFF || end > 0xFF) |
182 |
if (start > 0xFF || end > 0xFF) |
| 183 |
return (EINVAL); |
183 |
return (EINVAL); |
| 184 |
ei = (_BIG5EncodingInfo *)ctx; |
184 |
ei = (_BIG5EncodingInfo *)*ctx; |
| 185 |
i = strcmp("row", s) ? 1 : 0; |
185 |
i = strcmp("row", s) ? 1 : 0; |
| 186 |
i = 1 << i; |
186 |
i = 1 << i; |
| 187 |
for (n = start; n <= end; ++n) |
187 |
for (n = start; n <= end; ++n) |
|
Lines 199-205
Link Here
|
| 199 |
|
199 |
|
| 200 |
if (start > 0xFFFF || end > 0xFFFF) |
200 |
if (start > 0xFFFF || end > 0xFFFF) |
| 201 |
return (EINVAL); |
201 |
return (EINVAL); |
| 202 |
ei = (_BIG5EncodingInfo *)ctx; |
202 |
ei = (_BIG5EncodingInfo *)*ctx; |
| 203 |
exclude = TAILQ_LAST(&ei->excludes, _BIG5ExcludeList); |
203 |
exclude = TAILQ_LAST(&ei->excludes, _BIG5ExcludeList); |
| 204 |
if (exclude != NULL && (wint_t)start <= exclude->end) |
204 |
if (exclude != NULL && (wint_t)start <= exclude->end) |
| 205 |
return (EINVAL); |
205 |
return (EINVAL); |