Re: g_malloc overhead

2009-01-30 Thread Xan Lopez
On Thu, Jan 29, 2009 at 5:02 PM, Xavier Bestel wrote: > On Thu, 2009-01-29 at 16:51 +0200, Tor Lillqvist wrote: >> > I think strncpy() is one of the few that needs an utf8 equivalent, >> > because a char may span several bytes. >> >> Well, he didn't say exactly what semantics he wanted his >> g_ut

Re: g_malloc overhead

2009-01-30 Thread Xan Lopez
On Thu, Jan 29, 2009 at 5:02 PM, Xavier Bestel wrote: > On Thu, 2009-01-29 at 16:51 +0200, Tor Lillqvist wrote: >> > I think strncpy() is one of the few that needs an utf8 equivalent, >> > because a char may span several bytes. >> >> Well, he didn't say exactly what semantics he wanted his >> g_ut