]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Disable FreeConsole() on close for non cygwin process.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Fri, 10 Jan 2020 11:46:26 +0000 (20:46 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Jan 2020 16:19:19 +0000 (17:19 +0100)
commit2f415d5efae5a47906f0fdf5080c407b56b5ce20
tree447b175f390fc24d7c635950da8b078095a704cd
parent783eaa888feaf4f76df3d3449e29aa20aa78c802
Cygwin: pty: Disable FreeConsole() on close for non cygwin process.

- After commit e1a0775dc0545b5f9c81b09a327fc110c538b7b4, the problem
  reported in https://www.cygwin.com/ml/cygwin/2020-01/msg00093.html
  occurs. For Gnu scren and tmux, calling FreeConsole() on pty close
  is necessary. However, if FreeConsole() is called, cygwin setup
  with '-h' option does not work. Therefore, the commit
  e1a0775dc0545b5f9c81b09a327fc110c538b7b4 delayed closing pty.
  This is the cause of the problem above. Now, instead of delaying
  pty close, FreeConsole() is not called if the process is non cygwin
  processes such as cygwin setup.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/spawn.cc
This page took 0.030902 seconds and 5 git commands to generate.