This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch]: rmdir


This is not a bug fix, just the reversion of a comment removal
following some recent tests on NT, plus some code simplification.

Here are the details:
- Until last Sunday, rmdir(".") didn't work.
- Now it works on 9x if the directory is empty. 
  "rmdir ." from a shell works there too.
- It also works on NT if the directory is empty AND no other process
  is using it as working directory. "rmdir ." doesn't work from a shell.
Following my initial experience on 9x, I had deleted some comments.
That was premature.

2004-03-17  Pierre Humblet <pierre.humblet@ieee.org>

	* dir.cc (rmdir): Reorganize error handling to reduce indentation. 

Attachment: dir.cc.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]