[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash trap ignore signal - race condition

From: Roman Rakus
Subject: Re: bash trap ignore signal - race condition
Date: Thu, 14 Apr 2011 08:18:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7

On 04/14/2011 03:07 AM, Roman Rakus wrote:
Or document current behavior.
What about following?

diff -up bash-4.2/doc/bash.1.trap bash-4.2/doc/bash.1
--- bash-4.2/doc/bash.1.trap    2011-04-14 08:10:47.000000000 +0200
+++ bash-4.2/doc/bash.1 2011-04-14 08:15:34.000000000 +0200
@@ -9424,6 +9424,7 @@ These are the same conditions obeyed by
 Signals ignored upon entry to the shell cannot be trapped or reset.
 Trapped signals that are not being ignored are reset to their original
 values in a subshell or subshell environment when one is created.
+During trap initialization for specific signal, pending signal can be ignored.
 The return status is false if any
 .I sigspec
 is invalid; otherwise


reply via email to

[Prev in Thread] Current Thread [Next in Thread]