]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 7 Oct 2009 07:52:30 +0000 (07:52 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 7 Oct 2009 07:52:30 +0000 (07:52 +0000)
commitb4311a90678d873611e2502e81b90b7cf6b4415a
tree431d7a28ae087eb79d53a692fd8c30a2bbfb976e
parentbd45d6fa76578b6c641d9deeae0a924e953ce78d
* fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
* fhandler_termios.cc (fhandler_termios::tcgetpgrp): Only return
valid pgid if tty is controlling tty.  Set errno to ENOTTY and
return -1 otherwise.
(fhandler_pty_master::tcgetpgrp): New function.  Return 0 for
master side of pty if it's not the controlling tty of the process.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_termios.cc
This page took 0.031621 seconds and 5 git commands to generate.