From 4f3e6ff17b8a7646ed8342164c0a1c6af8f731e8 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 18 Aug 2005 20:17:10 +0000 Subject: * fhandler.h (fhandler_tty_common::lseek): Declare new method. (fhandler_tty_slave::lseek): Delete old method. (fhandler_tty_master::lseek): Delete old method. * fhandler_tty.cc (fhandler_tty_common::lseek): Define new method. --- winsup/cygwin/fhandler_tty.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'winsup/cygwin/fhandler_tty.cc') diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index a7d0afb8b..ce2bd5db8 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -1180,6 +1180,13 @@ fhandler_pty_master::open (int flags, mode_t) return 1; } +_off64_t +fhandler_tty_common::lseek (_off64_t, int) +{ + set_errno (ESPIPE); + return -1; +} + int fhandler_tty_common::close () { -- cgit v1.2.3