Commit Diff


commit - 3ebbd193dce0724e106ec9af627a3782676ae510
commit + 1f1ab4ccbbec9c92b780f6a60ff9730126659a87
blob - f4cf460cf38c2b3561923376fc3878b04d5a0558
blob + a9e62bc6e28033a7b4e970fdab1398c3637258b1
--- src/lib9/needsrcquote.c
+++ src/lib9/needsrcquote.c
@@ -4,7 +4,7 @@
 int
 needsrcquote(int c)
 {
-	if(c <= ' ')
+	if(c <= ' ' || c >= 0x80)
 		return 1;
 	if(strchr("`^#*[]=|\\?${}()'<>&;", c))
 		return 1;