Your message dated Sun, 11 Sep 2011 14:15:37 -0500
with message-id <20110911191537.GA1099@elie>
and subject line Re: bash uses strcpy on overlapping strings
has caused the Debian Bug report #589084,
regarding bash: basename variable: PS1="\W \w " in /boot reports "bott /boot"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
589084: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589084
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash
Version: 4.1-3
Severity: normal
I'm not sure when this started occuring. \W which should report the
basename "boot" in /boot reports "bott":
$ export PS1="\W \w "
~ ~ cd /boot
bott /boot
I can't reproduce it on my Ubuntu machine which has "GNU bash, version
4.1.5(1)-release (i486-pc-linux-gnu)". "basename /boot" in a shell
also reports "boot", not "bott".
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (700, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-rc5+ (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash depends on:
ii base-files 5.7 Debian base system miscellaneous f
ii dash 0.5.5.1-6 POSIX-compliant shell
ii debianutils 3.3 Miscellaneous utilities specific t
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
Versions of packages bash recommends:
ii bash-completion 1:1.2-2 programmable completion for the ba
Versions of packages bash suggests:
ii bash-doc 4.1-3 Documentation and examples for the
-- Configuration Files:
/etc/bash.bashrc changed [not included]
/etc/skel/.bash_logout [Errno 2] No such file or directory:
u'/etc/skel/.bash_logout'
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 4.2-1~exp1
Jonathan Nieder wrote:
> Ian Campbell wrote:
>> I noticed this with /anfs (becomes "afss" with \W) and it seems to occur only
>> for 4 and 5 letter directory names in /.
>
> This was fixed by bash 4.1 patch 10.
Seems to be fixed in experimental, too. Thanks, all.
--- End Message ---