Check-in [6f1c4424b4]
Not logged in
Overview

SHA1 Hash:6f1c4424b4d53322ece0345231e1358b7f912849
Date: 2007-12-05 07:58:56
User: aku
Comment: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.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified tools/cvs2fossil/lib/rcsparser.tcl from [e6259bae92] to [6518936d0c].

@@ -440,11 +440,11 @@
     # # ## ### ##### ######## #############
     ## 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
     }