* 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.
This commit is contained in:
parent
31d0f220ad
commit
5ac6edefaf
|
@ -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>
|
2005-06-01 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* include/machine/stdlib.h: New file.
|
* include/machine/stdlib.h: New file.
|
||||||
|
|
|
@ -528,7 +528,7 @@ fhandler_disk_file::fchown (__uid32_t uid, __gid32_t gid)
|
||||||
if (!get_io_handle ())
|
if (!get_io_handle ())
|
||||||
{
|
{
|
||||||
query_open (query_write_control);
|
query_open (query_write_control);
|
||||||
if (!(oret = open (O_BINARY, 0)))
|
if (!(oret = fhandler_disk_file::open (O_BINARY, 0)))
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue