Re: [gtk-list] Re: Need help

On Mon, Jan 04, 1999 at 06:23:07PM +0100, Johan Levin wrote:
> A more generic way is to use, snprintf. Since the 'g_'-functions are
> glib-specific. (And I don't see why glib is better...)

1) it will work even on systems that don't provide g_snprintf
2) it will work on systems with broken snprintf (I'm not sure about this,
   but the g_snprintf definately returns the correct thing when using the
   internal function, dunno if it autoconf checks for a broken snprintf
   though ...)
3) why not ... using glib functions will provide a much more portable
   application, not to mention that glib makes so many things so much nicer
   ... if you use just a few functions and check that they were in glib 1.0
   you can be compatible with any glib out there ... 
4) glib is small ... any size concerns are not an issue ... (plus if you
   use a sane OS it's even less of an issue)
5) glib is or very soon will be distributed in just about any linux/xxBSD
   distro ... not to mention there are quite a lot of apps that use it
6) glib is what libc is missing ... don't leave home without it


George Lebl <>
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1

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