This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Mark more file descriptors close-on-exec
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 23 Sep 2018 14:36:56 -0400
- Subject: [binutils-gdb] Mark more file descriptors close-on-exec
*** TEST RESULTS FOR COMMIT 65773341ee5ad9e2882fcb1aed7c3096e6b4f190 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 65773341ee5ad9e2882fcb1aed7c3096e6b4f190
Mark more file descriptors close-on-exec
I noticed a couple of spots in gdb that were opening files but not
marking the file descriptors as close-on-exec. This patch fixes
these.
There are still a few more of these, but they are in code that I can't
compile, so I'd prefer not to touch.
gdb/ChangeLog
2018-09-23 Tom Tromey <tom@tromey.com>
* ctf.c (ctf_start): Use gdb_fopen_cloexec.
* common/scoped_mmap.c (mmap_file): Use gdb_open_cloexec.