summaryrefslogtreecommitdiff
path: root/module/scripts/compile.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-22 11:40:27 +0100
committerAndy Wingo <wingo@pobox.com>2018-08-07 11:34:35 +0200
commitc5e1d6eaf4a1fa5cc6dfe18e3067f927061aeb6b (patch)
tree9bc62e85d25e0f697228a30aefdecf384c1b9216 /module/scripts/compile.scm
parenta4c4deb5b0cf1633e748eed3e722e3ee74e89242 (diff)
downloadguile-c5e1d6eaf4a1fa5cc6dfe18e3067f927061aeb6b.tar.gz
'load-thunk-from-memory' reports the correct error.
Previously 'load-thunk-from-memory' would often throw to 'system-error' when passed an incorrect ELF file, leading to incorrect error messages. * libguile/loader.c (load_thunk_from_memory): Reset 'errno' when 'check_elf_header' returns non-NULL. * test-suite/tests/vm.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add it.
Diffstat (limited to 'module/scripts/compile.scm')
0 files changed, 0 insertions, 0 deletions