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

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Sep 2 08:15:00 GMT 2019


On Sep  1 19:38, Houder wrote:
> On Fri, 30 Aug 2019 11:54:27, Houder  wrote:
> 
> > A trailing forward slash in "pathname" is stripped in path_conv::check,
> > 
> > (look for: *--tail = '\0' )
> > 
> > after "pathname" has been normalized in
> > 
> > normalized_posix_path or normalized_win32_path (or both),
> > 
> > before it is fed into conv_to_win32_path.
> > 
> > Tests have shown that Eric's code snippet can be deleted w/o harm.
> > 
> > Counter arguments?
> 
> 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.

I'm not opposed to removing this code, but I'd like to get Eric's
input on this.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- 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/20190902/b8185539/attachment.sig>


More information about the Cygwin mailing list