Remove cleanups from ser-mingw.c
authorTom Tromey <tom@tromey.com>
Thu, 7 Jun 2018 22:49:57 +0000 (16:49 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 18 Jun 2018 18:46:38 +0000 (12:46 -0600)
commit3f0dbd670b59aade6224aadcbc3a1943a4645a68
treee761be743573a3b03c886baec3951e4bb352f895
parent69d340c68449f238fe665abf4a3a7989cd2d8376
Remove cleanups from ser-mingw.c

This removes the only cleanup from ser-mingw.c, replacing it with a
specialization of std::unique_ptr.

Tested by the buildbot.

gdb/ChangeLog
2018-06-18  Tom Tromey  <tom@tromey.com>

* ser-mingw.c (struct pipe_state_destroyer): New.
(pipe_state_up): New typedef.
(cleanup_pipe_state): Remove.
(pipe_windows_open): Use pipe_state_up.  Don't release argv.
gdb/ChangeLog
gdb/ser-mingw.c
This page took 0.026015 seconds and 4 git commands to generate.