Re: Couple of items

On Wed, Mar 27, 2002 at 07:20:16PM -0500, Owen Taylor wrote:

[ fix g_print, etc ]

> Doesn't look like I'm going to get 2.0.1 out tonight anyways, so I'll work
> on other parts of it, and wait for your response in the.

Please fix this for 2.0.1... we use these functions for --help and
--version and I've already had a bug report about it (and the code hasn't
even been released yet!).

Besides, fixing it has the advantage that anyone who is using it for
binary data will get a nice warning so they can fix it. I can't see how
these functions were ever useful for that:

g_print(data)		will choke on %s, etc
g_print("%s", data)	is stupidly inefficient

Besides, they both stop on '\0', so they're no use for binary data anyway!

Thomas Leonard
tal00r ecs soton ac uk		tal197 users sourceforge net

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