win32 related patches

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Aug 25 08:27:54 PDT 2014


On Sat, Aug 23, 2014 at 5:51 PM, Nikos Mavrogiannopoulos
<nmav at gnutls.org> wrote:
>> > I don't think createprocess() can handle scripts, that's the reason I
>> > got through cmd.exe. Anyway that patch is now quite improved.
>> It can't handle scripts, but surely it can use cscript.exe instead of
>> cmd.exe ?
> Could be I don't know. I'll try next week.

Replacing "cmd.exe /c" with "cscript.exe" seem to work. Though we'd
lose the ability to run anything else than script. Don't know if that
matters though. The speed difference seems insignificant.

> Ok. I'll send a new patch set next week.

The list of patches I needed to run a gui under windows is attached.

If anyone wants to test, the gui is at https://github.com/nmav/openconnect-gui
and there is a link to precompiled installer (it's very alpha software).

regards,
Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-use-windows-types-and-return-codes-for-socket-errors.patch
Type: text/x-diff
Size: 3254 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140825/e2a4378a/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-use-recv-and-closesocket-on-the-cmd_fd-on-windows.patch
Type: text/x-diff
Size: 1530 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140825/e2a4378a/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-use-CreateProcess-instead-of-system-to-run-scripts.patch
Type: text/x-diff
Size: 2744 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140825/e2a4378a/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-added-openconnect_strdup.patch
Type: text/x-diff
Size: 1677 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140825/e2a4378a/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-define-uid_t-in-windows.patch
Type: text/x-diff
Size: 1268 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140825/e2a4378a/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-define-_GNU_SOURCE-to-get-asprintf-s-definition.patch
Type: text/x-diff
Size: 1585 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140825/e2a4378a/attachment-0011.bin>


More information about the openconnect-devel mailing list