Skip to content

Commit

Permalink
fixup! Rename dll from cygwin to msys
Browse files Browse the repository at this point in the history
These two instances of pty pipes have been forgotten somewhere along the
lines.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho authored and lazka committed Dec 10, 2021
1 parent 27276c6 commit 3c59227
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions winsup/cygwin/fhandler_tty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,11 @@ fhandler_pty_slave::reset_switch_to_pcon (void)
{
char pipe[MAX_PATH];
__small_sprintf (pipe,
#ifdef __MSYS__
"\\\\.\\pipe\\msys-%S-pty%d-master-ctl",
#else
"\\\\.\\pipe\\cygwin-%S-pty%d-master-ctl",
#endif
&cygheap->installation_key, get_minor ());
pipe_request req = { GetCurrentProcessId () };
pipe_reply repl;
Expand Down Expand Up @@ -3738,7 +3742,11 @@ fhandler_pty_slave::transfer_input (tty::xfer_dir dir, HANDLE from, tty *ttyp,
{
char pipe[MAX_PATH];
__small_sprintf (pipe,
#ifdef __MSYS__
"\\\\.\\pipe\\msys-%S-pty%d-master-ctl",
#else
"\\\\.\\pipe\\cygwin-%S-pty%d-master-ctl",
#endif
&cygheap->installation_key, ttyp->get_minor ());
pipe_request req = { GetCurrentProcessId () };
pipe_reply repl;
Expand Down

0 comments on commit 3c59227

Please sign in to comment.