Fossil

Check-in [dbe16d7b]
Login

Check-in [dbe16d7b]

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

Overview
Comment:For the tar / zip web pages, avoid dangling references involving zRid.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: dbe16d7bb4cf72003a67cd5f45d04fb9fd72eaaa277553716b58ee097b522754
User & Date: mistachkin 2019-07-06 20:29:11
Context
2019-07-08
17:05
Update the built-in SQLite to the first 3.29.0 beta for testing. Enable the -DSQLITE_DQS=0 compile-time option for Fossil, thus preventing SQLite from using double-quoted string literals by default. ... (check-in: 0c0f6db7 user: drh tags: trunk)
2019-07-06
21:42
Update Jim Tcl to 0.78. ... (check-in: 907f66bf user: mistachkin tags: autosetupAndJimTcl)
20:29
For the tar / zip web pages, avoid dangling references involving zRid. ... (check-in: dbe16d7b user: mistachkin tags: trunk)
2019-07-02
05:53
Switched Immediately-Invoked Function Expression parentheses from Crockford-style to the more conventional/portable style. See https://stackoverflow.com/questions/9053842/ for details. ... (check-in: 5d9d62d8 user: stephan tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/tar.c.

806
807
808
809
810
811
812

813
814
815
816
    tarball_of_checkin(rid, &tarball, zName, pInclude, pExclude);
    cache_write(&tarball, zKey);
  }
  glob_free(pInclude);
  glob_free(pExclude);
  fossil_free(zName);
  fossil_free(zRid);

  blob_reset(&cacheKey);
  cgi_set_content(&tarball);
  cgi_set_content_type("application/x-compressed");
}







>




806
807
808
809
810
811
812
813
814
815
816
817
    tarball_of_checkin(rid, &tarball, zName, pInclude, pExclude);
    cache_write(&tarball, zKey);
  }
  glob_free(pInclude);
  glob_free(pExclude);
  fossil_free(zName);
  fossil_free(zRid);
  g.zOpenRevision = 0;
  blob_reset(&cacheKey);
  cgi_set_content(&tarball);
  cgi_set_content_type("application/x-compressed");
}

Changes to src/zip.c.

976
977
978
979
980
981
982

983
984
985
986
987
988
989
    zip_of_checkin(eType, rid, &zip, zName, pInclude, pExclude);
    cache_write(&zip, zKey);
  }
  glob_free(pInclude);
  glob_free(pExclude);
  fossil_free(zName);
  fossil_free(zRid);

  blob_reset(&cacheKey);
  cgi_set_content(&zip);
  if( eType==ARCHIVE_ZIP ){
    cgi_set_content_type("application/zip");
  }else{
    cgi_set_content_type("application/sqlar");
  }







>







976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
    zip_of_checkin(eType, rid, &zip, zName, pInclude, pExclude);
    cache_write(&zip, zKey);
  }
  glob_free(pInclude);
  glob_free(pExclude);
  fossil_free(zName);
  fossil_free(zRid);
  g.zOpenRevision = 0;
  blob_reset(&cacheKey);
  cgi_set_content(&zip);
  if( eType==ARCHIVE_ZIP ){
    cgi_set_content_type("application/zip");
  }else{
    cgi_set_content_type("application/sqlar");
  }