[PATCH] tool_operate.c: add Windows support for file-uploads using stdin
Date: Wed, 16 Dec 2015 16:33:36 +0100
I propose the following patch to src/tool_operate.c in order to add
Windows support for file-uploads using stdin, especially for
interoperability with the custom stdin handling in lib/telnet.c.
It would be great if you guys could run your test suites on other
platforms with this patch. This would also fix test case 1326 getting
stuck on Windows.
An alternative solution would be to add Windows stdin handling to the
custom read function in src/tool_cb_rea.c, but that probably will not be
Actually I wonder why the current implementation works on Linux, since
the non-Windows implementation in lib/telnet.c also does not handle
end-of-file if a custom read function is used.
- text/plain attachment: stored