Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Cherrypick [ff192614]: Use fossil_strdup() consistent with the rest of the code. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
f8315ee9004a017c1b3fb018284de293 |
| User & Date: | andygoth 2015-05-02 20:21:44.082 |
Context
|
2015-05-02
| ||
| 20:57 | Cherrypick [1b01c1ad]: Correct comment describing behavior of errCode. check-in: 6f2b59270b user: andygoth tags: trunk | |
| 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
| ||
| 22:11 | Add sitemap link to the 'eagle' skin header. check-in: 6ce777858b user: mistachkin tags: trunk | |
| 04:38 | Use fossil_strdup() consistent with the rest of the code. check-in: ff1926143d user: andybradford tags: andygoth-versioned-open | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
1925 1926 1927 1928 1929 1930 1931 |
/* File exists, and contains the value for this setting. Load from
** the file. */
Blob setting;
blob_zero(&setting);
if( blob_read_from_file(&setting, zVersionedPathname) >= 0 ){
blob_trim(&setting); /* Avoid non-obvious problems with line endings
** on boolean properties */
| | | 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
/* File exists, and contains the value for this setting. Load from
** the file. */
Blob setting;
blob_zero(&setting);
if( blob_read_from_file(&setting, zVersionedPathname) >= 0 ){
blob_trim(&setting); /* Avoid non-obvious problems with line endings
** on boolean properties */
zVersionedSetting = fossil_strdup(blob_str(&setting));
}
blob_reset(&setting);
/* See if there's a no-warn flag */
blob_append(&versionedPathname, ".no-warn", -1);
if( file_size(blob_str(&versionedPathname))>=0 ){
noWarn = 1;
}
|
| ︙ | ︙ |