From: Ivo Raisr Date: Thu, 24 Mar 2016 06:24:12 +0000 (+0000) Subject: Raise the number of reserved fds in m_main.c from 10 to 12. X-Git-Tag: svn/VALGRIND_3_12_0~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb1ae2dc12c831ef0db305742c2fa70cca88cd4;p=thirdparty%2Fvalgrind.git Raise the number of reserved fds in m_main.c from 10 to 12. Fixes BZ#360752. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15835 --- diff --git a/NEWS b/NEWS index 134b84aebf..a64246a97c 100644 --- a/NEWS +++ b/NEWS @@ -83,6 +83,7 @@ where XXXXXX is the bug number as listed below. 359871 Incorrect mask handling in ppoll 360425 arm64 unsupported instruction ldpsw 360519 none/tests/arm64/memory.vgtest might fail with newer gcc +360752 raise the number of reserved fds in m_main.c from 10 to 12 n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64 n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap diff --git a/coregrind/m_main.c b/coregrind/m_main.c index fd05185c88..54997bde29 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1509,8 +1509,8 @@ static void print_preamble ( Bool logging_to_fd, /*====================================================================*/ /* Number of file descriptors that Valgrind tries to reserve for - it's own use - just a small constant. */ -#define N_RESERVED_FDS (10) + its own use - just a small constant. */ +#define N_RESERVED_FDS (12) static void setup_file_descriptors(void) {