Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 56ab3ac7dc97e700716246ee03ccf0213dfb8dc7
Ticket: 2688825fffffffffffffffffffffffffffffffff
append command sending 0xc080 instead of 0x00
User & Date: younasa on 2009-03-16 16:51:10
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    in tcl version 8.4.4
    
    the following append command appends 0xc080 instead of appending 0x00 
    
    set req_str {<connect load_balancer="Y" />}
    append req_str "\0"
    
    when trying to send it to tcp socket
    
    socket $ip $port
    fconfigure $sock -buffering line -eofchar >
    puts $sock $req_str; flush $sock
    
    
    
    
    Tcl 8.4.4    sending 0xc080  instead of sending 0x00
    
    0x0040:  77ee 3c63 6f6e 6e65 6374 206c 6f61 645f  w.<connect.load_
    0x0050:  6261 6c61 6e63 6572 3d22 5922 202f 3ec0  balancer="Y"./>.
    0x0060:  800d 0a
    
    
    
    
    but working fine with tcl-8.4.7-4
    
    0x0040:  65c4 3c63 6f6e 6e65 6374 206c 6f61 645f  e.<connect.load_
    0x0050:  6261 6c61 6e63 6572 3d22 5922 202f 3e00  balancer="Y"./>.
    0x0060:  0d0a
    
    
    
    
  4. foundin changed to: "obsolete: 8.4.4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "younasa"
  10. subsystem changed to: "07. Variables"
  11. title changed to: "append commans sending 0xc080 instead oc 0x00"
  12. type changed to: "Bug"