diff options
author | stephan <stephan@noemail.net> | 2024-08-12 13:31:43 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-08-12 13:31:43 +0000 |
commit | 57a0af406e66af40b4f0d4235d25155f80046db2 (patch) | |
tree | 4f50fd11858d7c92efccdeac7923c874434fccab /vsixtest/vsixtest.tcl | |
parent | d35a69a8da0a5a5c54823df540f0217c1601816b (diff) | |
parent | 8c411f7fceffe287b5f94cf449550ee5d6c11601 (diff) | |
download | sqlite-57a0af406e66af40b4f0d4235d25155f80046db2.tar.gz sqlite-57a0af406e66af40b4f0d4235d25155f80046db2.zip |
Merge current trunk into this branch.
FossilOrigin-Name: 900a593ddf51eebddb70e2e9ab16abe4911f58f23e574e88ed340a919b8f16b6
Diffstat (limited to 'vsixtest/vsixtest.tcl')
-rw-r--r-- | vsixtest/vsixtest.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vsixtest/vsixtest.tcl b/vsixtest/vsixtest.tcl index 5dce821dc..8b2288be3 100644 --- a/vsixtest/vsixtest.tcl +++ b/vsixtest/vsixtest.tcl @@ -132,7 +132,7 @@ proc readFile { fileName } { # may contain binary data. # set file_id [open $fileName RDONLY] - fconfigure $file_id -encoding binary -translation binary + fconfigure $file_id -translation binary set result [read $file_id] close $file_id return $result @@ -144,7 +144,7 @@ proc writeFile { fileName data } { # binary data. # set file_id [open $fileName {WRONLY CREAT TRUNC}] - fconfigure $file_id -encoding binary -translation binary + fconfigure $file_id -translation binary puts -nonewline $file_id $data close $file_id return "" |