[PATCH] Avoid use of uninitialized values in guid.c

Derek Atkins warlord at MIT.EDU
Tue Feb 15 18:02:08 EST 2005


Quoting Chris Shoemaker <c.shoemaker at cox.net>:

> On Sun, Feb 13, 2005 at 06:13:33PM -0500, Derek Atkins wrote:
> > >  main (int argc, char **argv)
> > >  {
> > > -  scm_boot_guile(argc, argv, main_helper, NULL);
> > > +  /* scm_boot_guile(argc, argv, main_helper, NULL); */
> > > +  main_helper(NULL, argc, argv);
> > >    return 0;
> > 
> > Why did you remove the scheme loading here?
> 
> Oh, I remember.  It was just a simplification for debugging purposes.
> I was running with valgrind and gdb, and was just removing stuff
> unrelated to the bugs.

Ahh, ok.  Yea, guile has a lot of memory issues; it certainly is far from
valgrind-clean.  That's why we've got the gnucash suppressions set up to ignore
most stuff out of guile ;)

> -chris

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-patches mailing list