[PATCH 1/2] Provide a method to use unicode command line arguments on Windows

Lubomir I. Ivanov neolit123 at gmail.com
Wed Oct 3 15:34:28 PDT 2012


yet another fix...please use this version instead.
subsurface_command_line_init() now has a better check if the unicode
command line conversation actually fails.

when a command line argument is faulted we write an empty string
literal ("\0") in its place and report the error.
this way none of the argv elements will be NULL.

a blank filename will be reported as normal "file error" instead of a
possible crash when passing NULL argument to some functions.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Provide-a-method-to-use-unicode-command-line-argumen.patch
Type: application/octet-stream
Size: 4588 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20121004/54670ed0/attachment-0001.obj>


More information about the subsurface mailing list