Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-02 05:50:23 +0400
committerChristopher Faylor <me@cgf.cx>2005-06-02 05:50:23 +0400
commit5ac6edefaf90729f8da0b872f89b146242d0946e (patch)
treebb25e83260861909c96812f9ced8f1d58a41600e /winsup/cygwin
parent31d0f220adb060b792367d956b59a934b91cffa0 (diff)
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open
is called in case we're passed in a non-existent device.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_disk_file.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0805ad086..9b906aca5 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2005-06-01 Christopher Faylor <cgf@timesys.com>
+ * fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that
+ disk open is called in case we're passed in a non-existent device.
+
+2005-06-01 Christopher Faylor <cgf@timesys.com>
+
* include/machine/stdlib.h: New file.
2005-06-01 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index e1ec5b377..8edf942e0 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -528,7 +528,7 @@ fhandler_disk_file::fchown (__uid32_t uid, __gid32_t gid)
if (!get_io_handle ())
{
query_open (query_write_control);
- if (!(oret = open (O_BINARY, 0)))
+ if (!(oret = fhandler_disk_file::open (O_BINARY, 0)))
return -1;
}