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>
|
2002-03-15 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygserver.cc: Include stdlib.h for exit declaration.
|
* 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_fork (HANDLE);
|
||||||
void fixup_after_exec (HANDLE parent) { fixup_after_fork (parent); }
|
void fixup_after_exec (HANDLE parent) { fixup_after_fork (parent); }
|
||||||
void echo_erase (int force = 0);
|
void echo_erase (int force = 0);
|
||||||
|
virtual __off64_t lseek (__off64_t, int);
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ansi_intensity
|
enum ansi_intensity
|
||||||
|
|
|
@ -345,3 +345,10 @@ fhandler_termios::fixup_after_fork (HANDLE parent)
|
||||||
this->fhandler_base::fixup_after_fork (parent);
|
this->fhandler_base::fixup_after_fork (parent);
|
||||||
fork_fixup (parent, get_output_handle (), "output_handle");
|
fork_fixup (parent, get_output_handle (), "output_handle");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__off64_t
|
||||||
|
fhandler_termios::lseek (__off64_t, int)
|
||||||
|
{
|
||||||
|
set_errno (ESPIPE);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue