samtools/htslib — pull request #75 by mp15 (2014-03-10 18:02:45+00:00)
Title: Reinstate bam_header_dup as bam_hdr_dup

In the original samtools API there was an undocumented call
bam_header_dup which was used to copy an existing header. As I
found this is rather useful in certain situations and I have
reinstated this.