diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-06 14:05:59 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-06 14:05:59 +0000 |
commit | ad7915ffca66782988575f400700995dbb4d5df2 (patch) | |
tree | 74744a0216ece289a0855742d6aa41eea09d077c | |
parent | 3c788ea42a53e023a10216be0874d5193e11abc0 (diff) | |
download | cygnal-ad7915ffca66782988575f400700995dbb4d5df2.tar.gz cygnal-ad7915ffca66782988575f400700995dbb4d5df2.tar.bz2 cygnal-ad7915ffca66782988575f400700995dbb4d5df2.zip |
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Fix typo.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_disk_file.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1c27b8cf5..67b8d7076 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2006-12-06 Corinna Vinschen <corinna@vinschen.de> + + * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Fix typo. + 2006-12-05 Corinna Vinschen <corinna@vinschen.de> * path.cc (cwdstuff::init): Don't change to windows_system_directory diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 2d6ae3578..4899c9aac 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -1463,7 +1463,7 @@ fhandler_disk_file::rmdir () directory can't be removed because it's not empty. Checking for existence afterwards keeps us informed about success. */ if (!isremote () || att == INVALID_FILE_ATTRIBUTES) - return res; + return 0; err = ERROR_DIR_NOT_EMPTY; } |