]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open
authorChristopher Faylor <me@cgf.cx>
Thu, 2 Jun 2005 01:50:23 +0000 (01:50 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 2 Jun 2005 01:50:23 +0000 (01:50 +0000)
is called in case we're passed in a non-existent device.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc

index 0805ad086e83194d8bd799c6e336f3393086201b..9b906aca5b7b1498c8797fc5b358a61887621b58 100644 (file)
@@ -1,3 +1,8 @@
+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.
index e1ec5b37731358624687c1265414ad7ed9c97d7d..8edf942e0b091b2d9f6b48e8f83cfee8a61f2d75 100644 (file)
@@ -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;
     }
 
This page took 0.035689 seconds and 5 git commands to generate.