Merge branch 'develop' into 'develop'

fix #378 fail to build on windows

Closes #378

See merge request !64
This commit is contained in:
Daniel Kochmański 2017-05-13 15:13:43 +00:00
commit 08f5354088

View file

@ -418,9 +418,7 @@ si_spawn_subprocess(cl_object command, cl_object argv, cl_object environ,
&child_stderr, 0, TRUE,
DUPLICATE_SAME_ACCESS);
/* Same for the parent_read and parent_error. */
/* DuplicateHandle(current, parent_read, current, */
/* &parent_error, 0, TRUE, */
/* DUPLICATE_SAME_ACCESS); */
parent_error = _open_osfhandle((intptr_t)child_stderr, _O_RDONLY);
}
else
create_descriptor(error, @':output', &child_stderr, &parent_error);