Opened 17 years ago
Closed 17 years ago
#549 closed defect (fixed)
TolServerEval fail with expressions containing \n inside
Reported by: | Jorge | Owned by: | Jorge |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Interface | Version: | head |
Severity: | critical | Keywords: | |
Cc: |
Description
The following expresion fails:
Text TolServerEval("localhost", 40000, "WriteLn(\"Hola\nMundo\")")
the output is:
invalid argument size 'WriteLn("Hola'. Should be 21 and it was 13
while executing
"error $str"
("ERROR" arm line 2)
invoked from within
"switch -- [string toupper $cmd] {
ERROR {
error $str
}
ACKPING {
# answer from a PING
log "debug" "process_line : ACKPIN..."
(procedure "process_line" line 17)
invoked from within
"process_line $chan $line"
(procedure "read_channel" line 11)
invoked from within
"read_channel sock7"
(in namespace inscope "::tolclient" script line 1)
invoked from within
"::namespace inscope ::tolclient {read_channel sock7}"
"TIMEOUT"
Change History (2)
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
changed communication protocol from line oriented to buffer full.
Changes:
Repository revision: 1.11 /home/cvsroot/tolp/tolsh/tolsh.vfs/lib/tolcomm/tolserver.tcl,v
Repository revision: 1.9 /home/cvsroot/tolp/tolsh/tolsh.vfs/lib/tolcomm/tolclient.tcl,v
working on it ...