git: 9front

Download patch

ref: f67e66ebd0e98f0ff7487b56375d048af133cf09
parent: 1795063d6eb787bace26fce4ccda0a8390e9af61
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Sep 13 19:22:54 EDT 2025

mothra: quote filename correctly when passing strings to rc

without quotefmtinstall, we do not quote all rc
characters.

--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -303,6 +303,7 @@
 	int i;
 
 	quotefmtinstall();
+	doquote = needsrcquote;
 	fmtinstall('U', Ufmt);
 
 	ARGBEGIN{
--