]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.cc (fhandler_base::open): Drop local create_options variable.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 17 Jun 2011 11:04:44 +0000 (11:04 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 17 Jun 2011 11:04:44 +0000 (11:04 +0000)
commitc36cd56c548a27683e64b93348bbe9ad1d47b1ea
tree349247e874430bb4dd8f0ff7b0ce51812c5387cb
parenta71625261972960776d7602a2673fcd98fddae62
* fhandler.cc (fhandler_base::open): Drop local create_options variable.
Use options member instead.
* fhandler.h (class fhandler_base): Change type of access member to
ACCESS_MASK.  Change get_access and set_access methods accordingly.
Add options member.  Add get_options and set_options methods.
(class fhandler_disk_file): Add prw_handle.
(fhandler_disk_file::prw_open): Declare.
(fhandler_disk_file::close): Declare.
(fhandler_disk_file::dup): Declare.
(fhandler_disk_file::fixup_after_fork): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file):
Initialize prw_handle to NULL.
(fhandler_disk_file::close): Close prw_handle.
(fhandler_disk_file::dup): New method.
(fhandler_disk_file::fixup_after_fork): Set prw_handle to NULL since
prw_handle is not inherited.
(fhandler_disk_file::prw_open): New method.  Add long comment to
explain current behaviour.
(fhandler_disk_file::pread): Revert previous change.  Change to use
prw_handle if possible.
(fhandler_disk_file::pwrite): Change to use prw_handle if possible.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_disk_file.cc
This page took 0.033147 seconds and 5 git commands to generate.