From: Derek Date: Tue, 20 Jul 2010 22:34:31 +0000 (-0400) Subject: Fixed fopen-related typo in bamtools_fasta.* X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2825eb5ba611c7e5b562ad5eafb78deee6b03420;p=bamtools.git Fixed fopen-related typo in bamtools_fasta.* --- diff --git a/bamtools_fasta.cpp b/bamtools_fasta.cpp index 7e94a52..ef1c742 100644 --- a/bamtools_fasta.cpp +++ b/bamtools_fasta.cpp @@ -200,7 +200,7 @@ bool Fasta::FastaPrivate::CreateIndex(const string& indexFilename) { // open index file if ( !indexFilename.empty() ) { - IndexStream = fopen64(indexFilename.c_str(), "wb"); + IndexStream = fopen(indexFilename.c_str(), "wb"); if ( !IndexStream ) { cerr << "FASTA error : Could not open " << indexFilename << " for writing." << endl; return false; @@ -531,7 +531,7 @@ bool Fasta::FastaPrivate::Open(const string& filename, const string& indexFilena bool success = true; // open FASTA filename - Stream = fopen64(filename.c_str(), "rb"); + Stream = fopen(filename.c_str(), "rb"); if ( !Stream ) { cerr << "FASTA error: Could not open " << filename << " for reading" << endl; return false; @@ -541,7 +541,7 @@ bool Fasta::FastaPrivate::Open(const string& filename, const string& indexFilena // open index file if it exists if ( !indexFilename.empty() ) { - IndexStream = fopen64(indexFilename.c_str(), "rb"); + IndexStream = fopen(indexFilename.c_str(), "rb"); if ( !IndexStream ) { cerr << "FASTA error : Could not open " << indexFilename << " for reading." << endl; return false;