RE: glib's g_logv 1024 byte maximum character array



> > Should I be limiting all my arguments to 1024 bytes? or 
> should this be an
> > improvement in Glib?
> 
> Both, I guess. We should probably document the limitation to 
> 1k bytes in the
> api docs 
> and improve the code to cut the message off at the last 
> character boundary
> before the 
> 1k limit.
> 
> Would you mind filing one or two bugs about this ?

Done. :)

see (documentation) bug #118043 here:
http://bugzilla.gnome.org/show_bug.cgi?id=118043

see (code) bug #118044 here:
http://bugzilla.gnome.org/show_bug.cgi?id=118044


Any suggestions as to the best way to adapt my application which widely uses
g_log functions ?


Regards,
Martyn



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