Fossil

Check-in [6804c033eb]
Login

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

Overview
Comment:Another fix.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | jsonTestsPass
Files: files | file ages | folders
SHA3-256: 6804c033eb06958cae46d0104bef02ef6dd61b64bf7868f59e05581f6a72d6b7
User & Date: mistachkin 2020-06-12 21:53:20.299
Context
2020-06-12
22:08
Attempt to make sure the 'SSH_CONNECTION' environment variable is ignored during the JSON tests. ... (check-in: 51792cf5c7 user: mistachkin tags: jsonTestsPass)
21:53
Another fix. ... (check-in: 6804c033eb user: mistachkin tags: jsonTestsPass)
21:07
Handle missing 'json' Tcl package gracefully. ... (check-in: e3297200e5 user: mistachkin tags: jsonTestsPass)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
1914
1915
1916
1917
1918
1919
1920

1921
1922

1923
1924
1925
1926
1927
1928
1929
    {
      @ <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{
#ifdef FOSSIL_ENABLE_JSON

    if( g.json.isJsonMode ){
      json_mode_bootstrap();

    }
#endif
    if( (pCmd->eCmdFlags & CMDFLAG_RAWCONTENT)==0 ){
      cgi_decode_post_parameters();
    }
    if( g.fCgiTrace ){
      fossil_trace("######## Calling %s #########\n", pCmd->zName);







>
|

>







1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
    {
      @ <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{
#ifdef FOSSIL_ENABLE_JSON
    static int jsonOnce = 0;
    if( !jsonOnce && g.json.isJsonMode ){
      json_mode_bootstrap();
      jsonOnce = 1;
    }
#endif
    if( (pCmd->eCmdFlags & CMDFLAG_RAWCONTENT)==0 ){
      cgi_decode_post_parameters();
    }
    if( g.fCgiTrace ){
      fossil_trace("######## Calling %s #########\n", pCmd->zName);