Re: [PATCH] Properly handle short writes in sigint handlers

Subject: Re: [PATCH] Properly handle short writes in sigint handlers

Date: Fri, 23 Dec 2011 08:10:33 +0000

To: Austin Clements, notmuch@notmuchmail.org

Cc:

From: David Edmondson


Sorry for being slow.

Can you describe the situation in which you expect a write to stderr to
be a short write? (Without error.)

In that situation, what guarantee is there that the loop you've written
will terminate?

We're not talking about safeguarding a users' data here - this is a
short message to indicate that a tool is terminating due to a signal.
I'm concerned that the solution is worse than the problem.
part-000.sig (application/pgp-signature)

Thread: