From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <9D17C8E2-2DE4-4E34-A95B-59A6232B132D@ar.aichi-u.ac.jp> <37F6EFDF-3C9E-48F9-A03F-6ED617BA6166@ar.aichi-u.ac.jp> <7359f0490508310217c214f1f@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: arisawa@ar.aichi-u.ac.jp Subject: Re: [9fans] tcs bug Date: Wed, 31 Aug 2005 20:22:49 +0900 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 81e214c2-ead0-11e9-9d60-3106f5b1d025 > for(s = e - 2; s < e; s++){ > if((*s & 0xc0) == 0x80) > continue; > if((*s & 0xc0) == 0xc0) > break; > } > this is redundant replace by for(s = e - 2; s < e; s++) if((*s & 0xc0) == 0xc0) break; Kenji Arisawa