You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by bu...@apache.org on 2013/10/09 01:47:57 UTC

[Bug 55583] Rivet traceback on "headers redirect" command

https://issues.apache.org/bugzilla/show_bug.cgi?id=55583

--- Comment #7 from Massimo Manghi <mx...@apache.org> ---
Created attachment 30911
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30911&action=edit
headers redirect returned code changed from TCL_RETURN to TCL_OK

I don't know if this has side effects (I still have to run the test suite) but
apparently this trivial patch fixes the problem (Rivet 2.1.3, Apache 2.2.25,
Tcl 8.6.1). The problem is with the Tcl code returned by command 'headers
redirect ...' which is TCL_RETURN. I don't understand what happened under the
hood of Tcl, but probably there is some interaction with the NRE that didn't
occur in Tcl 8.6.0 (8.5 still has the recursive engine) 

It seems to me that if TCL_RETURN could work out an equivalent TCL_OK in most
cases, but Tcl 8.6.1 must have changed something. I wonder if this was a
mistake or intentional of the person who originally coded this command.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org