diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-03-14 18:01:45 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-03-14 18:01:45 +0000 |
commit | 6644f5097cdadf7e1747a7d23418e4ba8d03e350 (patch) | |
tree | 9cd2c36465d4457872b68f96a6c293a1d308c46a /winsup/cygwin/ChangeLog | |
parent | 83a74ea24a7e60c31858571cb521d2da4ca310f2 (diff) | |
download | cygnal-6644f5097cdadf7e1747a7d23418e4ba8d03e350.tar.gz cygnal-6644f5097cdadf7e1747a7d23418e4ba8d03e350.tar.bz2 cygnal-6644f5097cdadf7e1747a7d23418e4ba8d03e350.zip |
* errno.cc (errmap): Map ERROR_BEGINNING_OF_MEDIA and
ERROR_SETMARK_DETECTED to EIO instead of ESPIPE.
Handle ERROR_FILEMARK_DETECTED.
* fhandler_tape.cc (TAPE_FUNC): Add comment that ERROR_BUS_RESET
has still to be handled correctly.
(fhandler_dev_tape::open): Accomodate fact that get.mt_dsreg
also contains density code.
(fhandler_dev_tape::ioctl): Rearrange slightly. Reset devbuf also on
MTNOP, MTWSM, MTSETBLK, MTSETDRVBUFFER, MTSETPART and MTMKPART.
(fhandler_dev_tape::tape_set_pos): Rearrange. Match behaviour to
the Linux tape driver.
(fhandler_dev_tape::tape_status): Call IOCTL_STORAGE_GET_MEDIA_TYPES_EX
if available. Return device type and density code in appropriate
mtget members.
* wincap.h (wincaps::has_ioctl_storage_get_media_types_ex): New element.
* wincap.cc: Implement above element throughout.
* include/cygwin/mtio.h: Add tape device types as returned by
IOCTL_STORAGE_GET_MEDIA_TYPES_EX.
(MT_TAPE_INFO): Use above type codes.
(struct mtget): Change mt_dsreg comment.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 98a69c568..712880ae3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,7 +1,30 @@ +2004-03-12 Corinna Vinschen <corinna@vinschen.de> + + * errno.cc (errmap): Map ERROR_BEGINNING_OF_MEDIA and + ERROR_SETMARK_DETECTED to EIO instead of ESPIPE. + Handle ERROR_FILEMARK_DETECTED. + * fhandler_tape.cc (TAPE_FUNC): Add comment that ERROR_BUS_RESET + has still to be handled correctly. + (fhandler_dev_tape::open): Accomodate fact that get.mt_dsreg + also contains density code. + (fhandler_dev_tape::ioctl): Rearrange slightly. Reset devbuf also on + MTNOP, MTWSM, MTSETBLK, MTSETDRVBUFFER, MTSETPART and MTMKPART. + (fhandler_dev_tape::tape_set_pos): Rearrange. Match behaviour to + the Linux tape driver. + (fhandler_dev_tape::tape_status): Call IOCTL_STORAGE_GET_MEDIA_TYPES_EX + if available. Return device type and density code in appropriate + mtget members. + * wincap.h (wincaps::has_ioctl_storage_get_media_types_ex): New element. + * wincap.cc: Implement above element throughout. + * include/cygwin/mtio.h: Add tape device types as returned by + IOCTL_STORAGE_GET_MEDIA_TYPES_EX. + (MT_TAPE_INFO): Use above type codes. + (struct mtget): Change mt_dsreg comment. + 2004-03-14 Pierre Humblet <pierre.humblet@ieee.org> - * dir.cc (rmdir): Construct real_dir with flag PC_FULL. - Use a loop instead of recursion to handle the current directory. + * dir.cc (rmdir): Construct real_dir with flag PC_FULL. + Use a loop instead of recursion to handle the current directory. 2004-03-14 Christopher Faylor <cgf@redhat.com> |