diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 055a52e4a..3f199f918 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2001-11-17 Corinna Vinschen + + * fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit. + * fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug + output. + 2001-11-15 Egor Duda * include/pthread.h (PTHREAD_COND_INITIALIZER): Define. diff --git a/winsup/cygwin/fhandler_raw.cc b/winsup/cygwin/fhandler_raw.cc index aff9d8ef3..7cbbe0a53 100644 --- a/winsup/cygwin/fhandler_raw.cc +++ b/winsup/cygwin/fhandler_raw.cc @@ -86,7 +86,6 @@ fhandler_dev_raw::clear (void) eof_detected = 0; lastblk_to_read = 0; varblkop = 0; - unit = 0; } int diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc index 7a738e652..558dc0bad 100644 --- a/winsup/cygwin/fhandler_tape.cc +++ b/winsup/cygwin/fhandler_tape.cc @@ -57,6 +57,7 @@ fhandler_dev_tape::is_eof (int win_error) fhandler_dev_tape::fhandler_dev_tape (int unit) : fhandler_dev_raw (FH_TAPE, unit) { + debug_printf ("unit: %d", unit); } int