Date: Tue, 16 Dec 2008 14:10:46 -0600 From: "Rick C. Petty" <rick-freebsd2008@kiwi-computer.com> To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no> Cc: freebsd-fs@freebsd.org Subject: Re: UFS label limitations Message-ID: <20081216201046.GA34809@keira.kiwi-computer.com> In-Reply-To: <8663lk5ju7.fsf@ds4.des.no> References: <20081213173902.GA96883@keira.kiwi-computer.com> <20081213183058.GA20992@a91-153-125-115.elisa-laajakaista.fi> <20081213192320.GA97766@keira.kiwi-computer.com> <86y6yh5pz0.fsf@ds4.des.no> <20081215234809.GA24403@keira.kiwi-computer.com> <8663lk5ju7.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 16, 2008 at 02:29:52PM +0100, Dag-Erling Smørgrav wrote: > "Rick C. Petty" <rick-freebsd2008@kiwi-computer.com> writes: > > Dag-Erling Smørgrav <des@des.no> writes: > > > Stick to the POSIX portable file name character set: [A-Za-z0-9._-] > > Good idea. It gives me the separators I need. Would a committer be > > willing to review and commit the attached (inline) patch? > > Take a look at strspn(3). You think it's better to use strspn than a couple range checks? I would have thought the character lookup with strspn would be slower and more ghastly to look at. -- Rick C. Petty
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081216201046.GA34809>