Bug#965105: Found a solution.

2020-07-16 Thread Roberto Resoli
On Thu, 16 Jul 2020 20:24:16 +0200 Roberto Resoli wrote: > After some digging in the code, I found the problem. > So ioctl MTGETCPOS is never called, and an lseek is issued instead. Sorry, I meant MTIOCPOS. rob

Bug#965105: Found a solution.

2020-07-16 Thread Roberto Resoli
After some digging in the code, I found the problem. An int "magtapeout" variable is used in "common/legacy_indexer.c" and in "dump/tape.c" to discriminate between tape and other dump output devices. The variable was declared "extern" in indexer.c, but that declaration was commented out and a s