From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Charles Forsyth Date: Mon, 28 Apr 2008 11:50:14 +0100 In-Reply-To: <68ac7f3d0804280338l4a636c4bn5b6b2ed0feea2b37@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] ftpfs ahould not expose "." and ".." directories Topicbox-Message-UUID: 9a309f5a-ead3-11e9-9d60-3106f5b1d025 just for completeness, in plan 9 code it also would be if(strcmp(".", field[8]) == 0 ...) etc. not `!strcmp', and indeed it is that way elsewhere in ip/ftpfs.c similarly, it is usually if(p != nil) ... not if(!p) there are other guidelines in style(6)