]> git.donarmstrong.com Git - bamtools.git/commitdiff
Fixed fopen-related typo in bamtools_fasta.*
authorDerek <derekwbarnett@gmail.com>
Tue, 20 Jul 2010 22:34:31 +0000 (18:34 -0400)
committerDerek <derekwbarnett@gmail.com>
Tue, 20 Jul 2010 22:34:31 +0000 (18:34 -0400)
bamtools_fasta.cpp

index 7e94a52b5e8a3e541986fb14938bf1c355f7be55..ef1c742e57073fe95b5343257bfc14c8922c4c94 100644 (file)
@@ -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;