~ chicken-core (master) 0d8d651b02b0ee4647c7c6d19e28bd40527b8644


commit 0d8d651b02b0ee4647c7c6d19e28bd40527b8644
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Sat Feb 7 22:36:50 2026 +0100
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Sat Feb 7 22:36:50 2026 +0100

    fix wrong output destination

diff --git a/Makefile.bsd b/Makefile.bsd
index 43b29b28..c3008373 100644
--- a/Makefile.bsd
+++ b/Makefile.bsd
@@ -102,9 +102,9 @@ ifdef GCHOOKS
 	echo "#define C_GC_HOOKS" >>$@.tmp
 endif
 # Feature macros are unsupported on FreeBSD and DragonFly
-	echo "#if !defined(__FreeBSD__) && !defined(__DragonFly__)" >> $@
-	echo "# define C_USE_STD_FEATURE_MACROS" >> $@
-	echo "#endif" >> $@
+	echo "#if !defined(__FreeBSD__) && !defined(__DragonFly__)" >> $@.tmp
+	echo "# define C_USE_STD_FEATURE_MACROS" >> $@.tmp
+	echo "#endif" >> $@.tmp
 	cat $@.tmp chicken-defaults.h >$@.tmp2
 	rm $@.tmp
 	mv $@.tmp2 $@
Trap