Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 11:55:46 -0800 (PST)
From:      chuck rouillard <chuckr@opus.sandiegoca.ncr.com>
To:        FreeBSD-Standards <freebsd-standards@freebsd.org>
Subject:   pathchk
Message-ID:  <20020129114708.A92418-101000@opus.sandiegoca.ncr.com>
In-Reply-To: <20020129215901.A3335@descent.robbins.dropbear.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1569156913-1012334146=:92418
Content-Type: TEXT/PLAIN; charset=US-ASCII


My implementation of pathchk for review. Note that
it handles the illegal filesystem access of /proc,
the case where `/'^n is specified, and others.

thanks,

.cr

--0-1569156913-1012334146=:92418
Content-Type: APPLICATION/octet-stream; name="pathchk.tar.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <20020129115546.N92418@opus.sandiegoca.ncr.com>
Content-Description: 
Content-Disposition: attachment; filename="pathchk.tar.gz"

H4sICMDKUzwAA3BhdGhjaGsudGFyAO0aa1PbSDJf7V/Ry9UtNpEFdkhymxzZ
EkYE7Rqbtewk7KMSWRpjXWTJqweEvc1/v+6ekSwbyKMg+7jSVBFLMz09/X6M
snDSmTt7u33svBVTPxD3vsBo7+w82t2FewDtxw/b5V81dh8BPN7t7D7efdh5
uIvLD9qPdu7BzpcgZn1kSerEAPfcWea+jW+G+9j633ScDAfP92oLaQX1uu6H
bpB5Av49STx9EUdn+vzts/qfTWU1vtRQmt9Wv3r7C5zxEf9/9PBRZ+n/ncfk
/53HDyv//yOG/vMGdKPFZeyfzVJouE3o7Oy0Nfq3A13iGYZR5geBE3t1AjaC
ABg4gVgkIj4Xnk4LvDgUnp+ksT/JUj8KwQk9yBIBfghJlMWu4JmJHzrxJUyj
eJ5ocOGnM4hi/o2ylNHMI8+f+q5DSDRwYgELEc/9NBUeYEw69z18SGdOiv8I
RBQE0YUfnoEbhZ5Pm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Iecsb6FZUWJJUdx
E7LkmpC1WoSJJfI7IpAyZMnev19ogpZZGX/2h69qVKMa1ahGNapRjWpUoxrV
qEY1qlGNalSjGtWoRjWqUY1qVKMa1ahGNf6Pxv8A/CGGHABQAAA=
--0-1569156913-1012334146=:92418--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020129114708.A92418-101000>