This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler_tape.cc m ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: Mon, 26 Aug 2013 16:14:40 +0000
- Subject: src/winsup/cygwin ChangeLog fhandler_tape.cc m ...
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2013-08-26 16:14:40
Modified files:
winsup/cygwin : ChangeLog fhandler_tape.cc mtinfo.h
Log message:
* mtinfo.h (class mtinfo_part): Change type of block numbers to int64_t.
(mtinfo_part::initialize): Ditto for nblock parameter in declaration.
(class mtinfo_drive): Change type of block number to int64_t. Change
all parameters indicating a block number to int64_t in method
declarations.
* fhandler_tape.cc (mtinfo_part::initialize): Ditto in definition.
(mtinfo_drive::get_pos): Ditto. Replace low and high with a
ULARGE_INTEGER and use it's components in call to GetTapePosition.
Store full value in block.
(mtinfo_drive::_set_pos): Change type of count parameter to int64_t.
Change call to SetTapePosition accordingly.
(mtinfo_drive::set_pos): Change type of count parameter to int64_t.
Change local variables holding block numbers accordingly.
(mtinfo_drive::get_status): Don't bail out early if fetching media
parameters fails.
(mtinfo_drive::ioctl): Add explicit cast matching receiving type in
MTTELL and MTIOCPOS calls.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6215&r2=1.6216
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=src&r1=1.92&r2=1.93
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mtinfo.h.diff?cvsroot=src&r1=1.13&r2=1.14