diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-22 05:57:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-22 05:57:54 +0000 |
commit | de935f6d9feb4a671580ad0f685a810749e8ab02 (patch) | |
tree | c9df2c01bc228f9f6f5e486efe559a9f8ef56905 /winsup/cygwin/fhandler_disk_file.cc | |
parent | 718dee922f2a168f752a7bceb93f85d114aaceb7 (diff) | |
download | cygnal-de935f6d9feb4a671580ad0f685a810749e8ab02.tar.gz cygnal-de935f6d9feb4a671580ad0f685a810749e8ab02.tar.bz2 cygnal-de935f6d9feb4a671580ad0f685a810749e8ab02.zip |
whitespace cleanup to force snapshot.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
-rw-r--r-- | winsup/cygwin/fhandler_disk_file.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 66585f00f..15d278d55 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -571,7 +571,7 @@ fhandler_disk_file::fchown (__uid32_t uid, __gid32_t gid) permissions of symlinks to a sensible value which allows the world to read the symlink and only the new owner to change it. */ if (pc.issymlink ()) - attrib = S_IFLNK | STD_RBITS | STD_WBITS; + attrib = S_IFLNK | STD_RBITS | STD_WBITS; res = set_file_attribute (pc.has_acls (), get_io_handle (), pc, uid, gid, attrib); } @@ -1306,15 +1306,15 @@ fhandler_disk_file::rmdir () continue; /* On 9X ERROR_ACCESS_DENIED is returned if you try to remove a - non-empty directory. */ + non-empty directory. */ if (err == ERROR_ACCESS_DENIED && wincap.access_denied_on_delete ()) err = ERROR_DIR_NOT_EMPTY; /* ...and, that's *not* funny, when trying to remove a non-existing - directory on a share, which is hosted by a 9x machine, the error + directory on a share, which is hosted by a 9x machine, the error code ERROR_INVALID_FUNCTION is returned. */ else if (err == ERROR_INVALID_FUNCTION) - err = ERROR_FILE_NOT_FOUND; + err = ERROR_FILE_NOT_FOUND; __seterrno_from_win_error (err); |