Cygwin: pty: Convert CamelCase names to snake_case names.

This commit is contained in:
Takashi Yano
2019-11-16 08:27:24 +09:00
committed by Corinna Vinschen
parent 59362c80e3
commit edb1be4cce
8 changed files with 60 additions and 60 deletions

View File

@@ -155,10 +155,10 @@ dtable::stdio_init ()
if (fh && fh->get_major () == DEV_PTYS_MAJOR)
{
fhandler_pty_slave *ptys = (fhandler_pty_slave *) fh;
if (ptys->getPseudoConsole ())
if (ptys->get_pseudo_console ())
{
bool attached = !!fhandler_console::get_console_process_id
(ptys->getHelperProcessId (), true);
(ptys->get_helper_process_id (), true);
if (attached)
break;
else
@@ -167,7 +167,7 @@ dtable::stdio_init ()
by some reason. This happens if the executable is
a windows GUI binary, such as mintty. */
FreeConsole ();
if (AttachConsole (ptys->getHelperProcessId ()))
if (AttachConsole (ptys->get_helper_process_id ()))
{
ptys->fixup_after_attach (false, fd);
break;