this is a forward of debian bug #826669 ( bugs.debian.org/826669 ): dump -Q filename fails because the qfa filename is not communicated to the indexer plugin thing.
symptom:
DUMP: writing QFA positions to (null)
DUMP: can't open tapeposfile
dump/main.c has a very relevant fixme comment:
case 'Q': / create tapeposfile /
//gTapeposfile = optarg; // FIXME - communicate filename to indexer.
tapepos = 1;
break;
i've patched this by temporarily restoring the argument passing via gTapeposfile; declared extern and non-static. i've also adjusted the static declaration of gTapeposfd to prime it with -1: if left at default/0, the code checking that (does '>= 0') causes unwanted qfa data to be printed to stdout if you don't pass in -Q something.
thanks, i've pushed this in commit 90faeeafffe87a774fb980ec71fe36c7ee30f718. can't be worse than the status quo :).