Tcl Source Code

View Ticket
Login
Ticket UUID: 219875
Title: Bug in bynary format comand
Type: Bug Created on: 2000-10-31 15:29:55
Submitter: nobody Assigned to: nobody
Subsystem: 12. ByteArray Object Severity:
Priority: 5 Medium Last modified: 2001-04-05 08:07:01
Status: Closed Closed by: dgp
Resolution: Invalid Closed on: 2001-04-05 01:07:01
Version: obsolete: 8.3.2
Description:
Under Win98:

set i 32768
set w [open "c:\\test.dat" w]
puts $w [binary format s $i]
close $w

Result in file is wrong!

My mail address is [email protected]
User Comments:
hobbs added on 2000-11-02 05:21:16:
You don't specify what you expect the result to be, but it's likely incorrect due to the lack of 'fconfigure $w -translation binary' on the output fid.