Skip to content

Commit

Permalink
Synchronize the Cygwin environment with the Win32 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
rprichard committed Oct 25, 2016
1 parent 86008fe commit d80c5d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Next Version

Changes since 0.2.0

* The frontend now synchronizes the Cygwin environment with the Win32
environment before creating the WSL backend process.
https://github.com/mintty/wsltty/issues/14

# Version 0.2.0 (2016-09-28)

Changes since 0.1.0:
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.3.0-dev
2 changes: 2 additions & 0 deletions frontend/wslbridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/cygwin.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
Expand Down Expand Up @@ -751,6 +752,7 @@ static std::string formatErrorMessage(DWORD err) {

int main(int argc, char *argv[]) {
setlocale(LC_ALL, "");
cygwin_internal(CW_SYNC_WINENV);
g_wakeupFd = new WakeupFd();

Environment env;
Expand Down

0 comments on commit d80c5d7

Please sign in to comment.