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
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-01-12 12:16:51 +0300
committerCorinna Vinschen <corinna@vinschen.de>2011-01-12 12:16:51 +0300
commit667f187146dabad4791e55192941a06254379ebb (patch)
tree03329572fba5b9e067cf72cb418e42b62314e6c3 /newlib
parent95a5c969ab3016e3ea79ef2c3ea705cb12dc69e5 (diff)
* fhandler.h (struct part_t): New type.
(class fhandler_dev_floppy): Convert partitions to part_t pointer. Add lock_partition method. * fhandler_floppy.cc (fhandler_dev_floppy::lock_partition): New method to implement ondemand partition locking. (fhandler_dev_floppy::write_file): Call lock_partition from here if writing failed due to a potential write restriction on a disk partition. (fhandler_dev_floppy::open): Don't lock partitions here. (fhandler_dev_floppy::close): Keep track of partition handle reference count. Close handles and remove partitions pointer ony if count is 0. (fhandler_dev_floppy::dup): Just copy partitions pointer and increment reference count.
Diffstat (limited to 'newlib')
0 files changed, 0 insertions, 0 deletions