Date: Mon, 26 Jun 2000 12:08:25 +0200 From: Adrian Chadd <adrian@freebsd.org> To: Alexander Langer <alex@big.endian.de> Cc: arch@freebsd.org Subject: Re: gettext Message-ID: <20000626120825.T36017@zoe.bastard.co.uk> In-Reply-To: <20000626102125.B3549@cichlids.cichlids.com>; from alex@big.endian.de on Mon, Jun 26, 2000 at 10:21:25AM %2B0200 References: <20000623195641.C16231@cichlids.cichlids.com> <Pine.BSF.4.10.10006240642580.7974-100000@lion.butya.kz> <20000624183906.B2843@cichlids.cichlids.com> <20000624204402.A704@freebie.wbnet> <20000625123433.A3296@cichlids.cichlids.com> <20000625173148.N36017@zoe.bastard.co.uk> <20000626102125.B3549@cichlids.cichlids.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 26, 2000, Alexander Langer wrote: > Thus spake Adrian Chadd (adrian@FreeBSD.ORG): > > > person, but the way VMS (and Cisco, and I am a cisco person) reports > > errors makes it very easy to take a flat text syslog output, and parse > > the error lines ..) > > Most error-outputs use strerror(3). > > So maybe add these to strerror(3)? Yes, but you can't guarantee that ENOENT is the same between two given applications. And then, applications can use perror() or errx() or the like to return their own errors, which you'd have to make multi-lingual, and it becomes a nightmare. You could modify strerror() to give multi-lingual errno error strings, but as to each application, who knows .. Adrian -- Adrian Chadd Build a man a fire, and he's warm for the <adrian@FreeBSD.org> rest of the evening. Set a man on fire and he's warm for the rest of his life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000626120825.T36017>