Re: dumpfile cleanup

2018-04-26 Thread Richard Biener
On Thu, Apr 26, 2018 at 2:00 PM, Nathan Sidwell 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 t

dumpfile cleanup

2018-04-26 Thread Nathan Sidwell
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. I