From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Tue, 16 Jun 2009 08:00:44 -0400 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] simple question: multiple rename Topicbox-Message-UUID: 0b90ce3a-ead5-11e9-9d60-3106f5b1d025 > note that this won't work if the filenames contain white space. > > (i still regret the fact that white space became allowable in file names) using ws in filenames is a fossil-only problem; kfs, cwfs and ken's fs won't allow it. fortunately, fossil is easy to fix /n/dump/2009/0616/sys/src/cmd/fossil/9p.c:102,108 - 9p.c:102,108 } for(p = name; *p != '\0'; p++){ - if((*p & 0xFF) < 040){ + if((*p & 0xFF) <= 040){ vtSetError("bad character in file name"); return 0; } - erik