Differences From:
File
tools/cvs2fossil/lib/rcsparser.tcl
part of check-in
[b679ca3356]
- Code cleanup. Removed trailing whitespace across the board.
by
aku on
2007-11-25 07:54:09.
[view]
To:
File
tools/cvs2fossil/lib/rcsparser.tcl
part of check-in
[6f1c4424b4]
- Bugfix. Translation implies encoding, not the reverse. This caused problems when parsing files with mixed-mode line-endings. The generated char offsets and lengths were off. Found during expansion.
by
aku on
2007-12-05 07:58:56.
[view]
@@ -441,9 +441,9 @@
## Setup, callbacks.
proc Initialize {path sink} {
::variable mypos 0
- ::variable mydata [fileutil::cat -encoding binary $path]
+ ::variable mydata [fileutil::cat -translation binary $path]
::variable mysize [file size $path]
::variable mysink $sink
return
}