Check-in [3ed9214338]
Not logged in
Overview

SHA1 Hash:3ed92143382f3dd9707a73764b412efe1a32b0cb
Date: 2007-09-22 19:32:21
User: drh
Comment:Fix a bug in the manifest parser so that it is able to parse the PGP headers even if the header contains \r characters.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/vfile.c from [5ad913c384] to [429ccc29e5].

@@ -98,11 +98,11 @@
   db_bind_int(&ins, ":vid", vid);
   while( blob_line(p, &line) ){
     char *z = blob_buffer(&line);
     if( z[0]=='-' ){
       if( seenHeader ) break;
-      while( blob_line(p, &line)>1 ){}
+      while( blob_line(p, &line)>2 ){}
       if( blob_line(p, &line)==0 ) break;
     }
     seenHeader = 1;
     if( z[0]!='F' || z[1]!=' ' ) continue;
     blob_token(&line, &token);  /* Skip the "F" token */