GLib RFC: Improve checking provided with --enable-mem-check

Phillip Shelton shelton@usq.edu.au
Thu, 7 Jun 2001 09:29:52 +1000


I don't mind what gets raised on this list.  In fact I enjoy reading the
traffic.

I just have not had a huge lot of expreince in coding for a Linux
environment so was not sure of what all the names meant.

> -----Original Message-----
> From: Robert Graham Merkel [mailto:rgmerk@mira.net]
> Sent: Wednesday, June 06, 2001 5:25 PM
> To: shelton@usq.edu.au
> Cc: gnucash-devel@gnucash.org
> Subject: RE: GLib RFC: Improve checking provided with
> --enable-mem-check
>
>
>
> On Wed, 06 Jun 2001 16:45:08 Phillip Shelton wrote:
> > I am lost.  How does glib compare with glibc?
> >
>
> glib and glibc are two seperate libraries.  Glib was
> originally written as part of the gtk+ toolkit, and
> provides a whole collection of useful routines, such as
> basic data structures like lists, trees, and hash tables, and
> some of which provide similar functionality to the C library (but
> with a much nicer API), such as gmalloc.  GnuCash, like most gnome
> applications, uses glib wherever possible, as it is a well-designed
> library that saves a heck of a lot of time testing and debugging.
>
> Amongst glib's tricks is a mode where it helps to detect common
> memory allocation errors (when those memory allocation errors
> are made using glib's memory allocation functions such as gmalloc).
> However, this functionality is not as complete as it could be, and
> Ben is proposing an enhancement to it which would allow more
> errors to be detected (and thus fixed faster :-) )
>
> This is really not an issue that directly affects gnucash,
> Ben just raised it here because the spur for his proposal came
> out of debugging gnucash, I guess.
>
>
> --
> ------------------------------------------------------------
> Robert Merkel	                           rgmerk@mira.net
>
> Go You Big Red Fire Engine
> -- Unknown Audience Member at Adam Hills standup gig
> ------------------------------------------------------------
>