Fossil

Check-in [123e4bc589]
Login

Check-in [123e4bc589]

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

Overview
Comment:Fixed a C99ism (decl after code).
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 123e4bc589d5ee40fcd8088fea6944a661db5cf6
User & Date: stephan 2013-03-15 14:53:11.676
Context
2013-03-15
15:02
Code changes for Android, suggested by Mark Janssen. ... (check-in: d4d66d133a user: jan.nijtmans tags: trunk)
14:53
Fixed a C99ism (decl after code). ... (check-in: 123e4bc589 user: stephan tags: trunk)
14:49
Added basic implementation of RFE ticket [3a2a26513220342]: -verbose option for the "version" command. ... (check-in: 1be15a57f1 user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
753
754
755
756
757
758
759

760
761
762
763
764
765
766
767
768
769
*/
void version_cmd(void){
  fossil_print("This is fossil version " RELEASE_VERSION " "
                MANIFEST_VERSION " " MANIFEST_DATE " UTC\n");
  if(!find_option("verbose","v",0)){
    return;
  }else{

    fossil_print("Compiled with the following features enabled:\n",
                 COMPILER_NAME);
    int count = 0;
#if defined(FOSSIL_ENABLE_SSL)
    ++count;
    fossil_print("\tSSL\n");
#endif
#if defined(FOSSIL_ENABLE_TCL)
    ++count;
    fossil_print("\tTCL\n");







>


<







753
754
755
756
757
758
759
760
761
762

763
764
765
766
767
768
769
*/
void version_cmd(void){
  fossil_print("This is fossil version " RELEASE_VERSION " "
                MANIFEST_VERSION " " MANIFEST_DATE " UTC\n");
  if(!find_option("verbose","v",0)){
    return;
  }else{
    int count = 0;
    fossil_print("Compiled with the following features enabled:\n",
                 COMPILER_NAME);

#if defined(FOSSIL_ENABLE_SSL)
    ++count;
    fossil_print("\tSSL\n");
#endif
#if defined(FOSSIL_ENABLE_TCL)
    ++count;
    fossil_print("\tTCL\n");