Diff
Not logged in

Differences From:

File src/delta.c part of check-in [73bddaebb9] - The delta compress on xfer is working better now, but still needs work. by drh on 2007-08-09 17:42:59. [view]

To:

File src/delta.c part of check-in [609e4caf29] - Fixed typos in comments by aku on 2007-08-25 03:23:20. [view]

@@ -186,9 +186,9 @@
   return v;
 }
 
 /*
-** Return the number digits in the base-46 representation of a positive integer
+** Return the number digits in the base-64 representation of a positive integer
 */
 static int digit_count(int v){
   unsigned int i, x;
   for(i=1, x=64; v>=x; i++, x <<= 6){}
@@ -235,11 +235,10 @@
 **
 ** The delta begins with a base64 number followed by a newline.  This
 ** number is the number of bytes in the TARGET file.  Thus, given a
 ** delta file z, a program can compute the size of the output file
-** simply by calling reading the first line and decoding the base-64
-** number found there.  The delta_output_size() routine does exactly
-** this.
+** simply by reading the first line and decoding the base-64 number
+** found there.  The delta_output_size() routine does exactly this.
 **
 ** After the initial size number, the delta consists of a series of
 ** literal text segments and commands to copy from the SOURCE file.
 ** A copy command looks like this: