On Tue, Jan 07, 2003 at 06:13:36PM +0100, Claus Hentschel wrote: > > > That's the reason! In Lyx we do open *all* files the same way, i.e. in > > > binary mode by default. > > > > No, the default mode is text. > > Not with Win32! Have a look into src/support/os_win32.C. There > os::read:mode() does return "rb" for Win32!
I think this has nothing to do with the \r in LaTeX.C. There an ordinary ifstream is used without giving the std::ios_base::binary flag, so this should read in text mode. What the * is this os::read::mode good for anyway? It is never used, and even if it were we could use "rb" for *nix, too. And why is this wrapped in a class, not in a namespace? > Yes! See above! See above ;-} Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
