Re: [PATCH 1/9 v2] Move make_cleanup_close to common code

Gary Benson
2015-05-27T09:52:20Z

Pedro Alves wrote:
> On 04/30/2015 01:05 PM, Gary Benson wrote:
> > This commit moves the function make_cleanup_close from gdb/utils.[ch]
> > to gdb/common/cleanup-utils.[ch] to make it usable from common code.
> > A new file was created over putting the function in common-utils.[ch]
> > to avoid having to build cleanups.c into the in-process agent.
>
> Hmm, how about avoiding creating another kitchensync, and putting
> this in common/filestuff.[ch]?

I can do that.

Cheers,
Gary

--