CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2004-03-14 18:01:46

Modified files:
        winsup/cygwin  : ChangeLog errno.cc fhandler_tape.cc wincap.cc 
                         wincap.h 
        winsup/cygwin/include/cygwin: mtio.h 

Log message:
        * 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2353&r2=1.2354
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/errno.cc.diff?cvsroot=src&r1=1.40&r2=1.41
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=src&r1=1.39&r2=1.40
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.cc.diff?cvsroot=src&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.h.diff?cvsroot=src&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/mtio.h.diff?cvsroot=src&r1=1.4&r2=1.5

Reply via email to