OSDN Git Service

* fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.
authorcorinna <corinna>
Fri, 16 Nov 2001 23:28:56 +0000 (23:28 +0000)
committercorinna <corinna>
Fri, 16 Nov 2001 23:28:56 +0000 (23:28 +0000)
* fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug
output.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_raw.cc
winsup/cygwin/fhandler_tape.cc

index 055a52e..3f199f9 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-17  Corinna Vinschen  <corinna@vinschen.de>
+
+       * 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  <deo@logos-m.ru>
 
        * include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
index aff9d8e..7cbbe0a 100644 (file)
@@ -86,7 +86,6 @@ fhandler_dev_raw::clear (void)
   eof_detected = 0;
   lastblk_to_read = 0;
   varblkop = 0;
-  unit = 0;
 }
 
 int
index 7a738e6..558dc0b 100644 (file)
@@ -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