gspawn-win32: do not rely on __argc and __argv global vars.
authorIgnacio Casal Quinteiro <icq@gnome.org>
Mon, 14 Jul 2014 06:54:45 +0000 (08:54 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Jul 2014 12:43:17 +0000 (08:43 -0400)
commit24d614357a1ab42af8a55db189a8ac05f67c013d
treeca70156bf9f558e7bc916dd269ec35673026a34b
parentd67813045dfd6336a6e109c4818990c3fb117ade
gspawn-win32: do not rely on __argc and __argv global vars.

Since we are getting passed Unicode values these global vars
might not have the correct value. Instead always get the wide arguments
and convert them to utf8 to use them.

https://bugzilla.gnome.org/show_bug.cgi?id=733146
glib/gspawn-win32-helper.c