tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject putx {= bug
Date Wed, 26 Dec 2001 18:03:50 GMT

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5589

test dwvarchan-1.0 {juggle channels} {
    set Blah 10
    web::response -select \#foo
    web::response -sendheader 0
    web::response -select default
    web::putx \#foo {{= $Blah}}
    set ::foo
} {10}

does not generate the correct response, because in weboutint.c, {= is
transformed into

web::put "stuff to put"

and doesn't include the channel:

		    if (doPut == TCL_OK) {

			tclo1 = Tcl_NewStringObj("web::put ", 9);
		    }

Interesting - what are your feelings on the {= syntax?  Useful?
Indispensable?  Something to get rid of?  I don't see it in the
quickref manual, although I do see it used in one place in the
examples.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Mime
View raw message