Re: [E-devel] E SVN: tiago IN trunk/eina/src: include lib

2010-04-10 Thread Gustavo Sverzut Barbieri
On Fri, Apr 9, 2010 at 5:56 PM, Peter Wehrfritz wrote: > Gustavo Sverzut Barbieri wrote: >> >> Please check the -Wall -Wextra errors! U must check the return of >> asprintf() variants And then you can use the optimized >> append/insert that does not need to strlen() >> > > Or you get the size

Re: [E-devel] E SVN: tiago IN trunk/eina/src: include lib

2010-04-09 Thread Peter Wehrfritz
Gustavo Sverzut Barbieri wrote: > Please check the -Wall -Wextra errors! U must check the return of > asprintf() variants And then you can use the optimized > append/insert that does not need to strlen() > Or you get the size first with snprintf(NULL, 0 ...) and than write it with snprintf

Re: [E-devel] E SVN: tiago IN trunk/eina/src: include lib

2010-04-09 Thread Gustavo Sverzut Barbieri
Please check the -Wall -Wextra errors! U must check the return of asprintf() variants And then you can use the optimized append/insert that does not need to strlen() On 4/9/10, Enlightenment SVN wrote: > Log: > Adding strbuf printfs > Author: tiago > Date: 2010-04-09 08:56:20