Fossil SCM

Improvements to some comments in vfile.c.

drh 2009-12-16 02:02 trunk
Commit 2f15cd805e037885140957e922d6e8421af24d5d
1 file changed +4 -2
+4 -2
--- src/vfile.c
+++ src/vfile.c
@@ -372,11 +372,11 @@
372372
Blob file;
373373
Stmt q;
374374
char zBuf[100];
375375
376376
db_must_be_within_tree();
377
-
377
+
378378
db_prepare(&q, "SELECT pathname, rid FROM vfile"
379379
" WHERE NOT deleted AND rid>0 AND vid=%d"
380380
" ORDER BY pathname",
381381
vid);
382382
blob_zero(&file);
@@ -396,12 +396,14 @@
396396
}
397397
398398
/*
399399
** Compute an aggregate MD5 checksum over the repository image of every
400400
** file in manifest vid. The file names are part of the checksum.
401
-**
402401
** Return the resulting checksum in blob pOut.
402
+**
403
+** If pManOut is not NULL then fill it with the checksum found in the
404
+** "R" card near the end of the manifest.
403405
*/
404406
void vfile_aggregate_checksum_manifest(int vid, Blob *pOut, Blob *pManOut){
405407
int i, fid;
406408
Blob file, mfile;
407409
Manifest m;
408410
--- src/vfile.c
+++ src/vfile.c
@@ -372,11 +372,11 @@
372 Blob file;
373 Stmt q;
374 char zBuf[100];
375
376 db_must_be_within_tree();
377
378 db_prepare(&q, "SELECT pathname, rid FROM vfile"
379 " WHERE NOT deleted AND rid>0 AND vid=%d"
380 " ORDER BY pathname",
381 vid);
382 blob_zero(&file);
@@ -396,12 +396,14 @@
396 }
397
398 /*
399 ** Compute an aggregate MD5 checksum over the repository image of every
400 ** file in manifest vid. The file names are part of the checksum.
401 **
402 ** Return the resulting checksum in blob pOut.
 
 
 
403 */
404 void vfile_aggregate_checksum_manifest(int vid, Blob *pOut, Blob *pManOut){
405 int i, fid;
406 Blob file, mfile;
407 Manifest m;
408
--- src/vfile.c
+++ src/vfile.c
@@ -372,11 +372,11 @@
372 Blob file;
373 Stmt q;
374 char zBuf[100];
375
376 db_must_be_within_tree();
377
378 db_prepare(&q, "SELECT pathname, rid FROM vfile"
379 " WHERE NOT deleted AND rid>0 AND vid=%d"
380 " ORDER BY pathname",
381 vid);
382 blob_zero(&file);
@@ -396,12 +396,14 @@
396 }
397
398 /*
399 ** Compute an aggregate MD5 checksum over the repository image of every
400 ** file in manifest vid. The file names are part of the checksum.
 
401 ** Return the resulting checksum in blob pOut.
402 **
403 ** If pManOut is not NULL then fill it with the checksum found in the
404 ** "R" card near the end of the manifest.
405 */
406 void vfile_aggregate_checksum_manifest(int vid, Blob *pOut, Blob *pManOut){
407 int i, fid;
408 Blob file, mfile;
409 Manifest m;
410

Keyboard Shortcuts

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