Revert "basic/fd-util: sort the 'except' array in place"

This reverts commit 9c46228b7d.
This commit is contained in:
Lennart Poettering
2021-10-27 17:56:36 +02:00
parent e7e7c07c50
commit c85cb3bc7f
6 changed files with 94 additions and 69 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL);
int fd_nonblock(int fd, bool nonblock);
int fd_cloexec(int fd, bool cloexec);
int close_all_fds(int except[], size_t n_except);
int close_all_fds(const int except[], size_t n_except);
int same_fd(int a, int b);