Fossil SCM
Remove superfluous slash from '.fossil-settings' path construction in print_setting().
Commit
fad1dd0a8ed0a77a71595bc46d715c06ec6a6c5a
Parent
86212ecee3853da…
1 file changed
+1
-1
M
src/db.c
+1
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -2287,11 +2287,11 @@ | ||
| 2287 | 2287 | } |
| 2288 | 2288 | if( pSetting->versionable && g.localOpen ){ |
| 2289 | 2289 | /* Check to see if this is overridden by a versionable settings file */ |
| 2290 | 2290 | Blob versionedPathname; |
| 2291 | 2291 | blob_zero(&versionedPathname); |
| 2292 | - blob_appendf(&versionedPathname, "%s/.fossil-settings/%s", | |
| 2292 | + blob_appendf(&versionedPathname, "%s.fossil-settings/%s", | |
| 2293 | 2293 | g.zLocalRoot, pSetting->name); |
| 2294 | 2294 | if( file_size(blob_str(&versionedPathname))>=0 ){ |
| 2295 | 2295 | fossil_print(" (overridden by contents of file .fossil-settings/%s)\n", |
| 2296 | 2296 | pSetting->name); |
| 2297 | 2297 | } |
| 2298 | 2298 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -2287,11 +2287,11 @@ | |
| 2287 | } |
| 2288 | if( pSetting->versionable && g.localOpen ){ |
| 2289 | /* Check to see if this is overridden by a versionable settings file */ |
| 2290 | Blob versionedPathname; |
| 2291 | blob_zero(&versionedPathname); |
| 2292 | blob_appendf(&versionedPathname, "%s/.fossil-settings/%s", |
| 2293 | g.zLocalRoot, pSetting->name); |
| 2294 | if( file_size(blob_str(&versionedPathname))>=0 ){ |
| 2295 | fossil_print(" (overridden by contents of file .fossil-settings/%s)\n", |
| 2296 | pSetting->name); |
| 2297 | } |
| 2298 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -2287,11 +2287,11 @@ | |
| 2287 | } |
| 2288 | if( pSetting->versionable && g.localOpen ){ |
| 2289 | /* Check to see if this is overridden by a versionable settings file */ |
| 2290 | Blob versionedPathname; |
| 2291 | blob_zero(&versionedPathname); |
| 2292 | blob_appendf(&versionedPathname, "%s.fossil-settings/%s", |
| 2293 | g.zLocalRoot, pSetting->name); |
| 2294 | if( file_size(blob_str(&versionedPathname))>=0 ){ |
| 2295 | fossil_print(" (overridden by contents of file .fossil-settings/%s)\n", |
| 2296 | pSetting->name); |
| 2297 | } |
| 2298 |