Fossil

Check-in [87955d9274]
Login

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

Overview
Comment:Relocate a declaration to cope with C89 rules.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 87955d92741f8f0dd6e5e511def72a09bc459e3187c70645a98c689c5d6e8b68
User & Date: danield 2022-04-19 12:46:08.592
Context
2022-04-19
15:47
Fix the previous change to cover an extra case. ... (check-in: 19a01ac12e user: danield tags: trunk)
14:48
Add '--versions' option to 'fossil diff' to display details about the compared versions. ... (check-in: 49ef1b574e user: danield tags: diff-show-versions)
12:46
Relocate a declaration to cope with C89 rules. ... (check-in: 87955d9274 user: danield tags: trunk)
2022-04-16
16:29
Minor spelling corrections. No change in functionality. ... (check-in: 53754fff0c user: andybradford tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
2013
2014
2015
2016
2017
2018
2019

2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
#endif
    {
      @ <h1>Server Configuration Error</h1>
      @ <p>The database schema on the server is out-of-date.  Please ask
      @ the administrator to run <b>fossil rebuild</b>.</p>
    }
  }else{

    if(0==(CMDFLAG_LDAVG_EXEMPT & pCmd->eCmdFlags)){
      load_control();
    }
#ifdef FOSSIL_ENABLE_JSON
    static int jsonOnce = 0;
    if( jsonOnce==0 && g.json.isJsonMode!=0 ){
      assert(json_is_bootstrapped_early());
      json_bootstrap_late();
      jsonOnce = 1;
    }
#endif
    if( (pCmd->eCmdFlags & CMDFLAG_RAWCONTENT)==0 ){







>




<







2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024

2025
2026
2027
2028
2029
2030
2031
#endif
    {
      @ <h1>Server Configuration Error</h1>
      @ <p>The database schema on the server is out-of-date.  Please ask
      @ the administrator to run <b>fossil rebuild</b>.</p>
    }
  }else{
    static int jsonOnce = 0;
    if(0==(CMDFLAG_LDAVG_EXEMPT & pCmd->eCmdFlags)){
      load_control();
    }
#ifdef FOSSIL_ENABLE_JSON

    if( jsonOnce==0 && g.json.isJsonMode!=0 ){
      assert(json_is_bootstrapped_early());
      json_bootstrap_late();
      jsonOnce = 1;
    }
#endif
    if( (pCmd->eCmdFlags & CMDFLAG_RAWCONTENT)==0 ){