Fossil SCM
Oops, forgot to zero the blob.
Commit
d09e37387857ef48be68f77a91cc5e1b64bba115
Parent
eb4d631c636dd6b…
1 file changed
+1
+1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -43,10 +43,11 @@ | ||
| 43 | 43 | Blob rewrittenPathname; |
| 44 | 44 | Blob where; |
| 45 | 45 | const char *zTreeName; |
| 46 | 46 | int i, nRoot; |
| 47 | 47 | |
| 48 | + blob_zero(&where); | |
| 48 | 49 | nRoot = (int)strlen(g.zLocalRoot); |
| 49 | 50 | for(i=2; i<g.argc; i++) { |
| 50 | 51 | Blob fname; |
| 51 | 52 | file_canonical_name(g.argv[i], &fname, 0); |
| 52 | 53 | zTreeName = blob_str(&fname)+nRoot; |
| 53 | 54 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -43,10 +43,11 @@ | |
| 43 | Blob rewrittenPathname; |
| 44 | Blob where; |
| 45 | const char *zTreeName; |
| 46 | int i, nRoot; |
| 47 | |
| 48 | nRoot = (int)strlen(g.zLocalRoot); |
| 49 | for(i=2; i<g.argc; i++) { |
| 50 | Blob fname; |
| 51 | file_canonical_name(g.argv[i], &fname, 0); |
| 52 | zTreeName = blob_str(&fname)+nRoot; |
| 53 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -43,10 +43,11 @@ | |
| 43 | Blob rewrittenPathname; |
| 44 | Blob where; |
| 45 | const char *zTreeName; |
| 46 | int i, nRoot; |
| 47 | |
| 48 | blob_zero(&where); |
| 49 | nRoot = (int)strlen(g.zLocalRoot); |
| 50 | for(i=2; i<g.argc; i++) { |
| 51 | Blob fname; |
| 52 | file_canonical_name(g.argv[i], &fname, 0); |
| 53 | zTreeName = blob_str(&fname)+nRoot; |
| 54 |