summaryrefslogtreecommitdiffstats
path: root/include/opcode
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-06-17 11:04:44 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-06-17 11:04:44 +0000
commitc36cd56c548a27683e64b93348bbe9ad1d47b1ea (patch)
tree349247e874430bb4dd8f0ff7b0ce51812c5387cb /include/opcode
parenta71625261972960776d7602a2673fcd98fddae62 (diff)
downloadcygnal-c36cd56c548a27683e64b93348bbe9ad1d47b1ea.tar.gz
cygnal-c36cd56c548a27683e64b93348bbe9ad1d47b1ea.tar.bz2
cygnal-c36cd56c548a27683e64b93348bbe9ad1d47b1ea.zip
* 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.
Diffstat (limited to 'include/opcode')
0 files changed, 0 insertions, 0 deletions