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.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'winsup/cygwin/fhandler.h') diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 04a80b0dc..ce0bef7d7 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -944,6 +944,7 @@ class fhandler_tty_common: public fhandler_termios tty *get_ttyp () { return (tty *) tc; } int close (); + _off64_t lseek (_off64_t, int); void set_close_on_exec (bool val); void fixup_after_fork (HANDLE parent); select_record *select_read (select_record *s); @@ -971,7 +972,6 @@ class fhandler_tty_slave: public fhandler_tty_common int dup (fhandler_base *child); void fixup_after_fork (HANDLE parent); - _off64_t lseek (_off64_t, int) { return 0; } select_record *select_read (select_record *s); int cygserver_attach_tty (HANDLE*, HANDLE*); int get_unit (); @@ -1002,7 +1002,6 @@ public: int tcflush (int); int ioctl (unsigned int cmd, void *); - _off64_t lseek (_off64_t, int) { return 0; } char *ptsname (); void set_close_on_exec (bool val); -- cgit v1.2.3