[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian bug #929178: wrong trap displayed inside functions
From: |
Oğuz |
Subject: |
Debian bug #929178: wrong trap displayed inside functions |
Date: |
Mon, 25 Mar 2024 18:12:02 +0200 |
On Monday, March 25, 2024, Gioele Barabucci <gioele@svario.it> wrote:
>
> If a function does not set a trap, `trap` will output the command set by
> the caller. This is just a cosmetic issue, the right trap will be run at
> runtime.
>
Doesn't POSIX allow this? How else do you propose we save the trap set for
an event into a variable if `x=$(trap)' stops working?
--
Oğuz
- Debian bug #929178: wrong trap displayed inside functions, Gioele Barabucci, 2024/03/25
- Debian bug #929178: wrong trap displayed inside functions,
Oğuz <=
- Re: Debian bug #929178: wrong trap displayed inside functions, Gioele Barabucci, 2024/03/25
- Debian bug #929178: wrong trap displayed inside functions, Oğuz, 2024/03/25
- Re: Debian bug #929178: wrong trap displayed inside functions, G. Branden Robinson, 2024/03/25
- Re: Debian bug #929178: wrong trap displayed inside functions, Oğuz, 2024/03/25
- Re: Debian bug #929178: wrong trap displayed inside functions, G. Branden Robinson, 2024/03/25
- Re: Debian bug #929178: wrong trap displayed inside functions, Martin D Kealey, 2024/03/26
- Debian bug #929178: wrong trap displayed inside functions, Oğuz, 2024/03/26
- Re: Debian bug #929178: wrong trap displayed inside functions, Gioele Barabucci, 2024/03/25
- Re: Debian bug #929178: wrong trap displayed inside functions, Chet Ramey, 2024/03/25
Re: Debian bug #929178: wrong trap displayed inside functions, Chet Ramey, 2024/03/25