From b035997120187fa66461248494a1483eb6fe1133 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 19 Mar 2002 04:39:01 +0000 Subject: 2002-03-15 Robert Collins * fhandler.h (fhandler_termios::lseek): Override lseek. * fhandler_termios.cc (fhandler_termios::lseek): Implement this. --- winsup/cygwin/fhandler_termios.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'winsup/cygwin/fhandler_termios.cc') diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index fb8c2e09f..094c1705d 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -345,3 +345,10 @@ fhandler_termios::fixup_after_fork (HANDLE parent) this->fhandler_base::fixup_after_fork (parent); fork_fixup (parent, get_output_handle (), "output_handle"); } + +__off64_t +fhandler_termios::lseek (__off64_t, int) +{ + set_errno (ESPIPE); + return -1; +} -- cgit v1.2.3