]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make open_fds an std::vector
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 17 Nov 2017 18:02:24 +0000 (13:02 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 17 Nov 2017 18:03:34 +0000 (13:03 -0500)
commit37269bc92ca6a79f9e56fe83718f3c86a1db845d
tree55f94fb85d943bfb7a24d6483663d2a829e69201
parent5c632425957f0150a0d5d1e747f0425f74622132
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.
gdb/ChangeLog
gdb/common/filestuff.c