Fossil SCM

Fix harmless comment and spacing typos.

drh 2016-08-23 14:12 trunk
Commit 3a66ed0bee8ab3fc2d2221149f449a9ebe09ec17
2 files changed +1 -1 +2 -2
+1 -1
--- src/content.c
+++ src/content.c
@@ -457,11 +457,11 @@
457457
458458
/*
459459
** Make sure the g.rcvid global variable has been initialized.
460460
**
461461
** If the g.zIpAddr variable has not been set when this routine is
462
-** called, use zSrc as the source of content for the the rcvfrom
462
+** called, use zSrc as the source of content for the rcvfrom
463463
** table entry.
464464
*/
465465
void content_rcvid_init(const char *zSrc){
466466
if( g.rcvid==0 ){
467467
user_select();
468468
--- src/content.c
+++ src/content.c
@@ -457,11 +457,11 @@
457
458 /*
459 ** Make sure the g.rcvid global variable has been initialized.
460 **
461 ** If the g.zIpAddr variable has not been set when this routine is
462 ** called, use zSrc as the source of content for the the rcvfrom
463 ** table entry.
464 */
465 void content_rcvid_init(const char *zSrc){
466 if( g.rcvid==0 ){
467 user_select();
468
--- src/content.c
+++ src/content.c
@@ -457,11 +457,11 @@
457
458 /*
459 ** Make sure the g.rcvid global variable has been initialized.
460 **
461 ** If the g.zIpAddr variable has not been set when this routine is
462 ** called, use zSrc as the source of content for the rcvfrom
463 ** table entry.
464 */
465 void content_rcvid_init(const char *zSrc){
466 if( g.rcvid==0 ){
467 user_select();
468
--- src/unversioned.c
+++ src/unversioned.c
@@ -34,11 +34,11 @@
3434
static const char zUnversionedInit[] =
3535
@ CREATE TABLE IF NOT EXISTS repository.unversioned(
3636
@ name TEXT PRIMARY KEY, -- Name of the uv file
3737
@ rcvid INTEGER, -- Where received from
3838
@ mtime DATETIME, -- timestamp. Seconds since 1970.
39
-@ hash TEXT, -- Content hash. NULL if a delete marker
39
+@ hash TEXT, -- Content hash. NULL if a delete marker
4040
@ sz INTEGER, -- size of content after decompression
4141
@ encoding INT, -- 0: plaintext. 1: zlib compressed
4242
@ content BLOB -- content of the file. NULL if oversized
4343
@ ) WITHOUT ROWID;
4444
;
@@ -310,11 +310,11 @@
310310
verify_all_options();
311311
if( g.argc!=5 ) usage("export UVFILE OUTPUT");
312312
if( unversioned_content(g.argv[3], &content) ){
313313
fossil_fatal("no such uv-file: %Q", g.argv[3]);
314314
}
315
- blob_write_to_file(&content, g.argv[4]);
315
+ blob_write_to_file(&content, g.argv[4]);
316316
blob_reset(&content);
317317
}else if( memcmp(zCmd, "hash", nCmd)==0 ){ /* undocumented */
318318
/* Show the hash value used during uv sync */
319319
int debugFlag = find_option("debug",0,0)!=0;
320320
fossil_print("%s\n", unversioned_content_hash(debugFlag));
321321
--- src/unversioned.c
+++ src/unversioned.c
@@ -34,11 +34,11 @@
34 static const char zUnversionedInit[] =
35 @ CREATE TABLE IF NOT EXISTS repository.unversioned(
36 @ name TEXT PRIMARY KEY, -- Name of the uv file
37 @ rcvid INTEGER, -- Where received from
38 @ mtime DATETIME, -- timestamp. Seconds since 1970.
39 @ hash TEXT, -- Content hash. NULL if a delete marker
40 @ sz INTEGER, -- size of content after decompression
41 @ encoding INT, -- 0: plaintext. 1: zlib compressed
42 @ content BLOB -- content of the file. NULL if oversized
43 @ ) WITHOUT ROWID;
44 ;
@@ -310,11 +310,11 @@
310 verify_all_options();
311 if( g.argc!=5 ) usage("export UVFILE OUTPUT");
312 if( unversioned_content(g.argv[3], &content) ){
313 fossil_fatal("no such uv-file: %Q", g.argv[3]);
314 }
315 blob_write_to_file(&content, g.argv[4]);
316 blob_reset(&content);
317 }else if( memcmp(zCmd, "hash", nCmd)==0 ){ /* undocumented */
318 /* Show the hash value used during uv sync */
319 int debugFlag = find_option("debug",0,0)!=0;
320 fossil_print("%s\n", unversioned_content_hash(debugFlag));
321
--- src/unversioned.c
+++ src/unversioned.c
@@ -34,11 +34,11 @@
34 static const char zUnversionedInit[] =
35 @ CREATE TABLE IF NOT EXISTS repository.unversioned(
36 @ name TEXT PRIMARY KEY, -- Name of the uv file
37 @ rcvid INTEGER, -- Where received from
38 @ mtime DATETIME, -- timestamp. Seconds since 1970.
39 @ hash TEXT, -- Content hash. NULL if a delete marker
40 @ sz INTEGER, -- size of content after decompression
41 @ encoding INT, -- 0: plaintext. 1: zlib compressed
42 @ content BLOB -- content of the file. NULL if oversized
43 @ ) WITHOUT ROWID;
44 ;
@@ -310,11 +310,11 @@
310 verify_all_options();
311 if( g.argc!=5 ) usage("export UVFILE OUTPUT");
312 if( unversioned_content(g.argv[3], &content) ){
313 fossil_fatal("no such uv-file: %Q", g.argv[3]);
314 }
315 blob_write_to_file(&content, g.argv[4]);
316 blob_reset(&content);
317 }else if( memcmp(zCmd, "hash", nCmd)==0 ){ /* undocumented */
318 /* Show the hash value used during uv sync */
319 int debugFlag = find_option("debug",0,0)!=0;
320 fossil_print("%s\n", unversioned_content_hash(debugFlag));
321

Keyboard Shortcuts

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