Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | "const" the conts (typo) (ref: [ticket]) |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
37e234fa8893bb72a94648ce49dc7059 |
| User & Date: | bch 2014-12-11 22:23:10.191 |
| Original Comment: | "const" the conts (typo) |
Context
|
2014-12-12
| ||
| 06:30 | On 302 redirects, cause addr and socket reinitialize so it has the info for the new location and not the old. This may address a bug reported on the ML by Ashwin Hirschi in which a redirect was causing Fossil to segfault, likely due to redirecting to the same site repeatedly because addr was remaining unchanged. check-in: 6e7cb7f27a user: andybradford tags: trunk | |
|
2014-12-11
| ||
| 22:23 | "const" the conts (typo) (ref: [ticket]) check-in: 37e234fa88 user: bch tags: trunk | |
| 14:59 | Add a link to the http://fuelscm.org/ project on the Fossil homepage. Oops: Some other unrelated and experimental changes to the "search" command also got folded into this check-in check-in: 85f265625b user: drh tags: trunk | |
Changes
Changes to src/search.c.
| ︙ | ︙ | |||
156 157 158 159 160 161 162 |
*/
static void search_score_sqlfunc(
sqlite3_context *context,
int argc,
sqlite3_value **argv
){
Search *p = (Search*)sqlite3_user_data(context);
| | | 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
*/
static void search_score_sqlfunc(
sqlite3_context *context,
int argc,
sqlite3_value **argv
){
Search *p = (Search*)sqlite3_user_data(context);
const char **azDoc;
int score;
int i;
azDoc = fossil_malloc( sizeof(const char*)*(argc+1) );
for(i=0; i<argc; i++) azDoc[i] = (const char*)sqlite3_value_text(argv[i]);
score = search_score(p, argc, azDoc);
fossil_free(azDoc);
|
| ︙ | ︙ |