From 0a00e82ca1bc0b4ece1df9892628b2c55f5b4b52 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Tue, 6 Feb 2018 14:05:49 -0500 Subject: [PATCH] Copy source location to generate runtime paths. Fix found by @lexi-lambda. Bug reported by dbenoit@fedoraproject.org. --- racket/collects/racket/runtime-path.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/racket/collects/racket/runtime-path.rkt b/racket/collects/racket/runtime-path.rkt index 43d370271a..2e2d7dda94 100644 --- a/racket/collects/racket/runtime-path.rkt +++ b/racket/collects/racket/runtime-path.rkt @@ -186,7 +186,8 @@ (path-of #,(datum->syntax #'orig-stx - `(,#'this-expression-source-file)))) + `(,#'this-expression-source-file) + #'orig-stx))) #'void)]) (apply to-values (resolve-paths (#%variable-reference) get-dir