[PATCH 2/8] Files: add wrappers for open(), fopen(), sqlite3_open()

Lubomir I. Ivanov neolit123 at gmail.com
Wed Dec 18 16:10:54 UTC 2013


On 19 December 2013 01:36, Thiago Macieira <thiago at macieira.org> wrote:
> Yup. My point is that you could do an ASCII-to-UTF16 conversion instead:
>
>         wchar_t wmode[strlen(mode) + 1];
>         for (i = 0; i < strlen(mode); ++i)
>                 wmode[i] = mode[i];
>

send an updated version of this patch that include this change and the
other suggestions.
i was confused about the char count a little but i think i got it now.

lubomir
--


More information about the subsurface mailing list