bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27871: 26.0.50; Bad handling of unmounted directory


From: Eli Zaretskii
Subject: bug#27871: 26.0.50; Bad handling of unmounted directory
Date: Sat, 23 Sep 2017 14:38:38 +0300

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 23 Sep 2017 11:33:13 +0000
> Cc: 27871@debbugs.gnu.org
> 
>  > What if there's a directory called literally "(unreachable)SOMETHING"?
> 
>  An absolute file name cannot start with "(unreachable)".
> 
> Yes, and getcwd and friends only return absolute filenames, and we only use 
> $PWD if it's absolute, so
> anything except '/' or a drive letter can't be a prefix in the success case. 
> I'll add a comment to that effect. 

Then why not just check that the first character is something other
than '/'?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]