From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <939ccc98024339cb7c2c78e50894d9ec@quanstro.net> References: <939ccc98024339cb7c2c78e50894d9ec@quanstro.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <92D74425-59CB-473D-90A9-CF49BCAC892D@ar.aichi-u.ac.jp> Content-Transfer-Encoding: 7bit From: arisawa@ar.aichi-u.ac.jp Subject: Re: [9fans] quote file name Date: Fri, 28 Jul 2006 21:41:37 +0900 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 91cd0e40-ead1-11e9-9d60-3106f5b1d025 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