Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004809OCaml~DO NOT USE (was: OCaml general)public2009-05-28 16:362009-06-03 10:45
Assigned To 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version3.11.1+dev 
Summary0004809: Windows: Unix.create_process not working properly from a Cygwin shell
DescriptionWhen 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:
    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: [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
xleroy (administrator)
2009-06-03 10:45

Thanks for pointing out this issue. The suggested fix was applied in the "release311" branch and will be part of release 3.11.1

- Issue History
Date Modified Username Field Change
2009-05-28 16:36 vouillon New Issue
2009-06-03 10:45 xleroy Note Added: 0004979
2009-06-03 10:45 xleroy Status new => closed
2009-06-03 10:45 xleroy Resolution open => fixed
2009-06-03 10:45 xleroy Fixed in Version => 3.11.1+dev
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker