mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Some system C libraries do not have SOCK_CLOEXEC, and completely miss accept4(), too. Provide a fallback for this case. This changes the behaviour: no error messages are printed now for failing to set CLOEXEC but the file descriptor is closed. The unit test for this wrapper is NOT included. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| array-test.c | ||
| client-test.c | ||
| connection-test.c | ||
| event-loop-test.c | ||
| exec-fd-leak-checker.c | ||
| list-test.c | ||
| Makefile.am | ||
| map-test.c | ||
| os-wrappers-test.c | ||
| sanity-test.c | ||
| test-helpers.c | ||
| test-runner.c | ||
| test-runner.h | ||