Subject: 24.2.91; Interpretation of Null CDPATH components is wrong.
From: Charles Rendleman <[email-masked]>
To: [email-masked]
Date: Fri, 28 Dec 2012 15:12:48 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

How to demonstrate the bug:
$ cd ~
$ /bin/pwd
/u/home
$ mkdir -p this/is/a/test
$ export CDPATH=:~
$ cd this/is/a/test
$ emacs -Q
launch 'eshell'
prompt should read "~/this/is/test $"
type "cd .." at the prompt.
prompt reads "/u $".and /bin/pwd results in "/u"

This is interpretation of CDPATH is not the same as that of BASH or of  of
EMACS prior to 24.2.91 that both treat NULL components of the colon
separated list of values as ".".  See, bash(1) discussions of CDPATH.