On Wed, 2014-07-02 at 14:08 -0500, Jason Wessel wrote: > > + hconin = CreateFile("CONIN$", GENERIC_READ | GENERIC_WRITE, > + FILE_SHARE_READ, NULL, OPEN_EXISTING, > + FILE_ATTRIBUTE_NORMAL, NULL); Is there a reason for not just using GetStdHandle(STD_INPUT_HANDLE) there, btw? -- David Woodhouse Open Source Technology Centre David.Woodhouse at intel.com Intel Corporation -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5745 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140725/ce30c655/attachment.bin>