Allowing \xxx in fstab
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Oct 6 12:23:24 UTC 2012
In message <20121006091154.GB1434 at 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 at 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 at 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.
More information about the freebsd-arch
mailing list