From: mistachkin Date: Sat, 23 Jan 2016 20:16:40 +0000 (+0000) Subject: Minor coding style tweaks for the mkmsvcmin tool. X-Git-Tag: version-3.11.0~92^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a25549b087bd576ac413f88f5e2d654cd59e0b4;p=thirdparty%2Fsqlite.git Minor coding style tweaks for the mkmsvcmin tool. FossilOrigin-Name: c15e0fc4be08b92547bea1f1cac65581ef497409 --- diff --git a/manifest b/manifest index a6797b77e5..2076ff35e1 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Adjust\sthe\samalgamation-tarball\sbuild\sprocess\sso\sthat\sit\sincludes\sthe\nMSVC\smakefile\sand\sthe\ssqlite3.rc\sresource\sfile. -D 2016-01-23T20:09:30.205 +C Minor\scoding\sstyle\stweaks\sfor\sthe\smkmsvcmin\stool. +D 2016-01-23T20:16:40.624 F Makefile.in 027c1603f255390c43a426671055a31c0a65fdb4 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.min.msc cbbc5e37bfe74583cce7c2585319620b7516e6ed @@ -13,7 +13,7 @@ F art/sqlite370.jpg d512473dae7e378a67e28ff96a34da7cb331def2 F autoconf/INSTALL 83e4a25da9fd053c7b3665eaaaf7919707915903 F autoconf/Makefile.am 1c1657650775960804945dc392e14d9e43c5ed84 F autoconf/README.first 6c4f34fe115ff55d4e8dbfa3cecf04a0188292f7 -F autoconf/README.txt c9265657b6ca8c4de1e148e8c0c4c29d60ec860c w autoconf/README +F autoconf/README.txt c9265657b6ca8c4de1e148e8c0c4c29d60ec860c F autoconf/configure.ac 7b1ea0dcaf49fafba262ce4b0ee8cb3281b555d1 F autoconf/tea/Makefile.in b438a7020446c8a8156e8d97c8914a04833da6fd F autoconf/tea/README 3e9a3c060f29a44344ab50aec506f4db903fb873 @@ -1379,7 +1379,7 @@ F tool/loadfts.c c3c64e4d5e90e8ba41159232c2189dba4be7b862 F tool/logest.c eef612f8adf4d0993dafed0416064cf50d5d33c6 F tool/mkautoconfamal.sh add1d703074e7edb2d8423441c7e245271c5c8cb F tool/mkkeywordhash.c 06ec0b78bd4fa68c12d90ef2bdfe76b039133ff8 -F tool/mkmsvcmin.tcl a62d398d1304b36dd41b69e655d875728fd9d509 +F tool/mkmsvcmin.tcl c1f92b52505fe4a026e7b57fffe49b439b11b71b F tool/mkopcodec.tcl edde8adc42621b5e598127f8cdc6d52cfe21f52b F tool/mkopcodeh.tcl e04177031532b7aa9379ded50e820231ac4abd6e F tool/mkopts.tcl 66ac10d240cc6e86abd37dc908d50382f84ff46e @@ -1421,7 +1421,7 @@ F tool/vdbe_profile.tcl 246d0da094856d72d2c12efec03250d71639d19f F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f -P c6e633ab73812fe38f3e969f1652f1b5759096e4 -R d5543de9eede26dd90664aa004eef406 -U drh -Z 98c1051b769380596fbf89ccef90cc39 +P e420f3dc93a0e3364f0773950b7a125f5221a109 +R 0e64448b1af0ccd7100284f6f222657e +U mistachkin +Z 38e3fbc9582e760d49d364916a96f186 diff --git a/manifest.uuid b/manifest.uuid index c32f479829..6bcba645b0 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -e420f3dc93a0e3364f0773950b7a125f5221a109 \ No newline at end of file +c15e0fc4be08b92547bea1f1cac65581ef497409 \ No newline at end of file diff --git a/tool/mkmsvcmin.tcl b/tool/mkmsvcmin.tcl index 7414f53000..d0143ddd86 100644 --- a/tool/mkmsvcmin.tcl +++ b/tool/mkmsvcmin.tcl @@ -5,18 +5,18 @@ # it uses the sqlite3.c amalgamation as input and does not require tclsh. # The resulting "../Makefile.min.msc" is suitable for use in the amalgamation # tarballs. -# +# if {$argc==0} { set basedir [file dir [file dir [file normalize $argv0]]] set fromFileName [file join $basedir Makefile.msc] set toFileName [file join $basedir Makefile.min.msc] } else { set fromFileName [lindex $argv 0] - if {![file exists $fromFileName]} then { + if {![file exists $fromFileName]} { error "input file \"$fromFileName\" does not exist" } set toFileName [lindex $argv 1] - if {[file exists $toFileName]} then { + if {[file exists $toFileName]} { error "output file \"$toFileName\" already exists" } }