[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with netcat
From: |
Mark H Weaver |
Subject: |
Re: Problem with netcat |
Date: |
Mon, 11 Apr 2011 13:36:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Andy Wingo <address@hidden> wrote:
> I pushed a (sigaction SIGPIPE SIG_IGN) to (system repl repl), which
> should fix the issue.
Isn't this a bad idea? SIGPIPE generally indicates that something went
wrong. If we ignore it, important problems may go unnoticed. To me,
this seems kind of like ignoring SIGSEGV to get around a memory access
to an unmapped area that would be inconvenient to prevent.
Furthermore, what happens if a REPL is started within a Guile process
that wants to install its own handler for SIGPIPE?
Why is a pipe being created here, anyway? Why not just a socket?
Best,
Mark