wayland/tests
Pekka Paalanen ff50f6bfc4 os: wrap accept4(SOCK_CLOEXEC)
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>
2012-04-25 09:37:42 +03:00
..
.gitignore tests: add .gitignore 2012-04-20 16:28:15 +03:00
array-test.c tests: Fix signedness warnings 2012-04-13 10:11:11 -04:00
client-test.c server: Add client destroy signal 2012-04-13 09:53:15 -04:00
connection-test.c tests: Test invoking closures built with wl_closure_vmarshal() 2012-04-22 14:17:27 -04:00
event-loop-test.c tests: plug fd leaks in free_source_with_data 2012-04-20 14:58:31 +03:00
exec-fd-leak-checker.c tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00
list-test.c tests: Fix signedness warnings 2012-04-13 10:11:11 -04:00
Makefile.am connection: Move closure object out of wl_connection 2012-04-22 13:49:35 -04:00
map-test.c Add simple memory leak check to all tests. 2012-03-24 14:37:42 -04:00
os-wrappers-test.c os: wrap accept4(SOCK_CLOEXEC) 2012-04-25 09:37:42 +03:00
sanity-test.c tests: silence warnings from pipe() 2012-04-25 09:32:58 +03:00
test-helpers.c tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00
test-runner.c tests: detect fd leaks 2012-04-20 14:58:31 +03:00
test-runner.h tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00