| Ticket UUID: | 826145 | |||
| Title: | wrong eval of send arguments with blanks (e.g lists) | |||
| Type: | Bug | Version: | None | |
| Submitter: | blange | Created on: | 2003-10-18 22:19:11 | |
| Subsystem: | comm | Assigned To: | andreas_kupries | |
| Priority: | 7 High | Severity: | ||
| Status: | Closed | Last Modified: | 2003-10-22 06:20:11 | |
| Resolution: | Invalid | Closed By: | hobbs | |
| Closed on: | 2003-10-21 23:20:11 | |||
| Description: |
when the send is called with arguments containing lists the
evaluation on the receiving side is one level too deep.
line 1066 of tcllib1.5/comm.tcl (comm 4.1) reads:
set err [catch [concat [list uplevel #0] $buffer] ret]
this evaluates the passed buffer one time too much.
if changed to:
set err [catch {uplevel #0 $buffer} ret]
it correctly expands the passed lists.
Could this please be checked and changed in the next version.
Thanks.
Benno Lange
| |||
| User Comments: |
hobbs added on 2003-10-22 06:20:11:
Logged In: YES user_id=72656 Please review the "EVAL SEMANTICS" section of the doc to ensure that it isn't working as expected. andreas_kupries added on 2003-10-22 03:11:58: Logged In: YES user_id=75003 Do you have a piece of example code we can use to reproduce the problem ? This is important for writing a test case too. Question: When using the same type of sent code via Tk's [send], does the same problem occur ? In other words, if you 'send' your problematic code to a different application using Tk instead of comm, do you have the same problem there too ? | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki