Fossil SCM
Cherrypick [1b01c1ad]: Correct comment describing behavior of errCode.
Commit
6f2b59270b14600713be269795e811548cfbbac6
Parent
f8315ee9004a017…
1 file changed
+1
-1
+1
-1
| --- src/update.c | ||
| +++ src/update.c | ||
| @@ -650,11 +650,11 @@ | ||
| 650 | 650 | const char *file, /* Full treename of the file */ |
| 651 | 651 | Blob *content, /* Put the content here */ |
| 652 | 652 | int *pIsLink, /* Set to true if file is link. */ |
| 653 | 653 | int *pIsExe, /* Set to true if file is executable */ |
| 654 | 654 | int *pIsBin, /* Set to true if file is binary */ |
| 655 | - int errCode /* Error code if file not found. Panic if 0. */ | |
| 655 | + int errCode /* Error code if file not found. Panic if <= 0. */ | |
| 656 | 656 | ){ |
| 657 | 657 | Manifest *pManifest; |
| 658 | 658 | ManifestFile *pFile; |
| 659 | 659 | int rid=0; |
| 660 | 660 | |
| 661 | 661 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -650,11 +650,11 @@ | |
| 650 | const char *file, /* Full treename of the file */ |
| 651 | Blob *content, /* Put the content here */ |
| 652 | int *pIsLink, /* Set to true if file is link. */ |
| 653 | int *pIsExe, /* Set to true if file is executable */ |
| 654 | int *pIsBin, /* Set to true if file is binary */ |
| 655 | int errCode /* Error code if file not found. Panic if 0. */ |
| 656 | ){ |
| 657 | Manifest *pManifest; |
| 658 | ManifestFile *pFile; |
| 659 | int rid=0; |
| 660 | |
| 661 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -650,11 +650,11 @@ | |
| 650 | const char *file, /* Full treename of the file */ |
| 651 | Blob *content, /* Put the content here */ |
| 652 | int *pIsLink, /* Set to true if file is link. */ |
| 653 | int *pIsExe, /* Set to true if file is executable */ |
| 654 | int *pIsBin, /* Set to true if file is binary */ |
| 655 | int errCode /* Error code if file not found. Panic if <= 0. */ |
| 656 | ){ |
| 657 | Manifest *pManifest; |
| 658 | ManifestFile *pFile; |
| 659 | int rid=0; |
| 660 | |
| 661 |