Fossil SCM
Update test/fake-editor.tcl to run on Tcl 9, which is what Fedora has among others.
Commit
c73f906ec0aaa1560256bd9cf28469c261534f76de9c4df263be4d35d62d67d2
Parent
3ed251ad3601341…
1 file changed
+1
-1
+1
-1
| --- test/fake-editor.tcl | ||
| +++ test/fake-editor.tcl | ||
| @@ -27,11 +27,11 @@ | ||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | ############################################################################### |
| 30 | 30 | |
| 31 | 31 | proc makeBinaryChannel { channel } { |
| 32 | - fconfigure $channel -encoding binary -translation binary | |
| 32 | + fconfigure $channel -translation binary | |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | proc readFile { fileName } { |
| 36 | 36 | set channel [open $fileName RDONLY] |
| 37 | 37 | makeBinaryChannel $channel |
| 38 | 38 |
| --- 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 |