[PATCH] Don't leak file descriptors when spawning new workers By default we inherit file descriptors from the parent in the worker process. This is a leak of resources since the worker won't be able to do anything with them. Also, in the case of CIFS this causes locks which might lead to bad surprises in the parent process.
On Hurd, do not look for functions unimplemented in libc The check_function_exists() function of cmake does not keep into account the defines that glibc provides for the stubs (i.e. unimplemented functions that always return ENOSYS), so some functions are detected as available. Unfortunately, due to --fatal-warnings for the linker, linking will fail. Hence, do not attempt to look for functions that are currently unimplemented on GNU/Hurd's libc.