This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Reading compressed character maps and gzip EPIPE issues.


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.


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