|
From: | David Kastrup |
Subject: | Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) |
Date: | Wed, 15 Jul 2009 11:19:18 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
"Davis Herring" <address@hidden> writes: >> That's not what I meant. What I meant is the problem that could >> happen if encoded_dir's value was address@hidden, and there was also a >> directory called "foo". Won't we then opendir "foo"? > > Of course. But is the equivalence between "foo" and "address@hidden" > fundamentally worse than the (almost: consider symlinks) equivalence > between "foo" and "foo/"? Maybe it just doesn't matter much. > >> And what if opendir was replaced by unlink? > > Nothing. You can't unlink directories. ;) As root under Solaris, you can. This has been a nasty cause of surprise for decades. I can't vouch that it has not changed in _very_ recent years, but there certainly will systems be around where this is the case. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |