Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...
Houder
houder@xs4all.nl
Tue Sep 3 08:40:00 GMT 2019
On Mon, 2 Sep 2019 10:15:08, Corinna Vinschen wrote:
>
> On Sep 1 19:38, Houder wrote:
> > Hi Corinna,
> >
> > My last post in this issue.
> >
> > As reported, Eric's code snippet in rmdir() (dir.cc) has become
> > redundant, lines 317 - 325 can be removed.
>
> This is what I'm not entirely sure about. There's some kind of
> bordercase and as soon as we release Cygwin with this change,
> as chance would have it somebody will report a problem.
And you would be correct ... :-P (see below)
> I'm not opposed to removing this code, but I'd like to get Eric's
> input on this.
Sure, I understand (Eric is far more knowledgable than I am).
Henri
-----
64-@@ uname -a
CYGWIN_NT-6.1 Seven 3.1.0 path.cc-!opt (2019-09-02 15:11 2019-09-02 15:11 x86_64 Cygwin
------------
That is, I am using an modified 3.1.0-0.2 ...
64-@@ mkdir aap
64-@@ ln -s aap noot
64-@@ mkdir noot
mkdir: cannot create directory ânootâ: File exists
64-@@ mkdir noot/
mkdir: cannot create directory ânoot/â: File exists
64-@@ rmdir aap
64-@@ mkdir noot
mkdir: cannot create directory ânootâ: File exists
64-@@ mkdir noot/ <==== Whao! So that is what Eric indicated in his commit!
64-@@ ls -ld aap <==== WRONG! WRONG!
drwxr-xr-x+ 1 Henri None 0 Sep 3 10:28 aap
Investigating ...
=====
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list