diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-03-06 10:01:33 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-03-06 10:01:33 +0000 |
commit | 9ab254e09b42a59a8d59d25ab5d0220feb486de6 (patch) | |
tree | 7fd5a7a9546d9b7204e41b32601af9f8480b3fb9 | |
parent | 8a889eff57a95b48187e0e7876f2b7898b3e3df7 (diff) | |
download | cygnal-9ab254e09b42a59a8d59d25ab5d0220feb486de6.tar.gz cygnal-9ab254e09b42a59a8d59d25ab5d0220feb486de6.tar.bz2 cygnal-9ab254e09b42a59a8d59d25ab5d0220feb486de6.zip |
s/open/create/
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 25f167247..98c48064d 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -590,7 +590,7 @@ fhandler_base::open (int flags, mode_t mode) create_disposition, create_options, NULL, 0); if (!NT_SUCCESS (status)) { - /* Trying to open a directory should return EISDIR, not ENOENT. */ + /* Trying to create a directory should return EISDIR, not ENOENT. */ PUNICODE_STRING upath = pc.get_nt_native_path (); if (status == STATUS_OBJECT_NAME_INVALID && upath->Buffer[upath->Length / sizeof (WCHAR) - 1] == '\\') |