Fossil SCM

Remove superfluous slash from '.fossil-settings' path construction in print_setting().

mistachkin 2015-04-10 00:45 trunk
Commit fad1dd0a8ed0a77a71595bc46d715c06ec6a6c5a
1 file changed +1 -1
+1 -1
--- src/db.c
+++ src/db.c
@@ -2287,11 +2287,11 @@
22872287
}
22882288
if( pSetting->versionable && g.localOpen ){
22892289
/* Check to see if this is overridden by a versionable settings file */
22902290
Blob versionedPathname;
22912291
blob_zero(&versionedPathname);
2292
- blob_appendf(&versionedPathname, "%s/.fossil-settings/%s",
2292
+ blob_appendf(&versionedPathname, "%s.fossil-settings/%s",
22932293
g.zLocalRoot, pSetting->name);
22942294
if( file_size(blob_str(&versionedPathname))>=0 ){
22952295
fossil_print(" (overridden by contents of file .fossil-settings/%s)\n",
22962296
pSetting->name);
22972297
}
22982298
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button