From owner-freebsd-arch Sun Jun 25 8:32:11 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mail.bastard.co.uk (node16292.a2000.nl [24.132.98.146]) by hub.freebsd.org (Postfix) with ESMTP id 9CB8737BAF4 for ; Sun, 25 Jun 2000 08:32:05 -0700 (PDT) (envelope-from adrian@bastard.co.uk) Received: from adrian by mail.bastard.co.uk with local (Exim 3.14 #1) id 136ENw-000CCA-00; Sun, 25 Jun 2000 17:31:48 +0200 Date: Sun, 25 Jun 2000 17:31:48 +0200 From: Adrian Chadd To: Alexander Langer Cc: arch@freebsd.org Subject: Re: gettext Message-ID: <20000625173148.N36017@zoe.bastard.co.uk> References: <20000623195641.C16231@cichlids.cichlids.com> <20000624183906.B2843@cichlids.cichlids.com> <20000624204402.A704@freebie.wbnet> <20000625123433.A3296@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000625123433.A3296@cichlids.cichlids.com>; from alex@big.endian.de on Sun, Jun 25, 2000 at 12:34:33PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jun 25, 2000, Alexander Langer wrote: > Thus spake Wilko Bulte (wkb@chello.nl): > > > difficult for Joe/Jane-average-committer. An idea like VMS uses comes to mind: > > IOERR-F-NOSUCHDEV: . The IOERR-thingy (I just > > invented this example) will be the same regardless of any i18n translated > > error text. > > that is fine :) > > But what about something like: > ENOENT: No such file or directory ... The trouble with using straight errno's is that they can mean slightly different things based upon which program/syscall made it. I'm not a VMS 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 ..) 2c, adrian -- Adrian Chadd Build a man a fire, and he's warm for the 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