I discovered that the jlogin script in Rancid doesn't work anymore with expect-devel In fact, glob pattern matching doesn't work with character range ([a-z]) Expect just times out without identifying any character. I submitted the bug to the expect developper (ref: 1873404 ,expect bug tracker ,http://sourceforge.net/projects/expect ) It is not Freebsd specific. It is just as a follow up to http://www.freebsd.org/cgi/query-pr.cgi?pr=118452 which suggests expect-devel as a solution to a pty problem with Rancid. It is not a viable solution : expect-devel breaks other things in Rancid How-To-Repeat: This simple expect script triggers the problem : exp_internal 1 spawn sh -c "echo a && cat" expect {[a]} {puts ok} -> expect: does "a\r\n" (spawn_id exp6) match glob pattern "[a]"? no expect: timed out I activated EXP_INTERNAL_TRACE_GLOB (tracing flag in exp_glob.c) and it says : expect: does "a\r\n" (spawn_id exp4) match glob pattern "[a]"? ESCM pattern(3)="[a]" string(3)="a\r\n" nocase=0 ESCM2 pattern="[a]" string="a\r\n" nocase=0 * pattern="[a]" * string="a\r\n" * pattern="]" * string="\r\n" @0 => -1
Responsible Changed From-To: freebsd-ports-bugs->mm Over to maintainer (via the GNATS Auto Assign Tool)
mm 2008-11-21 10:30:42 UTC FreeBSD ports repository Modified files: lang/expect-devel Makefile distinfo Log: - Update to 5.44.1.11 - PR bug fixed in 5.44.1.9 [1] PR: ports/119739 [1] Revision Changes Path 1.6 +2 -2 ports/lang/expect-devel/Makefile 1.3 +3 -3 ports/lang/expect-devel/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Resolved.