]> git.ipfire.org Git - thirdparty/openvpn.git/commit
cleanup: windows: convert argv (UCS-2 to UTF-8) at earliest
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sat, 24 Mar 2012 20:31:10 +0000 (22:31 +0200)
committerDavid Sommerseth <davids@redhat.com>
Fri, 29 Jun 2012 08:07:23 +0000 (10:07 +0200)
commit74370aa89df9285a95084616e9c2d3c8464760b9
treea0f62d0a847e9163c9f7e08a8d89effc62ed9840
parent5a57e201223f7265af0a56859b00a594b0d98f5b
cleanup: windows: convert argv (UCS-2 to UTF-8) at earliest

Discussed at [1].

Use wmain under windows, drop the custom parsing and shell32 linkage.

There is no need for gc magic as this allocation is static.

[1] http://permalink.gmane.org/gmane.network.openvpn.devel/5433

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Message-Id: 1332621070-28464-1-git-send-email-alon.barlev@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6063
Tested-by: Samuli Seppänen <samuli@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
src/openvpn/Makefile.am
src/openvpn/openvpn.c
src/openvpn/openvpn.vcxproj [changed mode: 0644->0755]
src/openvpn/options.c