You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4809 Reporter: vouillon Status: closed (set by @xavierleroy on 2009-06-03T08:45:40Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.0 Fixed in version: 3.11.1+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
When Unison is started from a Cygwin shell, it fails to start an ssh subprocess (calling Unix.create_process). The reason is that wrong startup information is passed to the ssh subprocess.
Changing the line:
GetStartupInfo(&si);
to:
ZeroMemory(&si, sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);
in file createprocess.c fixes the problem. By the way, this is what the Microsoft CRT library does.
Original bug ID: 4809
Reporter: vouillon
Status: closed (set by @xavierleroy on 2009-06-03T08:45:40Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0
Fixed in version: 3.11.1+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
When Unison is started from a Cygwin shell, it fails to start an ssh subprocess (calling Unix.create_process). The reason is that wrong startup information is passed to the ssh subprocess.
Changing the line:
GetStartupInfo(&si);
to:
ZeroMemory(&si, sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);
in file createprocess.c fixes the problem. By the way, this is what the Microsoft CRT library does.
At least, field si.cbReserved2 should be set to 0 and field si.lpReserved2 should be set to NULL, as documented at:
http://msdn.microsoft.com/en-us/library/ms686331(VS.85).aspx
The text was updated successfully, but these errors were encountered: