bug-bash
[Top][All Lists]
Advanced

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

trap reset for multiple signals


From: struebinc
Subject: trap reset for multiple signals
Date: Wed, 1 Sep 2004 15:50:13 +0200

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.8
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='sol
aris2.8' -DCONF_MACHTYPE='sparc-sun-solaris2.8' -DCONF_VENDOR='sun'
-DLOCALEDIR=
'/share/locale' -DPACKAGE='bash' -DSHELL  -DHAVE_CONFIG_H  -I.  -I.
-I./include
-I./lib -I./lib/intl
-I/data/packages/build/bash/3.0/src/bash-3.0/lib/intl  -g -
O2
uname output: SunOS wcwe00ho.post.ch 5.8 Generic_108528-29 sun4u sparc
SUNW,Ultr
a-5_10
Machine Type: sparc-sun-solaris2.8

Bash Version: 3.0
Patch Level: 0
Release Status: release

Description:
        By setting traps in the /etc/profile we use : trap "" 2 3. 
        At the end of of the profile we reset the trap by : trap 2 3
        But the trap still exists. 

        On bash 2.05 this works fine.

Repeat-By:

        address@hidden trap 
        address@hidden trap "" 2 3
        address@hidden trap
        trap -- '' SIGINT
        trap -- '' SIGQUIT
        address@hidden trap 2 3
        address@hidden trap
        trap -- '' SIGINT
        trap -- '2' SIGQUIT
        address@hidden trap 3
        address@hidden trap
        trap -- '' SIGINT
        address@hidden trap 2
        address@hidden trap
 
Fix:
        
Regards Claude

Die Schweizerische Post
Information Technology Services
IT222 Infrastructure Unix Systems
Webergutstrasse 12
CH-3030 Bern (Zollikofen)

E-Mail    address@hidden






reply via email to

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