| Server IP : 82.208.35.60 / Your IP : 216.73.217.103 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/audio/libsidplay/files/ |
Upload File : |
--- src/sidtune.cpp.orig 2010-08-20 11:48:14 UTC
+++ src/sidtune.cpp
@@ -35,7 +35,9 @@ using namespace std;
#include "myendian.h"
#include "pp.h"
+using namespace std;
+
const char text_songNumberExceed[] = "WARNING: Selected song number was too high";
const char text_emptyFile[] = "ERROR: File is empty";
const char text_unrecognizedFormat[] = "ERROR: Could not determine file format";
@@ -307,9 +309,9 @@ udword sidTune::loadFile(const char* fileName, ubyte**
}
// Open binary input file stream at end of file.
#if defined(SID_HAVE_IOS_BIN)
- ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
+ ifstream myIn( fileName, ios::in|ios::bin );
#else
- ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
+ ifstream myIn( fileName, ios::in|ios::binary );
#endif
// As a replacement for !is_open(), bad() and the NOT-operator
// don't seem to work on all systems.