Fix bug in directory traversal.
This off-by-one error resulted in useless reexamination of the
same files by descending twice into each directory.
diff --git a/pigz.c b/pigz.c
index d7694ea..dd96534 100644
--- a/pigz.c
+++ b/pigz.c
@@ -3542,7 +3542,7 @@
/* run process() for each entry in the directory */
base = len && g.inf[len - 1] != (unsigned char)'/' ?
- vstrcpy(&g.inf, &g.inz, len, "/") : len;
+ vstrcpy(&g.inf, &g.inz, len, "/") - 1 : len;
for (off = 0; roll[off]; off += strlen(roll + off) + 1) {
vstrcpy(&g.inf, &g.inz, base, roll + off);
process(g.inf);