Index: src/add.c
===================================================================
--- src/add.c
+++ src/add.c
@@ -188,12 +188,12 @@
}else if( file_isfile(zPath) ){
db_multi_exec("INSERT INTO sfile VALUES(%Q)", zPath);
}
blob_resize(&path, origSize);
}
+ closedir(d);
}
- closedir(d);
blob_reset(&path);
}
/*
** Add all content of a directory.
@@ -321,12 +321,12 @@
}
blob_reset(&pathname);
}
blob_resize(&path, origSize);
}
+ closedir(d);
}
- closedir(d);
blob_reset(&path);
}
/*
** COMMAND: rm
Index: src/rebuild.c
===================================================================
--- src/rebuild.c
+++ src/rebuild.c
@@ -592,21 +592,22 @@
recon_read_dir(zSubpath);
}
blob_init(&path, 0, 0);
blob_appendf(&path, "%s", zSubpath);
if( blob_read_from_file(&aContent, blob_str(&path))==-1 ){
- fossil_panic("some unknown error occurred while reading \"%s\"",
+ fossil_panic("some unknown error occurred while reading \"%s\"",
blob_str(&path));
}
content_put(&aContent, 0, 0, 0);
blob_reset(&path);
blob_reset(&aContent);
free(zSubpath);
printf("\r%d", ++nFileRead);
fflush(stdout);
}
- }else {
+ closedir(d);
+ } else {
fossil_panic("encountered error %d while trying to open \"%s\".",
errno, g.argv[3]);
}
}
Index: src/vfile.c
===================================================================
--- src/vfile.c
+++ src/vfile.c
@@ -310,12 +310,12 @@
}else if( file_isfile(zPath) && !db_exists(zSql, &zPath[nPrefix+1]) ){
db_multi_exec("INSERT INTO sfile VALUES(%Q)", &zPath[nPrefix+1]);
}
blob_resize(pPath, origSize);
}
+ closedir(d);
}
- closedir(d);
}
/*
** Compute an aggregate MD5 checksum over the disk image of every
** file in vid. The file names are part of the checksum. The resulting
Index: www/copyright-release.html
===================================================================
--- www/copyright-release.html
+++ www/copyright-release.html
@@ -2,15 +2,14 @@
Assignment of Copyright for
Contributions To The Fossil SCM
-This Agreement is made between Hipp, Wyrick & Company, Inc., a -Georgia corporation with headquarters at 6200 Maple Cove Lane, Charlotte, NC, -(hereafter "Hwaci") -and NAME AND ADDRESS OF PROGRAMMER (hereafter -"Programmer"). +This Agreement is made between Hipp, Wyrick & Company, Inc., a Georgia +corporation with headquarters at 6200 Maple Cove Lane, Charlotte, NC, +(hereafter "Hwaci") and Sean Chittenden, an individual with residence at 239 +Villa Ter #4, San Mateo, CA 94401 (hereafter "Programmer").
For valuable consideration, receipt and sufficiency of which are hereby acknowledged, Programmer and Hwaci agree as follows:
@@ -38,26 +37,26 @@ this Agreement.In witness whereof, the parties have executed this Agreement, -effective this YYYY-MM-DD +effective this 8th of February, 2011 (2011-02-08).
+ | |||
HWACI By: Print Name: Title: - | + |
PROGRAMMER By: -Print Name: - -Title: - + Print Name: Sean Chittenden +Title: Self +Email: PGP Key fingerprint: |