Use standard macro for stderr file descriptor instead of hardcoded 2

Frédéric Delanoy frederic.delanoy at gmail.com
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.

Frédéric

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: useStandardMacroForStderr.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090619/00d673db/attachment.txt>


More information about the wine-patches mailing list