This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 1.3.2 rmdir fails if CWD is in the directory to be deleted?
Christopher Faylor <cgf@redhat.com> writes:
> >My reading of this is that if you have a directory open by virtue of
> >it being your working directory, then it is valid for rmdir() to fail.
> >If however it is open via opendir(), then the rmdir() must succeed.
>
> Hmm. I read "open" as also being "open as the current working
> directory".
Me too. Perhaps I was unclear.
> In any event, cygwin/windows will fail for both of these situations, I
> think.
I'm not surprised. So Cygwin will not pass a Unix certification
test. BFD, it's very useful nonetheless.
--
James Youngman
Manchester, UK. +44 161 226 7339
PGP (GPG) key ID for <jay@gnu.org> is 64A95EE5 (F1B83152).
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/