Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 11:11:55 +0200
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        arch@FreeBSD.org
Subject:   Re: Allowing \xxx in fstab
Message-ID:  <20121006091154.GB1434@mole.fafoe.narf.at>
In-Reply-To: <2132.1349513878@critter.freebsd.dk>
References:  <20121006084936.GA1434@mole.fafoe.narf.at> <2132.1349513878@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Stefan



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