On Sun, 28 Feb 2010 12:07 -0300, Gustavo Sverzut Barbieri wrote :
> On Sun, Feb 28, 2010 at 11:44 AM, Rui Miguel Silva Seabra <r...@1407.org> 
> wrote:
> > Em 28-02-2010 14:37, Vaudano Luca escreveu:
> >> Just out of curiosity, why is glib not advised?
> >
> > You're taking it the wrong way. The advice was to use the functionality
> > that is in EFL instead of picking up the same functionality from
> > external libraries.
> 
> Actually some things are not even EFL, but simple POSIX calls like
> strdup() instead of g_strdup(), asprintf() instead of
> g_strdup_printf()
> 
> This not being against fair glib usage, but those are abuses that
> don't need to exist and Rui kindly fixed those.

I wouldn't consider using g_strdup_printf vs. asprintf an abuse. asprint is a
GNU-specific extension, and is not guaranteed to be available. g_strdup_printf,
OTOH, is part on the glib API, which guarantees that it's available on a fair -
and defined - set of plartforms.
That being said, please note that I'm not arguing against the change.

Regards,
-- 
Albin Tonnerre

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to