A debian bug report notes for 1.6, (string->number "[EMAIL PROTECTED]") => seg fault
Looks like the polar parsing code doesn't cope with #f coming back for the angle part. Does this change sound right? It seems to do the trick. * numbers.c (scm_istr2flo): Use SCM_INEXACTP not SCM_SLOPPY_INEXACTP, since value can be #f.
--- numbers.c.~1.135.2.19.~ 2004-12-09 09:39:46.000000000 +1100 +++ numbers.c 2005-02-17 11:26:33.812403880 +1100 @@ -2691,7 +2691,7 @@ { /* polar input for complex number */ /* get a `real' for scm_angle */ second = scm_istr2flo (&str[i], (long) (len - i), radix); - if (!SCM_SLOPPY_INEXACTP (second)) + if (!SCM_INEXACTP (second)) return SCM_BOOL_F; /* not `real' */ if (SCM_SLOPPY_COMPLEXP (second)) return SCM_BOOL_F; /* not `real' */
_______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel