libc/winsup/cygwin/release/2.11.0
Corinna Vinschen 995d2a824a 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>
2018-06-29 15:31:15 +02:00

47 lines
1.4 KiB
Plaintext

What's new:
-----------
- New API: clearenv, pthread_tryjoin_np, pthread_timedjoin_np.
What changed:
-------------
- SO_RCVTIMEO and SO_SNDTIMEO socket options are now honored.
- /proc/cpuinfo now reports L3 cache size on Intel CPUs.
Bug Fixes
---------
- Fix utils path handling in case cygdrive path is just '/'.
Addresses: https://cygwin.com/ml/cygwin/2018-02/msg00174.html
- Fix a potential SIGFPE in strtod, if FE_INVALID exceptions are
enabled.
Addresses: https://cygwin.com/ml/cygwin/2018-04/msg00055.html
- Fix a CPU affinity problem when creating /proc/cpuinfo output.
Addresses: https://cygwin.com/ml/cygwin/2018-04/msg00118.html
- Fix a buffer underrun problem in Win32 path normalization.
Addresses: https://cygwin.com/ml/cygwin/2018-05//msg00017.html
- Fix a stack alignment problem which may lead to spurious crashes after
fork.
Addresses: https://cygwin.com/ml/cygwin-patches/2018-q2/msg00016.html
- Fix a g++ compilation problem with -std=c++14 or -std=c++17.
Addresses: https://cygwin.com/ml/cygwin/2018-05/msg00316.html
- Fix FPE flag handling for division by zero conditions
Addresses: https://cygwin.com/ml/cygwin/2018-06/msg00281.html
- Fix Unicode table.
Addresses: https://cygwin.com/ml/cygwin/2018-06/msg00248.html
- Handle a non-standard return value from some tape drives to
report a "no-media" error.
Addresses: https://cygwin.com/ml/cygwin/2018-06/msg00245.html