From f14dc67892c81b50db254a0ffcf2f5905a15ebb4 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sat, 8 Dec 2018 12:21:06 -0700 Subject: [PATCH] ffi/build: Mixing strings and pathnames is problematic. In this case rewrite-compressed-file expected a string. It probably should expect a pathname, but it is just going to get weird with it. --- src/ffi/build.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffi/build.scm b/src/ffi/build.scm index 5e66da772..97a2abfec 100644 --- a/src/ffi/build.scm +++ b/src/ffi/build.scm @@ -91,7 +91,7 @@ USA. '()))) (define (update-plugins-file operation name dir) - (let ((filename (merge-pathnames "plugins.scm" dir))) + (let ((filename (string dir"plugins.scm"))) (if (file-exists? filename) (rewrite-file filename (lambda (in out) -- 2.25.1