On 6/4/21 3:39 PM, Tom Tromey wrote: >>>>>> "Bernd" == Bernd Edlinger writes: > > Bernd> I believe it is right to avoid the SIGPIPE before calling the plugin, > Bernd> instead of doing that in gcc-trunk, since we don't know which version > Bernd> we will be calling, and all versions I tried have failed like this. > > That seems fine, but I think it would be better to install the handler > just when working with the plugin, and then uninstall it afterward, sort > of like what class scoped_ignore_sigttou does. > Okay, done, that works for me. Is this OK? Thanks Bernd.