diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-08-13 23:15:47 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-08-13 23:15:47 +0400 |
commit | deafd19cea516a1767139135ecba0c5660f67b60 (patch) | |
tree | af8e81985582bd7fbb1b809091b3fc573072044d /winsup/cygwin/fhandler_disk_file.cc | |
parent | a9a6f942293356d65ba63f708037b5574dccb0f0 (diff) |
* fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
for clearness.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Revert previous
change.
(fhandler_base::open_fs): Ditto.
* fhandler_socket.cc (fhandler_socket::close): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
-rw-r--r-- | winsup/cygwin/fhandler_disk_file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 12524196a..cbbd0fd7b 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -437,7 +437,7 @@ fhandler_base::fstat_fs (struct __stat64 *buf) res = fstat_by_handle (buf); bool no_handle = nohandle (); nohandle (false); - close (); + close_fs (); nohandle (no_handle); set_io_handle (NULL); } @@ -1257,7 +1257,7 @@ fhandler_base::open_fs (int flags, mode_t mode) if (pc.has_buggy_open () && !pc.exists ()) { debug_printf ("Buggy open detected."); - close (); + close_fs (); set_errno (ENOENT); return 0; } |