user man...@packages.debian.org
usertags 597756 target-2.6.0
tags 597756 fixed-upstream
thanks

On Thu, Dec 02, 2010 at 12:58:15AM +0000, Colin Watson wrote:
> It's more interesting than that.  Normally, iconv should get SIGPIPE
> when it tries to write to stdout and finds that it's been closed.  In
> normal circumstances that should kill iconv before it prints that
> message.
> 
> My leading theory is that Stephen is hitting the format_display_and_save
> path, which ignores SIGPIPE in the wrong place such that it could be
> ignored while forking iconv.

Based on this theory, I think I've fixed this bug for man-db 2.6.0.

Fri Jan  7 23:49:55 GMT 2011  Colin Watson  <cjwat...@debian.org>

        * src/man.c (format_display_and_save): Drop SIGPIPE handling.
          pipeline_pump handles this itself, and doing it here means that
          SIGPIPE is incorrectly ignored in subprocesses (Debian bug
          #597756).

Cheers,

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to