Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Oct 2012 12:23:26 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Stefan Farfeleder <stefanf@FreeBSD.org>
Cc:        arch@FreeBSD.org
Subject:   Re: Allowing \xxx in fstab
Message-ID:  <3020.1349526206@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 06 Oct 2012 11:11:55 %2B0200." <20121006091154.GB1434@mole.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20121006091154.GB1434@mole.fafoe.narf.at>, Stefan Farfeleder writes
:
>On Sat, Oct 06, 2012 at 08:57:58AM +0000, Poul-Henning Kamp wrote:
>> In message <20121006084936.GA1434@mole.fafoe.narf.at>, Stefan Farfeleder writes
>> :
>> 
>> >+static void
>> >+unescapeoctal(char *s)
>> 
>> 
>> Use unvis(3) ?
>
>The unvis functions unfortunately cannot be told be decode only octal
>escapes. But if everyone agrees that strings like "\^C" or "\$" will
>never occur in device names, I'm happy to use them.

Or improve unvis ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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