Use standard macro for stderr file descriptor instead of hardcoded 2

Frédéric Delanoy frederic.delanoy at
Thu Jun 18 18:57:48 CDT 2009

In several places, calls to write(int fd, const void *buf, size_t count) use hardcoded values "2" for outputting on standard error stream.
This patches replaces those by the standard STDERR_FILENO unistd.h macro.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: useStandardMacroForStderr.txt
URL: <>

More information about the wine-patches mailing list