Fossil SCM
Correct comment describing behavior of errCode.
Commit
1b01c1ad264e91d1c4958f1ff6b1e3641f0b1d16
Parent
794d4752aede6fc…
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 |