Fossil SCM
Fix a C++ comment in sha1.c. Fix a help text typo.
Commit
a6f3dd1ce7c155b20ef5b43f11da1eca4f05d8ec
Parent
16a6dfefd1f4515…
2 files changed
+3
-3
+1
-1
+3
-3
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -74,13 +74,13 @@ | ||
| 74 | 74 | ** rebuild Rebuild on all repositories |
| 75 | 75 | ** |
| 76 | 76 | ** sync Run a "sync" on all repositories |
| 77 | 77 | ** |
| 78 | 78 | ** Respositories are automatically added to the set of known repositories |
| 79 | -** when one of the following commands against the repository: clone, info, | |
| 80 | -** pull, push, or sync. Even previously ignored repositories are added back | |
| 81 | -** to the list of repositories by these commands. | |
| 79 | +** when one of the following commands are run against the repository: clone, | |
| 80 | +** info, pull, push, or sync. Even previously ignored repositories are | |
| 81 | +** added back to the list of repositories by these commands. | |
| 82 | 82 | */ |
| 83 | 83 | void all_cmd(void){ |
| 84 | 84 | int n; |
| 85 | 85 | Stmt q; |
| 86 | 86 | const char *zCmd; |
| 87 | 87 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -74,13 +74,13 @@ | |
| 74 | ** rebuild Rebuild on all repositories |
| 75 | ** |
| 76 | ** sync Run a "sync" on all repositories |
| 77 | ** |
| 78 | ** Respositories are automatically added to the set of known repositories |
| 79 | ** when one of the following commands against the repository: clone, info, |
| 80 | ** pull, push, or sync. Even previously ignored repositories are added back |
| 81 | ** to the list of repositories by these commands. |
| 82 | */ |
| 83 | void all_cmd(void){ |
| 84 | int n; |
| 85 | Stmt q; |
| 86 | const char *zCmd; |
| 87 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -74,13 +74,13 @@ | |
| 74 | ** rebuild Rebuild on all repositories |
| 75 | ** |
| 76 | ** sync Run a "sync" on all repositories |
| 77 | ** |
| 78 | ** Respositories are automatically added to the set of known repositories |
| 79 | ** when one of the following commands are run against the repository: clone, |
| 80 | ** info, pull, push, or sync. Even previously ignored repositories are |
| 81 | ** added back to the list of repositories by these commands. |
| 82 | */ |
| 83 | void all_cmd(void){ |
| 84 | int n; |
| 85 | Stmt q; |
| 86 | const char *zCmd; |
| 87 |
+1
-1
| --- src/sha1.c | ||
| +++ src/sha1.c | ||
| @@ -82,11 +82,11 @@ | ||
| 82 | 82 | #define d qq[3] |
| 83 | 83 | #define e qq[4] |
| 84 | 84 | |
| 85 | 85 | void SHA1Transform(unsigned int state[5], const unsigned char buffer[64]) |
| 86 | 86 | { |
| 87 | - unsigned int qq[5]; // a, b, c, d, e; | |
| 87 | + unsigned int qq[5]; /* a, b, c, d, e; */ | |
| 88 | 88 | static int one = 1; |
| 89 | 89 | unsigned int block[16]; |
| 90 | 90 | memcpy(block, buffer, 64); |
| 91 | 91 | memcpy(qq,state,5*sizeof(unsigned int)); |
| 92 | 92 | |
| 93 | 93 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -82,11 +82,11 @@ | |
| 82 | #define d qq[3] |
| 83 | #define e qq[4] |
| 84 | |
| 85 | void SHA1Transform(unsigned int state[5], const unsigned char buffer[64]) |
| 86 | { |
| 87 | unsigned int qq[5]; // a, b, c, d, e; |
| 88 | static int one = 1; |
| 89 | unsigned int block[16]; |
| 90 | memcpy(block, buffer, 64); |
| 91 | memcpy(qq,state,5*sizeof(unsigned int)); |
| 92 | |
| 93 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -82,11 +82,11 @@ | |
| 82 | #define d qq[3] |
| 83 | #define e qq[4] |
| 84 | |
| 85 | void SHA1Transform(unsigned int state[5], const unsigned char buffer[64]) |
| 86 | { |
| 87 | unsigned int qq[5]; /* a, b, c, d, e; */ |
| 88 | static int one = 1; |
| 89 | unsigned int block[16]; |
| 90 | memcpy(block, buffer, 64); |
| 91 | memcpy(qq,state,5*sizeof(unsigned int)); |
| 92 | |
| 93 |