diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-11-27 19:08:13 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-11-27 19:08:13 +0100 |
commit | ae5697bb352f9aed8522661de37c153828ed6906 (patch) | |
tree | a734345d9f40373f30438c905359ddf563b985ff /debian/patches/bootshell0006-bootshell-improve-error-message.patch | |
parent | 5ef2ca66bc3a305bd6fc96ca14579415a4b50b25 (diff) |
add patch series
Diffstat (limited to 'debian/patches/bootshell0006-bootshell-improve-error-message.patch')
-rw-r--r-- | debian/patches/bootshell0006-bootshell-improve-error-message.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/bootshell0006-bootshell-improve-error-message.patch b/debian/patches/bootshell0006-bootshell-improve-error-message.patch new file mode 100644 index 00000000..98a0d8eb --- /dev/null +++ b/debian/patches/bootshell0006-bootshell-improve-error-message.patch @@ -0,0 +1,27 @@ +From d8793766206ced492427a9d12abe379fbaad264e Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Tue, 13 Jan 2015 17:16:46 +0100 +Subject: [PATCH hurd 06/11] bootshell: improve error message + +* bootshell/scheme.c (opexe_0): Mention the expression in the error +message. +--- + bootshell/scheme.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bootshell/scheme.c b/bootshell/scheme.c +index bdeb004..0fe2721 100644 +--- a/bootshell/scheme.c ++++ b/bootshell/scheme.c +@@ -2691,7 +2691,7 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) { + sc->dump = cont_dump(sc->code); + s_return(sc,sc->args != sc->NIL ? car(sc->args) : sc->NIL); + } else { +- Error_0(sc,"illegal function"); ++ Error_1(sc,"illegal function:", sc->code); + } + + case OP_DOMACRO: /* do macro */ +-- +2.1.4 + |