[171] in bug-owl

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

zpunt class * * crashes some regex implementations

daemon@ATHENA.MIT.EDU (Chris Shabsin)
Wed May 7 17:59:48 2003

Date: Wed, 7 May 2003 17:59:44 -0400 (EDT)
From: Chris Shabsin <shabby@MIT.EDU>
To: <bug-owl@MIT.EDU>
cc: <taralee@alum.MIT.EDU>
Message-ID: <Pine.GSO.4.30L.0305071753590.15582-100000@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Currently, the only way to have a .anyone file but not get login notices
is to execute:

owl::command('zpunt login .* *');

Note that if one does the intuitive thing of "zpunt login * *" it crashes
some regex implementations that choke on the regex "^*$"
(understandably).  Or maybe it is returning an error code that is being
ignored?  I'm not sure, I didn't look into it in *that* much detail...
Anyway, I recommend special-casing "*" as an instance in the same way "*"
is special-cased in owl_function_zpunt...

Another nice thing might be a way to keep from doing the znol thing.  And
while you're at it, it'd be nice to have a way to refresh the znol
subscriptions after a network outage or other incident causes those subs
to be lost.  "load-subs" can recover from that for the normal subs, but
not for login notifications.

-Chris Shabsin                   -crs@mit.edu
-Software Engineer, Ciber, Inc.

echo Prpv a\'rfg cnf har cvcr | tr Pacfghnrvp Cnpstuaeic


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