[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "echo: write error: Broken pipe" even when DONT_REPORT_SIGPIPE set
From: |
Chet Ramey |
Subject: |
Re: "echo: write error: Broken pipe" even when DONT_REPORT_SIGPIPE set |
Date: |
Tue, 10 Jan 2006 13:58:26 -0500 |
> Chet Ramey <chet.ramey@case.edu> wrote:
> > `echo' now displays an error message on write errors.
>
> In the case of a SIGPIPE trap, is it intended that echo sees EPIPE
> before the SIGPIPE handler runs?
Yes. POSIX requires that trap handling be deferred until a `foreground
utility' completes, and builtins count.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/