Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 10:05:37 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        Craig Rodrigues <rodrigc@freebsd.org>, cvs-src@freebsd.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern vfs_mount.c
Message-ID:  <200511091005.39413.jhb@freebsd.org>
In-Reply-To: <20051109143024.GE15580@garage.freebsd.pl>
References:  <20051109140419.GD15580@garage.freebsd.pl> <28544.1131545319@critter.freebsd.dk> <20051109143024.GE15580@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 09 November 2005 09:30 am, Pawel Jakub Dawidek wrote:
> On Wed, Nov 09, 2005 at 03:08:39PM +0100, Poul-Henning Kamp wrote:
> +> In message <20051109140419.GD15580@garage.freebsd.pl>, Pawel Jakub
> Dawidek writes: +>
> +>
> +> >In current world order you can decide based on LC_ALL/LANG, etc.
> +>
> +> Read my lips:  printf(9) and panic(9) are _never_ going to respect
> +> any environment variable.
>
> Printf(9) and panic(9) are for administrator, not for user.
> Anyway, let's stop here, as we're going nowhere.

If you are going to provide l10n of these messages, you'll need to do it in 
userland somehow.  However, if you return strings that task becomes a bit 
harder.  I still prefer returning error data, not presentation, and letting 
something else (userland) take care of formatting error data and presenting 
it to the user.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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