On Sunday 04 December 2005 08:08 pm, Bruce Korb wrote:

> Anyway,  *real bugs* in Guile 1.7.2 are:
> 
> 1.  When an error is thrown, "exit" should be called with EXIT_FAILURE, not 0.

The problem here is that the doc for "gh_enter()" (and successors?) says
that it does not return.  It does.  The error handling long jumps around
my inner main and returns back to real main.  Oops.

 -- Function: void gh_enter (int ARGC, char *ARGV[], void
          (*MAIN_PROG)(int, char**))
     Starts up a Scheme interpreter with all the builtin Scheme
     primitives.  `gh_enter()' never exits, and the user's code should
     all be in the `MAIN_PROG()' function.  `argc' and `argv' will be
     passed to MAIN_PROG.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to