src/frontends/qt2/QERT.C
src/frontends/qt2/QExternal.C
src/frontends/qt2/QExternalDialog.C
+src/frontends/qt2/QFloat.C
src/frontends/qt2/QGraphics.C
src/frontends/qt2/QInclude.C
src/frontends/qt2/QIndex.C
src/frontends/qt2/QPrintDialog.C
src/frontends/qt2/QRef.C
src/frontends/qt2/QSearch.C
+src/frontends/qt2/QShowFile.C
src/frontends/qt2/QSpellchecker.C
src/frontends/qt2/QTabularCreate.C
src/frontends/qt2/QTexinfo.C
+2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * figinset.C (runqueue): open translation file in binary mode (for
+ cygwin).
+
2002-01-27 Herbert Voss <voss@lyx.org>
* insetgraphic.[Ch]: mostly newritten to support graphicx with
// create translation file
ofstream ofs;
- ofs.open(make_tmp(getpid()).c_str());
+ ofs.open(make_tmp(getpid()).c_str(), ios::binary);
ofs << "gsave clippath pathbbox grestore\n"
<< "4 dict begin\n"
<< "/ury exch def /urx exch def /lly exch def "
+2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * copy.C (copy): open file in binary mode (for cygwin)
+
2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxsum.C: remove #warnings and replaced them with runtime debug
{
std::ifstream ifs(from.c_str());
if (!ifs) return false;
- std::ofstream ofs(to.c_str(), std::ios::out|std::ios::trunc);
+ std::ofstream ofs(to.c_str(),
+ std::ios::binary | std::ios::out | std::ios::trunc);
if (!ofs) return false;
ofs << ifs.rdbuf();
if (ofs.good()) return true;