Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a memory leak of the path to a versioned-setting file in print_setting(). |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c76b00197f5e0fce77d979e0fd1e4dce |
| User & Date: | stephan 2023-01-18 00:47:10.202 |
Context
|
2023-01-21
| ||
| 01:13 | Remove bootstrap skin, per discussion in [forum:aa02d7443d446211|forum post aa02d7443d446211]. Clients with that skin selected will automatically be switched to the default. check-in: e1ef9347e1 user: stephan tags: trunk | |
|
2023-01-19
| ||
| 11:36 | More accurate scroll width calculation for unified diffs (looks better for SQLite diffs with up to 5-digit line numbers). check-in: 337b297cbe user: florian tags: udiff-hscroll | |
|
2023-01-18
| ||
| 00:54 | Initial prototype of the /json/settings/get command/page, per discussion in [forum:04b7159d63d4abe4|forum post 04b7159d63d4abe4]. check-in: 29e5bb008c user: stephan tags: json-settings-command | |
| 00:47 | Fix a memory leak of the path to a versioned-setting file in print_setting(). check-in: c76b00197f user: stephan tags: trunk | |
|
2023-01-17
| ||
| 20:40 | Small fix to the nojail patch; accidentally lost the [80faedbc] change in the shuffle. check-in: 7a6cf9dd24 user: wyoung tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 |
blob_zero(&versionedPathname);
blob_appendf(&versionedPathname, "%s.fossil-settings/%s",
g.zLocalRoot, pSetting->name);
if( file_size(blob_str(&versionedPathname), ExtFILE)>=0 ){
fossil_print(" (overridden by contents of file .fossil-settings/%s)\n",
pSetting->name);
}
}
db_finalize(&q);
}
#if INTERFACE
/*
** Define all settings, which can be controlled via the set/unset
| > | 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 |
blob_zero(&versionedPathname);
blob_appendf(&versionedPathname, "%s.fossil-settings/%s",
g.zLocalRoot, pSetting->name);
if( file_size(blob_str(&versionedPathname), ExtFILE)>=0 ){
fossil_print(" (overridden by contents of file .fossil-settings/%s)\n",
pSetting->name);
}
blob_reset(&versionedPathname);
}
db_finalize(&q);
}
#if INTERFACE
/*
** Define all settings, which can be controlled via the set/unset
|
| ︙ | ︙ |