Fossil SCM

Update test/fake-editor.tcl to run on Tcl 9, which is what Fedora has among others.

danshearer 2026-11-17 22:42 UTC test-suite-new
Commit c73f906ec0aaa1560256bd9cf28469c261534f76de9c4df263be4d35d62d67d2
1 file changed +1 -1
--- test/fake-editor.tcl
+++ test/fake-editor.tcl
@@ -27,11 +27,11 @@
2727
}
2828
2929
###############################################################################
3030
3131
proc makeBinaryChannel { channel } {
32
- fconfigure $channel -encoding binary -translation binary
32
+ fconfigure $channel -translation binary
3333
}
3434
3535
proc readFile { fileName } {
3636
set channel [open $fileName RDONLY]
3737
makeBinaryChannel $channel
3838
--- test/fake-editor.tcl
+++ test/fake-editor.tcl
@@ -27,11 +27,11 @@
27 }
28
29 ###############################################################################
30
31 proc makeBinaryChannel { channel } {
32 fconfigure $channel -encoding binary -translation binary
33 }
34
35 proc readFile { fileName } {
36 set channel [open $fileName RDONLY]
37 makeBinaryChannel $channel
38
--- test/fake-editor.tcl
+++ test/fake-editor.tcl
@@ -27,11 +27,11 @@
27 }
28
29 ###############################################################################
30
31 proc makeBinaryChannel { channel } {
32 fconfigure $channel -translation binary
33 }
34
35 proc readFile { fileName } {
36 set channel [open $fileName RDONLY]
37 makeBinaryChannel $channel
38

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button