[26327] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: linux 9.3.18: add

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jan 24 22:18:58 2005

From: Greg Hudson <ghudson@mit.edu>
To: Jacob Morzinski <jmorzins@mit.edu>
In-Reply-To: <200501250258.j0P2w4qa014876@opus.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1106623097.10070.254.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0
Date: Mon, 24 Jan 2005 22:18:17 -0500
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

Yeah, unfortunately, the implementation of "add -a" makes it difficult
to correctly handle variations of add which don't attach lockers (add
/path, add -r locker, etc.).  add_main() doesn't know how to parse
attach's options to find the lockername arguments (or their absence), so
it has to call attach_main(), which then attaches the locker or displays
the locker list or whatever.  Fixing this problem will require
refactoring attach's main loop to separate option parsing from
execution.

Given that weakness, specifying add_flags in root's dotfiles has its
plusses and minuses.  I think the plusses outweigh the minuses.


home help back first fref pref prev next nref lref last post