bug-bash
[Top][All Lists]
Advanced

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

Subsequent `declare -fp` and `.` incorrectly restore function with here


From: Arfrever Frehtes Taifersar Arahesis
Subject: Subsequent `declare -fp` and `.` incorrectly restore function with here string with pattern substitution
Date: Sun, 24 Jan 2010 17:46:51 +0100
User-agent: KMail/1.12.4 (Linux/2.6.32-tuxonice-r1-AFTA; KDE/4.3.4; x86_64; ; )

Configuration Information:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
 -DSTANDARD_UTILS_PATH='/bin:/usr/bin:/sbin:/usr/sbin' 
-DSYS_BASHRC='/etc/bash/bashrc' -DSYS_BASH_LOGOUT='/etc/bash/bash_logout' 
-DNON_INTERACTIVE_LOGIN_SHELLS -DSSH_SOURCE_BASHRC -march=core2 -O2 -pipe
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.0
Patch Level: 37
Release Status: release

Description:
        Subsequent `declare -fp` and `.` incorrectly restore function with here 
string with pattern substitution.

Repeat-By:
        The following function is incorrectly restored:
        here_string_test() {
                : <<< "${var// /$'\n'}"
        }

        Run the attached bash_test.sh script using this command:
        env -i bash_test.sh

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: bash_test.sh
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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