mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
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:
parent
0379a6552d
commit
b035997120
@ -1,3 +1,8 @@
|
||||
2002-03-15 Robert Collins <rbtcollins@hotmail.com>
|
||||
|
||||
* fhandler.h (fhandler_termios::lseek): Override lseek.
|
||||
* fhandler_termios.cc (fhandler_termios::lseek): Implement this.
|
||||
|
||||
2002-03-15 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygserver.cc: Include stdlib.h for exit declaration.
|
||||
|
@ -657,6 +657,7 @@ class fhandler_termios: public fhandler_base
|
||||
void fixup_after_fork (HANDLE);
|
||||
void fixup_after_exec (HANDLE parent) { fixup_after_fork (parent); }
|
||||
void echo_erase (int force = 0);
|
||||
virtual __off64_t lseek (__off64_t, int);
|
||||
};
|
||||
|
||||
enum ansi_intensity
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user