2002-03-15 Robert Collins <rbtcollins@hotmail.com>

* fhandler.h (fhandler_termios::lseek): Override lseek.
        * fhandler_termios.cc (fhandler_termios::lseek): Implement this.
This commit is contained in:
Robert Collins
2002-03-19 04:39:01 +00:00
parent 0379a6552d
commit b035997120
3 changed files with 13 additions and 0 deletions

View File

@@ -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;
}