0001-msvcrt-Adding-I10_OUTPUT-missing-parameters-to-ensur

Alexandre Julliard julliard at winehq.org
Mon Nov 16 09:50:37 CST 2020


"dead.ash at hotmail.com" <dead.ash at hotmail.com> writes:

> From 612c899bf2dc846e78bc72e89f5e954fd5b2ed4f Mon Sep 17 00:00:00 2001
> From: Changping Yu <dead.ash at hotmail.com>
> Date: Wed, 11 Nov 2020 17:02:52 +0800
> Subject: [PATCH] msvcrt: Adding I10_OUTPUT missing parameters to ensure they
>  are correct.
>
> The first argument of the I10_OUTPUT function is of type MSVCRT__LDOUBLE, 
> which is equal to a double plus a long, so you need to add a long here. 
> similarly, the other msvcr modules have already added.

It doesn't make any difference because relay is disabled, but note that
both are actually wrong, the argument is not a double but it's not a
double+long either. It's an 80-bit structure, and there's currently no
way to express that in spec files. I doubt it's worth adding a new type
just for this one function.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list