diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-11-16 23:28:56 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-11-16 23:28:56 +0000 |
commit | 42d292493b437a723391714733c1714f386ce36f (patch) | |
tree | ceae52bfa5d4c4eca615b460a66fb46378bc1f66 /winsup | |
parent | ed97f12cd31686266f1e9aab899794fa5896fd8f (diff) | |
download | newlib-42d292493b437a723391714733c1714f386ce36f.zip newlib-42d292493b437a723391714733c1714f386ce36f.tar.gz newlib-42d292493b437a723391714733c1714f386ce36f.tar.bz2 |
* fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.
* fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug
output.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_raw.cc | 1 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_tape.cc | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 055a52e..3f199f9 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/fhandler_raw.cc b/winsup/cygwin/fhandler_raw.cc index aff9d8e..7cbbe0a 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 7a738e6..558dc0b 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 |