[PATCH] msvcrt: Fix fscanf return when EOF is immediately after an end of line.

Erich E. Hoover erich.e.hoover at gmail.com
Tue Oct 22 10:01:40 CDT 2019


On Mon, Oct 21, 2019 at 11:51 AM Piotr Caban <piotr.caban at gmail.com> wrote:
> ...
> The patch looks mostly good now but it causes compilation warnings. The
> prototype of swscanf function is incorrect:
> +static int (__cdecl *p_swscanf)(const char *str, const wchar_t* format,
> ...);
> Also result variable is not used.

Whoops, sorry about that. I thought I had "-Werror" turned on to catch
such things and didn't realize that it now needs to be added to
CROSSCFLAGS as well.

Best,
Erich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Fix-fscanf-return-when-an-empty-string-preced.patch
Type: text/x-patch
Size: 5565 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191022/71f6144c/attachment.bin>


More information about the wine-devel mailing list