Changeset 4492


Ignore:
Timestamp:
Jul 13, 2014 5:25:43 PM (10 years ago)
Author:
ldelgass
Message:

When recording protocol for tests, write commands as binary and without extra
newlines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/visviewer.tcl

    r4448 r4492  
    607607itcl::body Rappture::VisViewer::SendEcho {channel {data ""}} {
    608608    if { $_logging }  {
    609         set f [open "/tmp/recording.log" "a"]
    610         puts $f $data
    611         close $f
     609        set f [open "/tmp/recording.log" "a"]
     610        fconfigure $f -translation binary -encoding binary
     611        puts -nonewline $f $data
     612        close $f
    612613    }
    613614    #puts stderr ">>($data)"
Note: See TracChangeset for help on using the changeset viewer.