projects
/
samtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
# Uploaded samtools version 0.1.14-1.
[samtools.git]
/
bam.c
diff --git
a/bam.c
b/bam.c
index 521c1dda7897aa2b4489b103e1ee1a84129d6c63..96aace21c7ab7c261380ee2136e283022e9c834d 100644
(file)
--- a/
bam.c
+++ b/
bam.c
@@
-79,7
+79,7
@@
bam_header_t *bam_header_read(bamFile fp)
// with ESPIPE. Suppress the error message in this case.
if (errno != ESPIPE) perror("[bam_header_read] bgzf_check_EOF");
}
// with ESPIPE. Suppress the error message in this case.
if (errno != ESPIPE) perror("[bam_header_read] bgzf_check_EOF");
}
- else if (i == 0) fprintf(stderr, "[bam_header_read] EOF marker is absent.\n");
+ else if (i == 0) fprintf(stderr, "[bam_header_read] EOF marker is absent.
The input is probably truncated.
\n");
// read "BAM1"
magic_len = bam_read(fp, buf, 4);
if (magic_len != 4 || strncmp(buf, "BAM\001", 4) != 0) {
// read "BAM1"
magic_len = bam_read(fp, buf, 4);
if (magic_len != 4 || strncmp(buf, "BAM\001", 4) != 0) {