diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-06-17 15:25:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-06-17 15:25:09 +0000 |
commit | 456afc5dd5baf49f093a8b8f111c992419aa2800 (patch) | |
tree | eb5d4f9143e45c1409049139be72130a18d89ba8 /winsup/cygwin/fhandler.cc | |
parent | bd0e9c7aa613edfdc3146014fb73c38df4748659 (diff) | |
download | cygnal-456afc5dd5baf49f093a8b8f111c992419aa2800.tar.gz cygnal-456afc5dd5baf49f093a8b8f111c992419aa2800.tar.bz2 cygnal-456afc5dd5baf49f093a8b8f111c992419aa2800.zip |
* fhandler.cc (fhandler_base::open): Remove 9x specific code.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 1ea719405..57a3c4712 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -632,15 +632,6 @@ fhandler_base::open (int flags, mode_t mode) create_disposition, create_options, NULL, 0); if (!NT_SUCCESS (status)) { - if (!wincap.can_open_directories () && pc.isdir ()) - { - if (flags & (O_CREAT | O_EXCL) == (O_CREAT | O_EXCL)) - set_errno (EEXIST); - else if (flags & (O_WRONLY | O_RDWR)) - set_errno (EISDIR); - else - nohandle (true); - } __seterrno_from_win_error (RtlNtStatusToDosError (status)); if (!nohandle ()) goto done; |