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
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-06-29 16:29:36 +0300
committerCorinna Vinschen <corinna@vinschen.de>2018-06-29 16:31:15 +0300
commit995d2a824a8faf71ef91eb8b7a7b3054209565d8 (patch)
tree85484a786153c2d8b6aa3fc763b4768c03d032ca /configure.ac
parent4b97244d125e6a7a043ee798a488a17e25cb5d0c (diff)
Cygwin: tape: Handle non-standard "no medium" error code
Certain tape drives (known example: QUANTUM_ULTRIUM-HH6) return the non-standard ERROR_NOT_READY rather than ERROR_NO_MEDIA_IN_DRIVE if no media is present. ERROR_NOT_READY is not documented as valid return code from GetTapeStatus. Without handling this error code Cygwin's tape code can't report an offline state to user space. Fix this by converting ERROR_NOT_READY to ERROR_NO_MEDIA_IN_DRIVE where appropriate. Add a debug_printf to mtinfo_drive::get_status to allow requesting user info without having to rebuild the DLL. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions