Another one from last night: fix for dlls/kernel/tests/time.c on Windows 98

Alexandre Julliard julliard at winehq.org
Tue Mar 22 11:57:53 CST 2005


Jakob Eriksson <jakov at vmlinux.org> writes:

> +    /* Windows 98 is a bit broken around these parts, it doesn't return FALSE as it should. */
> +    /* If the resulting time is about 10000 AD, I consider the result invalid. */
> +    ret = DosDateTimeToFileTime(0,0,&ft);
> +    years = ((unsigned)ft.dwHighDateTime * 120) / 24 / 365;

That formula doesn't seem right to me. Could you please explain what
you are doing here?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list