Use scoped_fd in more places
authorTom Tromey <tom@tromey.com>
Thu, 22 Feb 2018 22:21:42 +0000 (15:21 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 9 Mar 2018 05:00:08 +0000 (22:00 -0700)
This changes a few more places to use scoped_fd.  This allows the
removal of some cleanups.

Regression tested by the buildbot, though note that I'm not sure
whether the buildbot actually builds anything using all of these
files.

gdb/ChangeLog
2018-03-08  Tom Tromey  <tom@tromey.com>

* source.c (get_filename_and_charpos): Use scoped_fd.
* nto-procfs.c (procfs_open_1): Use scoped_fd.
(procfs_pidlist): Likewise.
* procfs.c (proc_get_LDT_entry): Use scoped_fd.
(iterate_over_mappings): Likewise.


No differences found
This page took 0.037527 seconds and 4 git commands to generate.