Package: bash
Version: 4.3-9.2
Severity: important

I just upgraded to the bash with fixes for Shellshock.  All my bash invocations
now produce multiple error messages of the form:

error importing function definition for `BASH_FUNC_a-b'

These errors are reported for all exported functions who's names include 
characters such as -, +, etc.

To reproduce, define the following three functions in an interactive bash shell:

function ab { echo ab ; }
function a-b { echo ab ; }
function a+b { echo ab ; }

Then try exporting each in turn, and invoking bash:

export -f ab ; bash -c exit
export -f a-b ; bash -c exit
bash: error importing function definition for `BASH_FUNC_a-b'
export -f a+b ; bash -c exit
bash: error importing function definition for `BASH_FUNC_a-b'
bash: error importing function definition for `BASH_FUNC_a+b'

This is a serious problem as I have very many instances using shell functions
with hyphens and several with other punctuation in the names.  
Some of those have been converted from aliases (which have very little 
restriction on naming but which the man page indicates
have been superseded by functions).

Every subshell invocation is currently outputting a long list of these errors.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_IE.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files   7.5
ii  dash         0.5.7-4
ii  debianutils  4.4
ii  libc6        2.19-11
ii  libtinfo5    5.9+20140712-2

Versions of packages bash recommends:
pn  bash-completion  <none>

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to