]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Make close_pseudoconsole() be a static member function.
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
Fri, 15 Jan 2021 08:32:11 +0000 (17:32 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 18 Jan 2021 10:02:46 +0000 (11:02 +0100)
commit85ea2614f5c911f468b37fad6865b45102e47a2f
tree92bb252dc58f3ffba41d5c52a49d2ee77207e37c
parent974e6d76d85a284add338d95bea9703e16a693d6
Cygwin: pty: Make close_pseudoconsole() be a static member function.

- The function close_pseudoconsole() should be static so that it
  can be safely called in spawn.cc even after the fhandler_pty_slave
  instance has been deleted. That is, there is a problem with the
  current code. This patch fixes the issue.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/spawn.cc
This page took 0.027864 seconds and 5 git commands to generate.