data: don't ignore SIGPIPE
commitc0c31227198dbc7d26fd5955c18d0e2b27df3b84
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 13 Jan 2023 05:57:35 +0000 (13 05:57 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 13 Jan 2023 08:23:56 +0000 (13 08:23 +0000)
tree1665640a325ece2b65377a9d014507d989925c25
parent86b0f6c202d57100b98ea29a2ff0a4ad3d9582a9
data: don't ignore SIGPIPE

If all of the requested data has been read, the call to popen_close will
close the scripts output pipe and on the next write a SIGPIPE is
delivered.
When the scripts inherited signalhandler is ignoring the singal, it
won't be aborted by default.

This happens in the test suite, as make 4.4 seems to ignore this signal.
Therefore the executed scripts never stop and the testsuite never
finishes.
plugins/data/format.c