Fossil SCM

Fix a C++ comment in sha1.c. Fix a help text typo.

drh 2011-10-10 19:33 trunk
Commit a6f3dd1ce7c155b20ef5b43f11da1eca4f05d8ec
2 files changed +3 -3 +1 -1
+3 -3
--- src/allrepo.c
+++ src/allrepo.c
@@ -74,13 +74,13 @@
7474
** rebuild Rebuild on all repositories
7575
**
7676
** sync Run a "sync" on all repositories
7777
**
7878
** 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.
8282
*/
8383
void all_cmd(void){
8484
int n;
8585
Stmt q;
8686
const char *zCmd;
8787
--- 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 @@
8282
#define d qq[3]
8383
#define e qq[4]
8484
8585
void SHA1Transform(unsigned int state[5], const unsigned char buffer[64])
8686
{
87
- unsigned int qq[5]; // a, b, c, d, e;
87
+ unsigned int qq[5]; /* a, b, c, d, e; */
8888
static int one = 1;
8989
unsigned int block[16];
9090
memcpy(block, buffer, 64);
9191
memcpy(qq,state,5*sizeof(unsigned int));
9292
9393
--- 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

Keyboard Shortcuts

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