>>>>> "Claus" == Claus Hentschel <[EMAIL PROTECTED]> writes:

Claus> Hi anybody! Maybe you Know, that I'm working on ports for Win32
Claus> of Lyx. There were some messages a few weeks ago, concerning
Claus> that port!

Claus> Now some people asked me because it is not possible to enable
Claus> german, dutch or whatever menus in Lyx? And of course this does
Claus> not work with my port - But it works with Steven van Dijk's
Claus> port of Lyx 1.0.4!

Claus> So I analyzed the code and found (maybe) a bug:

Claus>    intl/loadmsgcat.c line 88 fd = open(...,O_RDONLY)

Claus> With this line Lyx hangs in the read system call, I think
Claus> because of cr/nl-converison etc. there are only send less
Claus> characters than fetched with fstat().

Claus> If you change this line into

Claus>    intl/loadmsgcat.c line 88 fd = open(...,O_RDONLY | O_BINARY)

Claus> then all works fine!

Claus>             So Lyx 1.1.4fix1 is international on Win32!

Unfortunately, it seems to me that O_BINARY is not standard. I do not
have it in my compaq Tru64 man pages.

Claus> BTW: Editing loadmsgcat.c and calling make will result in
Claus> compiling that file and bindung the new library libintl.a but:
Claus> LYX WILL NOT BE REBUILD! It seems, that the depencies of
Claus> src/lyx(.exe) are not correct!

Thanks for pointing this out.

JMarc

Reply via email to