[comp.emacs] 'expand-file-name' handling '..' expansion improperly in GNU Emacs

weiner@novavax.UUCP (Bob Weiner) (09/08/89)

I use GNU Emacs 18.52 with Leonard Zubkoff's Apollo extensions but I see
this faulty behavior on non-extended versions of GNU Emacs also.

The following expression:

(expand-file-name "/usr/../usr/bin")

expands to:

"//usr/bin"

rather than "/usr/bin".  This causes dired on a number of directories to
fail.  Is this a bug?  Does anyone have a patch for the complicated
"expand-file-name" code?

Any help is appreciated.
-- 
Bob Weiner, Motorola, Inc.,   USENET:  ...!gatech!uflorida!novavax!weiner
(407) 738-2087