Cloginvs dollar signs

'john heasley' heas at shrubbery.net
Sat Jan 10 02:41:16 UTC 2004


Tue, Dec 30, 2003 at 11:13:26AM -0500, Gee-clough, Aaron (NIH/CIT):
> > please provide an example of your .cloginrc entry.  afaik, 
> > what you've tried should have worked.

I think that I have this one nailed.

I believe that what happens is proc find() actually returns a list.  because
one of the values, your password, contains a meta-character ($), tcl decides
that it should protect us by deferring (or is it protecting) the
eval/expansion of what would be a variable (ie: $net).

That may not be exactly correct, but...  join()'ing the value seems to fix
this; Which i've wrapped around all the find() calls which return a string
that may include a meta-character or a non-integer.  That is, "password"
and "user", but not "autoenable" or "method".

Please try ftp://ftp.shrubbery.net/outgoing/clogin.in

[ i happened across this while googling for answers...

  After a duel with TCL, I return triumphant (but seriously injured; I took a
  blow to the head that may never heal...).
	- Daniel Jacobowitz
]



More information about the Rancid-discuss mailing list