]> git.lyx.org Git - lyx.git/blobdiff - src/support/copy.C
Remove executable status info from typeIndicator.
[lyx.git] / src / support / copy.C
index 6ad896f1566d8e53a978155d6ba3124ad91091f8..b39c771b63003e0b6d834a5083b5d851ac9a02b9 100644 (file)
@@ -23,7 +23,7 @@ using std::string;
 
 bool lyx::support::copy(string const & from, string const & to)
 {
-       ifstream ifs(from.c_str());
+       ifstream ifs(from.c_str(), ios::binary);
        if (!ifs)
                return false;
        ofstream ofs(to.c_str(),