diff options
author | mistachkin <mistachkin@noemail.net> | 2017-10-17 18:33:22 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2017-10-17 18:33:22 +0000 |
commit | f7fc4c22f45adcf20fa88febad0a0e046a04f9ae (patch) | |
tree | e769737d0fdccbee2e8e8d8b083f772e58f851ad /tool/split-sqlite3c.tcl | |
parent | f30d345241ac0d260c5a8034b1366c5bee596ee3 (diff) | |
download | sqlite-f7fc4c22f45adcf20fa88febad0a0e046a04f9ae.tar.gz sqlite-f7fc4c22f45adcf20fa88febad0a0e046a04f9ae.zip |
The source code files generated for the 'sqlite3-all.c' target should not have Windows line-endings.
FossilOrigin-Name: 6a08c43431be18a08bdcbf33d327513f72fff72dac5d02103dab8399d8c3d668
Diffstat (limited to 'tool/split-sqlite3c.tcl')
-rw-r--r-- | tool/split-sqlite3c.tcl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/split-sqlite3c.tcl b/tool/split-sqlite3c.tcl index 287b75282..230e3f254 100644 --- a/tool/split-sqlite3c.tcl +++ b/tool/split-sqlite3c.tcl @@ -15,6 +15,7 @@ set END {^/\*+ End of %s \*+/} set in [open sqlite3.c] set out1 [open sqlite3-all.c w] +fconfigure $out1 -translation lf # Copy the header from sqlite3.c into sqlite3-all.c # @@ -48,6 +49,7 @@ proc write_one_file {content} { global filecnt incr filecnt set out [open sqlite3-$filecnt.c w] + fconfigure $out -translation lf puts -nonewline $out $content close $out puts $::out1 "#include \"sqlite3-$filecnt.c\"" |