🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #74089

Re: GNU should adopt com_err

#74089
From: Dan Bernstein
Date: Mon, 24 Jun 1991 07:15
19 lines
1462 bytes
In article <1991Jun23.023336.5921@uvm.edu> wollman@emily.uvm.edu (Garrett Wollman) writes:
> I would like to suggest that the GNU Project adopt the MIT Common
> Error Description Library as its error-management system.

This is a bad idea. While com_err is certainly better than a completely
ad-hoc system, it simply cannot be adapted to certain tasks. Error
messages from the various libaries in my kstuff package, for instance,
are multi-level: if getavenrun() fails because kmemcpy() failed because
kmeminit() couldn't open /dev/kmem, strerr(avenrunstrerr) will return
this string:

  "cannot read avenrun: cannot open /dev/kmem: Permission denied"

My strerr library handles this. Of course, com_err addresses some issues
that strerr doesn't. The point is that it would be a mistake for GNU to
standardize on one error-handling library or another, as the technology
is still under development.

---Dan
Technical Details
Message-ID: <15959.Jun2407.15.3691@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <1991Jun23.023336.5921@uvm.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,33f2a176a0f109a5
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-06-24 02:46:34 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: gnu.misc.discuss
Subject: Re: GNU should adopt com_err
Message-ID: <15959.Jun2407.15.3691@kramden.acf.nyu.edu>
Date: 24 Jun 91 07:15:36 GMT
References: <1991Jun23.023336.5921@uvm.edu>
Organization: IR
Lines: 19