Skip to content

Commit

Permalink
Add gsl_set_error_handler_off() to GSL bindings BOOT
Browse files Browse the repository at this point in the history
This fixes a problem where the default GSL error handler
calls abort which kills the perl interpreter.
  • Loading branch information
devel-chm committed Apr 29, 2017
1 parent 13639ef commit 61efbd6
Show file tree
Hide file tree
Showing 32 changed files with 126 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/GSL/DIFF/gsl_diff.pd
Expand Up @@ -169,5 +169,8 @@ F.params = 0;
gsl_diff_forward (&F, $x(), $P(res), $P(abserr));
');

pp_add_boot('gsl_set_error_handler_off();
');

pp_done();

5 changes: 5 additions & 0 deletions Lib/GSL/INTERP/gsl_interp.pd
Expand Up @@ -452,5 +452,10 @@ acc_DESTROY(accel)
');

pp_export_nothing;

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();

3 changes: 3 additions & 0 deletions Lib/GSL/MROOT/gsl_mroot.pd
Expand Up @@ -130,4 +130,7 @@ PDL distribution, the copyright notice should be included in the file.
EOD

pp_add_boot('gsl_set_error_handler_off();
');

pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/RNG/gsl_random.pd
Expand Up @@ -1926,4 +1926,8 @@ pp_core_importList(' qw/ zeroes long barf /'); # import just a named list to o

pp_export_nothing; # set to not export anything. (This is a OO package, it doesn't need to export any methods.)

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/airy/gsl_sf_airy.pd
Expand Up @@ -135,4 +135,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/bessel/gsl_sf_bessel.pd
Expand Up @@ -361,4 +361,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/clausen/gsl_sf_clausen.pd
Expand Up @@ -50,4 +50,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/coulomb/gsl_sf_coulomb.pd
Expand Up @@ -98,4 +98,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/coupling/gsl_sf_coupling.pd
Expand Up @@ -75,4 +75,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/dawson/gsl_sf_dawson.pd
Expand Up @@ -50,4 +50,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/debye/gsl_sf_debye.pd
Expand Up @@ -86,4 +86,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/dilog/gsl_sf_dilog.pd
Expand Up @@ -66,4 +66,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/elementary/gsl_sf_elementary.pd
Expand Up @@ -63,4 +63,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/ellint/gsl_sf_ellint.pd
Expand Up @@ -183,4 +183,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/elljac/gsl_sf_elljac.pd
Expand Up @@ -47,4 +47,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/erf/gsl_sf_erf.pd
Expand Up @@ -99,4 +99,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/exp/gsl_sf_exp.pd
Expand Up @@ -77,4 +77,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/expint/gsl_sf_expint.pd
Expand Up @@ -150,4 +150,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/fermi_dirac/gsl_sf_fermi_dirac.pd
Expand Up @@ -112,4 +112,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/gamma/gsl_sf_gamma.pd
Expand Up @@ -282,4 +282,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/gegenbauer/gsl_sf_gegenbauer.pd
Expand Up @@ -62,4 +62,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/hyperg/gsl_sf_hyperg.pd
Expand Up @@ -144,4 +144,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/laguerre/gsl_sf_laguerre.pd
Expand Up @@ -52,4 +52,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/legendre/gsl_sf_legendre.pd
Expand Up @@ -356,4 +356,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/log/gsl_sf_log.pd
Expand Up @@ -69,4 +69,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/poly/gsl_sf_poly.pd
Expand Up @@ -53,4 +53,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/pow_int/gsl_sf_pow_int.pd
Expand Up @@ -54,4 +54,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
3 changes: 3 additions & 0 deletions Lib/GSL/SF/psi/gsl_sf_psi.pd
Expand Up @@ -82,4 +82,7 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');

pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/synchrotron/gsl_sf_synchrotron.pd
Expand Up @@ -64,4 +64,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/transport/gsl_sf_transport.pd
Expand Up @@ -92,4 +92,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/trig/gsl_sf_trig.pd
Expand Up @@ -218,4 +218,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();
4 changes: 4 additions & 0 deletions Lib/GSL/SF/zeta/gsl_sf_zeta.pd
Expand Up @@ -76,4 +76,8 @@ The GSL SF modules were written by G. Jungman.
EOD

pp_add_boot('gsl_set_error_handler_off();
');


pp_done();

0 comments on commit 61efbd6

Please sign in to comment.