Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Use fossil_strdup() consistent with the rest of the code. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | andygoth-versioned-open |
| Files: | files | file ages | folders |
| SHA1: |
ff1926143db0f2a681adead031fe3e5a |
| User & Date: | andybradford 2015-04-30 04:38:54.571 |
References
|
2015-05-02
| ||
| 20:21 | Cherrypick [ff192614]: Use fossil_strdup() consistent with the rest of the code. check-in: f8315ee900 user: andygoth tags: trunk | |
Context
|
2015-05-02
| ||
| 20:37 | Merge trunk. check-in: 794d4752ae user: andygoth tags: andygoth-versioned-open | |
| 20:21 | Cherrypick [ff192614]: Use fossil_strdup() consistent with the rest of the code. check-in: f8315ee900 user: andygoth tags: trunk | |
|
2015-04-30
| ||
| 04:38 | Use fossil_strdup() consistent with the rest of the code. check-in: ff1926143d user: andybradford tags: andygoth-versioned-open | |
|
2015-04-29
| ||
| 16:54 | Merge trunk. check-in: 25a7cd1e0f user: andygoth tags: andygoth-versioned-open | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
1949 1950 1951 1952 1953 1954 1955 |
noWarn = 1;
}
}
blob_reset(&versionedPathname);
if( found ){
blob_trim(&setting); /* Avoid non-obvious problems with line endings
** on boolean properties */
| | | 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 |
noWarn = 1;
}
}
blob_reset(&versionedPathname);
if( found ){
blob_trim(&setting); /* Avoid non-obvious problems with line endings
** on boolean properties */
zVersionedSetting = fossil_strdup(blob_str(&setting));
}
blob_reset(&setting);
/* Store result in cache, which can be the value or 0 if not found */
cacheEntry = (struct _cacheEntry*)fossil_malloc(sizeof(struct _cacheEntry));
cacheEntry->next = cache;
cacheEntry->zName = zName;
cacheEntry->zValue = fossil_strdup(zVersionedSetting);
|
| ︙ | ︙ |