Take dataoff into account for hed_file_insert_block
commit39fe0f3a627c6e837c24317cd75733f8a340a55c
authorPetr Tesarik <petr@tesarici.cz>
Sat, 20 Oct 2012 13:51:56 +0000 (20 15:51 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Sat, 20 Oct 2012 13:51:56 +0000 (20 15:51 +0200)
treed759771e1d09d6e3fa540be0317302ea46503d70
parent9dda37b07cb42907cda0f172915ba8f03b639ad4
Take dataoff into account for hed_file_insert_block

While impossible with the existing hed frontend, other libhed users
may want to erase from the beginning of an active insert block, which
would move dataoff, and then it must be subtracted from the number of
remaining bytes.
libhed/file.c