diff --git a/tools/cfspack/cfspack.c b/tools/cfspack/cfspack.c index f222c79..d89d266 100644 --- a/tools/cfspack/cfspack.c +++ b/tools/cfspack/cfspack.c @@ -136,7 +136,10 @@ int main(int argc, char *argv[]) // special case: just one file return spitblock(srcpath, basename(srcpath)); } else { - return spitdir(srcpath, "", pattern); + int r = spitdir(srcpath, "", pattern); + char emptyblock[BLKSIZE] = {'C', 'F', 'S', 0}; + fwrite(emptyblock, BLKSIZE, 1, stdout); + return r; } }