[1/2] msvcrt: Add tmpfile_s implementation (resend)

Alexandre Julliard julliard at winehq.org
Tue Mar 13 04:34:42 CDT 2012


André Hentschel <nerv at dawncrow.de> writes:

> +int CDECL MSVCRT_tmpfile_s(MSVCRT_FILE** file)
> +{
> +    if (!file) {
> +        *MSVCRT__errno() = MSVCRT_EINVAL;
> +        return MSVCRT_EINVAL;
> +    }

That's not the right way to check parameters in _s functions.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list