Differences From:
File
src/manifest.c
part of check-in
[dbda8d6ce9]
- Initial check-in of m1 sources.
by
drh on
2007-07-21 14:10:57.
[view]
To:
File
src/manifest.c
part of check-in
[5b58559c0c]
- Bug fix in the mlink table builder. Use the "rebuild" method to correct
the problem in preexisting repositories.
by
drh on
2007-07-31 20:53:10.
[view]
@@ -259,9 +259,9 @@
}
if( blob_size(&otherContent)==0 ) return;
if( manifest_parse(&other, &otherContent)==0 ) return;
content_deltify(pid, cid, 0);
- for(i=j=0; pParent->nFile<i && pChild->nFile<j; ){
+ for(i=j=0; i<pParent->nFile && j<pChild->nFile; ){
int c = strcmp(pParent->aFile[i].zName, pChild->aFile[j].zName);
if( c<0 ){
add_one_mlink(cid, pParent->aFile[i].zUuid, 0, pParent->aFile[i].zName);
i++;