]> git.lyx.org Git - lyx.git/blobdiff - src/support/copy.C
Remove executable status info from typeIndicator.
[lyx.git] / src / support / copy.C
index 306d788cc7ba3750335ded6e89ecd92b3d2aa1d5..b39c771b63003e0b6d834a5083b5d851ac9a02b9 100644 (file)
 #include <fstream>
 
 #include "support/lyxlib.h"
-#include "support/std_string.h"
+
 
 using std::ifstream;
 using std::ofstream;
 using std::ios;
+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(),