From: mistachkin Date: Tue, 2 Aug 2016 19:29:56 +0000 (+0000) Subject: The 'replace.tcl' tool should use Unix line-endings. X-Git-Tag: version-3.14.0~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dffcf911fbda3b84a902e716ed0b8db6647d6df;p=thirdparty%2Fsqlite.git The 'replace.tcl' tool should use Unix line-endings. FossilOrigin-Name: 50de96314f75494dc1f5b14d62c595a70c4e0638 --- diff --git a/manifest b/manifest index dcecb8eb96..b092c43c87 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Updates\sto\srequirements\smarks.\s\sNo\schanges\sto\scode. -D 2016-08-02T13:26:34.987 +C The\s'replace.tcl'\stool\sshould\suse\sUnix\sline-endings. +D 2016-08-02T19:29:56.543 F Makefile.in 6c20d44f72d4564f11652b26291a214c8367e5db F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc 3340e479e5221f06c3d61726f8f7efff885e4233 @@ -1458,7 +1458,7 @@ F tool/offsets.c fe4262fdfa378e8f5499a42136d17bf3b98f6091 F tool/omittest.tcl 34d7ac01fe4fd18e3637f64abe12c40eca0f6b97 F tool/opcodesum.tcl 740ed206ba8c5040018988129abbf3089a0ccf4a F tool/pagesig.c ff0ca355fd3c2398e933da5e22439bbff89b803b -F tool/replace.tcl 3856f87247dde5418d16dac92fa4060813431778 +F tool/replace.tcl 60f91e8dd06ab81f74d213ecbd9c9945f32ac048 F tool/restore_jrnl.tcl 6957a34f8f1f0f8285e07536225ec3b292a9024a F tool/rollback-test.c 9fc98427d1e23e84429d7e6d07d9094fbdec65a5 F tool/run-speed-test.sh f95d19fd669b68c4c38b6b475242841d47c66076 @@ -1509,7 +1509,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P e64a4173d2899acf13b73e6e28f2e164fd638a75 -R 2f7c4e993e0eb7bb61a5a37266251c67 -U drh -Z 9edc5e5cd5ca93c7d8faa216313b72e1 +P b23c10ac8f65bc88a6c7d88e140217222eb4cbe5 +R c637e4e7f2506406f1e6f5b4d9531797 +U mistachkin +Z d4fd0c8d72e7f688d1f1613e04849643 diff --git a/manifest.uuid b/manifest.uuid index ac57330bc6..f5829a3ed7 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -b23c10ac8f65bc88a6c7d88e140217222eb4cbe5 \ No newline at end of file +50de96314f75494dc1f5b14d62c595a70c4e0638 \ No newline at end of file diff --git a/tool/replace.tcl b/tool/replace.tcl index 1ecc6dc7b5..5a1ac5983c 100644 --- a/tool/replace.tcl +++ b/tool/replace.tcl @@ -4,6 +4,8 @@ # only lines successfully modified with a regular # expression. # +fconfigure stdout -translation binary -encoding binary +fconfigure stderr -translation binary -encoding binary set mode [string tolower [lindex $argv 0]] set from [lindex $argv 1] set to [lindex $argv 2]