This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dumpfile cleanup


On Thu, Apr 26, 2018 at 2:00 PM, Nathan Sidwell <nathan@acm.org> wrote:
> I wanted to add '-' as a synonym for stdout in the dumping machinery.  But
> this bit of cleanup's needed first.  We check the special stdout/stderr
> names in 3 different places -- that's crying out for a worker function.  We
> also check those streams by name before determining whether to fclose.  It
> seems more straight forwards to just compare to stdin & stdout themselves.
>
> This patch does that cleanup, and the next patch will add the '-'
> functionality.  I've been using this on the modules branch for some time
> now.
>
> ok for trunk?

OK.

Richard.

>
> nathan
> --
> Nathan Sidwell


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]