Fossil

Check-in [340711f4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Even more refinements to the "fossil version --verbose" output.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:340711f48c836b0483987a4f6af1d6f3d4039e81
User & Date: drh 2013-06-18 23:17:59
Context
2013-06-19
02:50
Update ignore-glob setting file to include commonly used external directories. check-in: 5ef811b7 user: mistachkin tags: trunk
2013-06-18
23:17
Even more refinements to the "fossil version --verbose" output. check-in: 340711f4 user: drh tags: trunk
23:12
Improved formatting and additional information output for "fossil version --verbose". check-in: 1b0e8cf9 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

   783    783   */
   784    784   void version_cmd(void){
   785    785     fossil_print("This is fossil version " RELEASE_VERSION " "
   786    786                  MANIFEST_VERSION " " MANIFEST_DATE " UTC\n");
   787    787     if(!find_option("verbose","v",0)){
   788    788       return;
   789    789     }else{
   790         -    int count = 0;
   791    790       fossil_print("Compiled on %s %s using %s (%d-bit)\n",
   792    791                    __DATE__, __TIME__, COMPILER_NAME, sizeof(void*)*8);
   793         -    fossil_print("SQLite %s [%s],\n", SQLITE_VERSION, SQLITE_SOURCE_ID);
          792  +    fossil_print("SQLite %s %.30s\n", SQLITE_VERSION, SQLITE_SOURCE_ID);
   794    793       fossil_print("zlib %s\n", ZLIB_VERSION);
   795    794   #if defined(FOSSIL_ENABLE_SSL)
   796         -    ++count;
   797    795       fossil_print("SSL (%s)\n", OPENSSL_VERSION_TEXT);
   798    796   #endif
   799    797   #if defined(FOSSIL_ENABLE_TCL)
   800         -    ++count;
   801    798       fossil_print("TCL (Tcl %s)\n", TCL_PATCH_LEVEL);
   802    799   #endif
   803    800   #if defined(FOSSIL_ENABLE_TCL_STUBS)
   804         -    ++count;
   805    801       fossil_print("TCL_STUBS\n");
   806    802   #endif
   807    803   #if defined(FOSSIL_ENABLE_JSON)
   808         -    ++count;
   809    804       fossil_print("JSON (API %s)\n", FOSSIL_JSON_API_VERSION);
   810    805   #endif
   811    806     }
   812    807   }
   813    808   
   814    809   
   815    810   /*