fix a tricky GC bug in scm_c_make_subr
authorAndy Wingo <wingo@pobox.com>
Fri, 17 Apr 2009 13:18:46 +0000 (15:18 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 17 Apr 2009 13:18:56 +0000 (15:18 +0200)
commit17df23e324eec8b8541bdd283e361c19a4159fa3
tree04a97304356c17c185271a18afa01c3484d981fb
parent6d66647d5b2c6649bb4dade734f6d583d10d797c
fix a tricky GC bug in scm_c_make_subr

* libguile/procs.c (scm_c_make_subr): Fix a really tricky bug!!! If
  scm_double_cell caused GC, the symbolic name wouldn't be marked. But
  the symptom wouldn't appear until you accessed that symbol much later,
  for example during tab completion / apropos grovelling. Not sure why we
  didn't see this earlier.
libguile/procs.c