About stderr for usage messages

Robert Shearman rob at codeweavers.com
Mon Nov 14 12:56:34 CST 2005


Vitaly Lipatov wrote:

>We are use stderr for print usage or info message in wine programs such as
>eject
>winedump
>winebuild
>wine main (dlls/kernel/process.c)
>
>It is broken behavior: info messages usually expected from stdout stream.
>Will I do patch agaist it?
>  
>

Info messages are better using stderr, as you typically don't want to 
output it to a file. If you get it by accident then you will want to see 
it as it typically means you made a typo somewhere in the command you 
are trying to run.

-- 
Rob Shearman




More information about the wine-devel mailing list