Reading compressed character maps and gzip EPIPE issues.
Paul Eggert
eggert@cs.ucla.edu
Sun Nov 24 20:31:00 GMT 2019
On 11/24/19 8:10 AM, Andreas Schwab wrote:
> localedef has not business messing with signals. If the parent ignores
> SIGPIPE its their problem.
Although the parent indeed should not ignore SIGPIPE because of the trouble that
causes, it would also be helpful for localedef to set the SIGPIPE handler to
SIG_DFL in its subprocess that is intended to produce output to a pipe that
localedef may not entirely drain. This sort of thing is common in GNU
applications, and it wouldn't be unreasonable for localedef to do the same.
More information about the Libc-alpha
mailing list