Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Aug 27 17:50:00 GMT 2019


On Aug 27 11:44, Vince Rice wrote:
> > On Aug 27, 2019, at 11:28 AM, Houder wrote:
> > 
> > On Tue, 27 Aug 2019 17:25:49, Corinna Vinschen  wrote:
> >> …
> >> mkdir(2) has some special code from 2009 which drops trailing
> >> {back}slashes to perform a bordercase in mkdir Linux-compatible.
> >> This code snippet doesn't exist in rmdir(2).
> > 
> > .. uhm, I must be speaking to the alter ego of Corinna V,. because
> > as far as I know, Corinna has given herself some time off ...

Back for a couple days only :}

> > Perhaps you could make an entry in her "TODO list" that the 3 lines
> > above requires some more explanation for pour souls like me.
> 
> I am not Corinna, but I read that as…
> The mkdir command works because it has special code added to it to make
> it work. The rmdir command doesn't work because it doesn't have the same
> code in it.

Exactly.


Corinna
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190827/5f771905/attachment.sig>


More information about the Cygwin mailing list