* 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.
This commit is contained in:
@@ -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 ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user