[PATCH] server: assert on failure to open /dev/null (Coverity)

Alexandre Julliard julliard at winehq.org
Fri Nov 25 05:33:08 CST 2011


Eric Pouech <eric.pouech at orange.fr> writes:

> Marcus,
>
> IMO,fatal_error() should be preferred over assert() (hoping that
> fatal_error() is actually marked as no_return)

There's no reason to have an error here, it will still work fine even if
we can't open /dev/null.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list