mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Increase the size of the Guile stack to avoid stack overflow errors.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18511 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
734c5e2f2c
commit
1866ebeaed
@ -499,7 +499,7 @@ for f in ${srcdir}/lib/srfi/srfi-*.scm
|
||||
do
|
||||
srfi=`echo $f | sed 's%.*/%%' | sed 's/.scm//'`
|
||||
AC_MSG_CHECKING(if guile needs our copy of ${srfi})
|
||||
if ${GUILE} -c "(use-modules (srfi ${srfi}))" > /dev/null 2>&1
|
||||
if ${GUILE} -c "(debug-set! stack 200000) (use-modules (srfi ${srfi}))" > /dev/null 2>&1
|
||||
then
|
||||
AC_MSG_RESULT(no)
|
||||
else
|
||||
|
@ -440,6 +440,8 @@ inner_main (void *closure, int argc, char **argv)
|
||||
char* fn;
|
||||
GError *error = NULL;
|
||||
|
||||
scm_c_eval_string("(debug-set! stack 200000)");
|
||||
|
||||
main_mod = scm_c_resolve_module("gnucash main");
|
||||
scm_set_current_module(main_mod);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user