[1291] in Moira
Re: blanche
daemon@ATHENA.MIT.EDU (E. Jay Berkenbilt)
Sun Nov 14 20:19:36 1999
Date: Sun, 14 Nov 1999 20:20:21 -0500
Message-Id: <199911150120.UAA17349@soup.ql.org>
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: kcr@MIT.EDU
Cc: seph@MIT.EDU, bug-moira@MIT.EDU
In-Reply-To: <uusd7tczhy2.fsf@EMACS-MAKES-A-COMPUTER-SLOW.MIT.EDU>
(kcr@MIT.EDU)
> Nope. Blanche is an ugly kludge, and we will actively avoid looking at it
> too hard if we can get away with it.
>
> kcr
>
> Joseph Sokol-Margolis <seph@MIT.EDU> writes:
> > blanche doesn't appear to give useful error codes.
> > it gives a 0, even when it doesn't have permission, or there's no such
> > list. any plans to change this?
> >
> > seph
Sorry to butt in, but it looks to me like the code changes to
blanche.c would be trivial. Each failure calls com_err to report a
failure. Most also set success to 0. A few don't. All someone would
have to do is go through blanche.c and make sure that every call to
com_err in main that reports an error message also sets success to 0,
right? Granted, I've been away from this code for over eight years,
and I spent only about two minutes looking at this, but it could just
be that simple...
--
E. Jay Berkenbilt (ejb@ql.org) | http://www.ql.org/q/
formerly qjb@mit.edu