From: mistachkin Date: Mon, 15 Oct 2012 20:28:22 +0000 (+0000) Subject: Correct comments and enhance readability of the mkvsix tool. X-Git-Tag: version-3.7.15~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21890127cd0a074200bf0fa75a8c20c5eae0f888;p=thirdparty%2Fsqlite.git Correct comments and enhance readability of the mkvsix tool. FossilOrigin-Name: 2c3af657fee6153842d660a6ce29aa7d791ebd38 --- diff --git a/manifest b/manifest index 772853f009..be0f0a1ebc 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Hold\sthe\smutex\son\sthe\sshared-cache\sfor\sthe\sduration\sof\sa\sVACUUM\soperation. -D 2012-10-15T18:02:57.236 +C Correct\scomments\sand\senhance\sreadability\sof\sthe\smkvsix\stool. +D 2012-10-15T20:28:22.029 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 5f4f26109f9d80829122e0e09f9cda008fa065fb F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -995,7 +995,7 @@ F tool/mksqlite3c-noext.tcl 8bce31074e4cbe631bb7676526a048335f4c9f02 F tool/mksqlite3c.tcl 589c7f44e990be1b8443cfe4808dce392b0327fa F tool/mksqlite3h.tcl 78013ad79a5e492e5f764f3c7a8ef834255061f8 F tool/mksqlite3internalh.tcl 3dca7bb5374cee003379b8cbac73714f610ef795 -F tool/mkvsix.tcl a27951f30bb39c3504196610f17f687fc0b1c94d +F tool/mkvsix.tcl adc17f82e3812787fdb015098d006e31804d6aa5 F tool/offsets.c fe4262fdfa378e8f5499a42136d17bf3b98f6091 F tool/omittest.tcl 4665982e95a6e5c1bd806cf7bc3dea95be422d77 F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c @@ -1021,7 +1021,7 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381 F tool/win/sqlite.vsix 67d8a99aceb56384a81b3f30d6c71743146d2cc9 -P 5526e0aa3ccb24988a4f351ac994907b6e89018a -R ae9cdd994bee7b7367d1b3e8955984b7 -U dan -Z a44ad9d15114468612331138128e563b +P 629a42d47a0d8f73de900f469845ce800bdb8959 +R c7830c7c0cb344c8cb6a175c95e5eb7f +U mistachkin +Z f2086ddd83e8b281e8d53ba90c91d2db diff --git a/manifest.uuid b/manifest.uuid index e486088ca6..915ba49368 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -629a42d47a0d8f73de900f469845ce800bdb8959 \ No newline at end of file +2c3af657fee6153842d660a6ce29aa7d791ebd38 \ No newline at end of file diff --git a/tool/mkvsix.tcl b/tool/mkvsix.tcl index 6a84758cc8..82dae2f691 100644 --- a/tool/mkvsix.tcl +++ b/tool/mkvsix.tcl @@ -354,23 +354,30 @@ eval $extractCommand ############################################################################### # -# NOTE: Process each file in the master file list. There are actually four -# parallel lists that contain the source file names, destination file -# names, the platform-neutral flags, and the use-subst flags. When the +# NOTE: Process each file in the master file list. There are actually seven +# parallel lists that contain the source file names, the destination file +# names, the build-neutral flags, the platform-neutral flags, the +# use-subst flags, the no-debug flags, and the no-retail flags. If the # platform-neutral flag is non-zero, the file is not platform-specific. -# When the use-subst flag is non-zero, the file is considered to be a -# text file that may contain Tcl variable and/or command replacements, -# to be dynamically replaced during processing. If the source file name -# is an empty string, then the destination file name will be assumed to -# already exist in the staging directory and will not be copied; however, -# dynamic replacements may still be performed on the destination file -# prior to the package being re-zipped. -# -foreach sourceFileName $fileNames(source) \ - destinationFileName $fileNames(destination) \ - buildNeutral $fileNames(buildNeutral) platformNeutral \ - $fileNames(platformNeutral) useSubst $fileNames(subst) \ - noDebug $fileNames(noDebug) noRetail $fileNames(noRetail) { +# If the build-neutral flag is non-zero, the file is not build-specific. +# If the use-subst flag is non-zero, the file is considered to be a text +# file that may contain Tcl variable and/or command replacements, to be +# dynamically replaced during processing. If the no-debug flag is +# non-zero, the file will be skipped when processing for the debug build. +# If the no-retail flag is non-zero, the file will be skipped when +# processing for the retail build. If the source file name is an empty +# string, then the destination file name will be assumed to already exist +# in the staging directory and will not be copied; however, dynamic +# replacements may still be performed on the destination file prior to +# the package being re-zipped. +# +foreach sourceFileName $fileNames(source) \ + destinationFileName $fileNames(destination) \ + buildNeutral $fileNames(buildNeutral) \ + platformNeutral $fileNames(platformNeutral) \ + useSubst $fileNames(subst) \ + noDebug $fileNames(noDebug) \ + noRetail $fileNames(noRetail) { # # NOTE: If the current file is build-neutral, then only one build will # be processed for it, namely "CommonConfiguration"; otherwise, each