Date: Mon, 30 Mar 2009 19:32:43 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Tim Kientzle <kientzle@freebsd.org> Cc: FreeBSD Arch <arch@freebsd.org>, Marcel Moolenaar <xcllnt@mac.com> Subject: Re: On errno Message-ID: <93864.1238441563@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 30 Mar 2009 11:55:53 MST." <49D115B9.7030501@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <49D115B9.7030501@freebsd.org>, Tim Kientzle writes: >This is the right direction: Basically, add a new variable >that augments errno instead of extending the possible values of >errno. One variation, though: I would argue for another >integer variable (errno_fine?) so that translations can be >done in userland (instead of having to deal with I18N in >the kernel) but the principle is still sound. The probelm with an integer is that you cannot give details like: "partition 3 overlaps bootcode" without precreating the N^2 possible messages of that kind. I'm very sympathetic to the I18N crowd, but I just don't see a sensible solution apart from: "Live with it". Poul-Henning -- 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?93864.1238441563>