]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD: remove different reserved fds number
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 24 Jan 2023 20:03:48 +0000 (21:03 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 24 Jan 2023 20:03:48 +0000 (21:03 +0100)
No idea where it originated. Causes no problems on
FreeBSD 13.1 amd64.

coregrind/m_main.c

index 7a22b088a05e9018305ecaae4963513841f632de..4316e625fa4bc01cec50859bac11ef088144d7b3 100644 (file)
@@ -1134,11 +1134,7 @@ void main_process_cmd_line_options( void )
 
 /* Number of file descriptors that Valgrind tries to reserve for
    its own use - just a small constant. */
-#if defined(VGO_freebsd)
-#define N_RESERVED_FDS (20)
-#else
 #define N_RESERVED_FDS (12)
-#endif
 
 static void setup_file_descriptors(void)
 {