Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/archivers/ccmix/files/patch-src_mix__file.cpp
16461 views
1
--- src/mix_file.cpp.orig 2017-06-12 14:07:35 UTC
2
+++ src/mix_file.cpp
3
@@ -75,7 +75,7 @@ bool MixFile::open(const string path)
4
if (fh.is_open())
5
close();
6
7
- fh.open(path.c_str(), fstream::in | fstream::out | fstream::binary);
8
+ fh.open(path.c_str(), fstream::in | fstream::binary);
9
if (!fh.is_open()) {
10
cout << "File " << path << " failed to open" << endl;
11
return false;
12
13