This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make open_fds an std::vector
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 17 Nov 2017 14:16:34 -0500
- Subject: [binutils-gdb] Make open_fds an std::vector
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 37269bc92ca6a79f9e56fe83718f3c86a1db845d ***
Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 37269bc92ca6a79f9e56fe83718f3c86a1db845d
Make open_fds an std::vector
Simple replacement of VEC with std::vector.
gdb/ChangeLog:
* common/filestuff.c: Include <algorithm>.
(open_fds): Change type to std::vector<int>.
(do_mark_open_fd): Adjust.
(unmark_fd_no_cloexec): Adjust.
(do_close): Adjust.