lorddrew pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=11e687578dca47f024dc230f2d23c579ddd91961
commit 11e687578dca47f024dc230f2d23c579ddd91961 Author: Andrii Kroitor <an.kroi...@samsung.com> Date: Thu Dec 22 14:10:10 2016 +0200 ecore_exe: fix send on Windows Check for bytes written only if more than 0 bytes were sent. I don't know why some efl code is trying to send 0 bytes, but that works on Linux and therefore should be fixed on Windows. --- src/lib/ecore/ecore_exe_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_exe_win32.c b/src/lib/ecore/ecore_exe_win32.c index 305298e..3532fe1 100644 --- a/src/lib/ecore/ecore_exe_win32.c +++ b/src/lib/ecore/ecore_exe_win32.c @@ -560,7 +560,7 @@ _impl_ecore_exe_send(Ecore_Exe *obj, BOOL res; res = WriteFile(exe->pipe_write.child_pipe_x, data, size, &num_exe, NULL); - if (!res || num_exe == 0) + if (size && !res || num_exe == 0) { ERR("Ecore_Exe %p stdin is closed! Cannot send %d bytes from %p", obj, size, data); --