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:
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r--winsup/cygwin/fhandler_tape.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc
index 4bb2ec772..17d2685f1 100644
--- a/winsup/cygwin/fhandler_tape.cc
+++ b/winsup/cygwin/fhandler_tape.cc
@@ -23,6 +23,7 @@ details. */
#include "cygheap.h"
#include "shared_info.h"
#include "sigproc.h"
+#include "child_info.h"
/* Media changes and bus resets are sometimes reported and the function
hasn't been executed. We repeat all functions which return with one
@@ -1236,7 +1237,7 @@ fhandler_dev_tape::close ()
int ret = 0;
int cret = 0;
- if (!hExeced)
+ if (!have_execed)
{
lock (-1);
ret = mt.drive (driveno ())->close (get_handle (), is_rewind_device ());