9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@9fans.net
Subject: Re: [9fans] ftpfs ahould not expose "." and ".." directories
Date: Mon, 28 Apr 2008 11:50:14 +0100	[thread overview]
Message-ID: <bd5d3deec14412a4b6ace166952013bc@terzarima.net> (raw)
In-Reply-To: <68ac7f3d0804280338l4a636c4bn5b6b2ed0feea2b37@mail.gmail.com>

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)



  reply	other threads:[~2008-04-28 10:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28  8:48 eekee57
2008-04-28 10:19 ` Pietro Gagliardi
2008-04-28 10:38   ` Juan Céspedes
2008-04-28 10:50     ` Charles Forsyth [this message]
2008-04-28 13:54       ` Charles Forsyth
2008-04-28 14:12         ` erik quanstrom
2008-04-29  8:32         ` eekee57
2008-04-29 10:16           ` roger peppe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bd5d3deec14412a4b6ace166952013bc@terzarima.net \
    --to=forsyth@terzarima.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).