Package: adobereader-enu Version: 9.4.2 Severity: critical Tags: upstream patch Justification: breaks unrelated software
As described in the following Ubuntu bug report, the presence of /etc/bash_completion.d/acroread.sh causes completions for many other programs to erroneously give spaces after directories and other silliness: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/comments/7 et seq. That file is a symlink to /opt/Adobe/Reader9/Resource/Shell/acroread_tab which I presume was provided in the upstream package. The problem is that it redefines the function _filedir() that is provided as a default used by many other packages. The attached patch renames it to _acroread_filedir, so that it only affects acroread and no other packages. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-rc6+ (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages adobereader-enu depends on: ii libgtk2.0-0 2.24.8-2 adobereader-enu recommends no packages. adobereader-enu suggests no packages. -- no debconf information
--- acroread_tab~ 2011-02-15 06:05:01.000000000 -0600 +++ acroread_tab 2012-01-06 12:15:30.000000000 -0600 @@ -1,6 +1,6 @@ -# _filedir : to handle file and directories with spaces in their names. +# _acroread_filedir : to handle file and directories with spaces in their names. -_filedir() +_acroread_filedir() { local IFS=$'\t\n' xspec #glob @@ -58,7 +58,7 @@ fi if [ $COMP_CWORD -eq 1 -o "${COMPREPLY+set}" != "set" ]; then - _filedir '[pP][dD][fF]' + _acroread_filedir '[pP][dD][fF]' fi }