Re: Bug in g_message() with long lines ?

At 22:24 27.04.00 -0400, Owen Taylor wrote:
>Tim Janik <> writes:
>> ...
>> i second that, except for g_print() which is in fact a printf()
>> it doesn't go through g_logv() and can handle very long strings just fine.
>Well, if you don't want to redirect the output of g_print(), there
>is no reason to use it. It is slower than printf(), and one
>more char to type.
Not quite true. At least on Win32 g_print will open a console window,
even if the program is compiled as Gui Application.

printf will simply fail in this case (may crash the application).
So if you care about possible porters ...

Have Fun,
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to 
get along without it.                -- Dilbert

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]