https://bugzilla.redhat.com/show_bug.cgi?id=1124436



--- Comment #8 from Pavel Raiskup <prais...@redhat.com> ---
Ok, I'm little bit closer to the problem, probably.  I'm not familiar with
windows, so I'm not sure.  Looking at the GetcommandLineW from comment #1
is not a way to go, I would say, because it does not preserve arguments with
spaces like './test.exe "arg a" arg_b' to be parsed later.

What we would need is to switch from 'main' to 'wmain' and use -municode.
Dunno how portable that is, probably we could use it when we are allowed to
(hidden behind some #ifdef/configure checks).  Argv from wmain may then be
passed to _wspawnv instead of _spawnv (as is done in libtool wrapper now).

Any ideas?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=SRlBpk1rIy&a=cc_unsubscribe
_______________________________________________
mingw mailing list
mingw@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to