Hello,
; diff -c /n/sources/plan9/sys/src/libc/port/needsrcquote.c
needsrcquote.c
/n/sources/plan9/sys/src/libc/port/needsrcquote.c:6,12 -
needsrcquote.c:6,12
{
if(c <= ' ')
return 1;
- if(strchr("`^#*[]=|\\?${}()'<>&;", c))
+ if(c < 0x80 && strchr("`^#*[]=|\\?${}()'<>&;", c))
return 1;
return 0;
}
- erik
Thanks eric. That works.
I think kanji space (0x3000) should be quoted. Therefore
- if(c <= ' ')
+ if(c <= ' ' || c == 0x3000)
is desirable
I hope official needsrcquote.c is to be changed along the patch by
eric and me.
Kenji Arisawa