From: Paul Khuong Date: Thu, 14 Nov 2013 19:22:47 +0000 (-0500) Subject: Tail call (exec) at the end of run-sbcl.sh X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=6574cbfa9d13afc3b4d55cc2fa5777b34c69444a;p=sbcl.git Tail call (exec) at the end of run-sbcl.sh exec-ing into the runtime executable doesn't hurt and helps rlwrap. Suggested by William Cushing (lp#1249183). --- diff --git a/NEWS b/NEWS index 1c5d073..ff74987 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,8 @@ changes relative to sbcl-1.1.13: undefined-function warnings in subsequent forms. (lp#503095) * enhancement: Errors during loading foreign libraries on Windows now include error messages instead of error codes. + * enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William + Cushing. (lp#1249183) * bug fix: EQUALP now compares correctly structures with raw slots larger than a single word. * bug fix: contribs couldn't be built on Windows with MinGW. diff --git a/run-sbcl.sh b/run-sbcl.sh index 3788bd9..da5775b 100755 --- a/run-sbcl.sh +++ b/run-sbcl.sh @@ -55,7 +55,7 @@ fi if [ -x "$BASE"/src/runtime/sbcl -a -f "$BASE"/output/sbcl.core ]; then echo "(running SBCL from: $BASE)" 1>&2 - SBCL_HOME="$BASE/obj/sbcl-home" "$BASE"/src/runtime/sbcl $ARGUMENTS "$@" + SBCL_HOME="$BASE/obj/sbcl-home" exec "$BASE"/src/runtime/sbcl $ARGUMENTS "$@" else echo "No built SBCL here ($BASE): run 'sh make.sh' first!" exit 1