git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] git-svn: use POSIX::sigprocmask to block signals

From
Roman Kagan <rkagan@mail.ru>
Date
Apr 11, 2012, 11:22 UTC
Message-ID
<CANiYKX56EnCJu6qTEJC=K7HVquObDXYCxRCPxn2YuJk+MZDmBQ@mail.gmail.com>
In-Reply-To
<20120410211120.GA27555@dcvr.yhbt.net>
11 апреля 2012 г. 1:11 пользователь Eric Wong <normalperson@yhbt.net> написал:
Show 5 quoted lines
> Roman Kagan <rkagan@mail.ru> wrote:
>> +             my $signew = POSIX::SigSet->new(SIGINT, SIGHUP, SIGTERM,
>> +                     SIGALRM, SIGPIPE, SIGUSR1, SIGUSR2);
>
> Considering your 2/2 patch, can we remove SIGPIPE here?

Doing it in this patch (i.e. before SIGPIPE gets ignored by the second patch) would be illogical.

I can submit another patch which removes SIGPIPE from the list of blocked signals (the reason would be mostly aesthetic since blocking an ignored signal is harmless anyway).

Roman.
Previous: Eric WongNext: Roman Kagan
Message 4 of 8 in “git-svn: fixes for intermittent SIGPIPE”
  1. 0/2 git-svn: fixes for intermittent SIGPIPERoman Kagan, Apr 2, 2012
  2. 1/2 git-svn: use POSIX::sigprocmask to block signalsRoman Kagan, Apr 2, 2012
  3. Eric WongApr 10, 2012
  4. Roman KaganApr 11, 2012
  5. 2/2 git-svn: ignore SIGPIPERoman Kagan, Apr 2, 2012
  6. Roman KaganApr 23, 2012
  7. Junio C HamanoApr 23, 2012
  8. Roman KaganApr 23, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.