Commit 16584c2
committed
emscripten: Add epoll support
Emscripten restored the `sys/epoll.h` header in 6.0.2 and implements
`epoll_create`, `epoll_create1`, `epoll_ctl`, `epoll_wait` and
`epoll_pwait` in the JS filesystem as of 6.0.8.
Version detection in libc-test now also tracks the tiny version
component so that point releases can be distinguished, and parses the
uppercase `__EMSCRIPTEN_MAJOR__` macro forms used since Emscripten
5.0.1, where the lowercase names became non-integer aliases.
Link: https://github.com/emscripten-core/emscripten/blob/4483d70a78098ed5d860dff2dc21f3025b2da2ee/system/lib/libc/musl/include/sys/epoll.h#L17
Link: https://github.com/emscripten-core/emscripten/blob/4483d70a78098ed5d860dff2dc21f3025b2da2ee/system/lib/libc/musl/include/sys/epoll.h#L70-L74
Link: emscripten-core/emscripten#27206
Link: emscripten-core/emscripten#272071 parent bd53ab4 commit 16584c2
3 files changed
Lines changed: 82 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3202 | 3202 | | |
3203 | 3203 | | |
3204 | 3204 | | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
3205 | 3208 | | |
3206 | 3209 | | |
3207 | 3210 | | |
| |||
3275 | 3278 | | |
3276 | 3279 | | |
3277 | 3280 | | |
3278 | | - | |
| 3281 | + | |
3279 | 3282 | | |
3280 | 3283 | | |
3281 | 3284 | | |
3282 | 3285 | | |
3283 | 3286 | | |
3284 | | - | |
3285 | | - | |
3286 | | - | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
3287 | 3290 | | |
3288 | 3291 | | |
3289 | 3292 | | |
| |||
3307 | 3310 | | |
3308 | 3311 | | |
3309 | 3312 | | |
3310 | | - | |
3311 | | - | |
3312 | | - | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
3313 | 3316 | | |
3314 | 3317 | | |
3315 | 3318 | | |
| |||
3323 | 3326 | | |
3324 | 3327 | | |
3325 | 3328 | | |
3326 | | - | |
| 3329 | + | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
3327 | 3338 | | |
3328 | 3339 | | |
3329 | 3340 | | |
| |||
3334 | 3345 | | |
3335 | 3346 | | |
3336 | 3347 | | |
3337 | | - | |
3338 | | - | |
3339 | | - | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
3340 | 3351 | | |
3341 | 3352 | | |
3342 | 3353 | | |
| |||
6274 | 6285 | | |
6275 | 6286 | | |
6276 | 6287 | | |
6277 | | - | |
| 6288 | + | |
6278 | 6289 | | |
6279 | 6290 | | |
6280 | 6291 | | |
| |||
6326 | 6337 | | |
6327 | 6338 | | |
6328 | 6339 | | |
6329 | | - | |
| 6340 | + | |
6330 | 6341 | | |
6331 | 6342 | | |
6332 | 6343 | | |
| |||
6413 | 6424 | | |
6414 | 6425 | | |
6415 | 6426 | | |
6416 | | - | |
6417 | | - | |
| 6427 | + | |
| 6428 | + | |
| 6429 | + | |
| 6430 | + | |
| 6431 | + | |
| 6432 | + | |
| 6433 | + | |
| 6434 | + | |
| 6435 | + | |
| 6436 | + | |
| 6437 | + | |
6418 | 6438 | | |
6419 | | - | |
6420 | | - | |
| 6439 | + | |
| 6440 | + | |
| 6441 | + | |
| 6442 | + | |
6421 | 6443 | | |
6422 | 6444 | | |
6423 | 6445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
2 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
3 | 28 | | |
4 | 29 | | |
5 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| 810 | + | |
| 811 | + | |
810 | 812 | | |
811 | 813 | | |
812 | 814 | | |
| |||
1477 | 1479 | | |
1478 | 1480 | | |
1479 | 1481 | | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
1480 | 1498 | | |
1481 | 1499 | | |
1482 | 1500 | | |
| |||
0 commit comments