Skip to content

Commit

Permalink
samtools 0.1.18 (r982:295) Windows x64 build 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xied75 committed May 16, 2012
1 parent 68e9e4a commit 0726ba7
Show file tree
Hide file tree
Showing 82 changed files with 12,361 additions and 5,718 deletions.
2 changes: 1 addition & 1 deletion bam.c
Expand Up @@ -77,7 +77,7 @@ bam_header_t *bam_header_read(bamFile fp)
if (i < 0) {
// If the file is a pipe, checking the EOF marker will *always* fail
// with ESPIPE. Suppress the error message in this case.
if (errno != ESPIPE) perror("[bam_header_read] bgzf_check_EOF");
if (errno != ESPIPE && errno != 0) perror("[bam_header_read] bgzf_check_EOF"); //dong code, verify
}
else if (i == 0) fprintf(stderr, "[bam_header_read] EOF marker is absent. The input is probably truncated.\n");
// read "BAM1"
Expand Down

0 comments on commit 0726ba7

Please sign in to comment.