Hi anybody!

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

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

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

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

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

If you change this line into

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

then all works fine!

            So Lyx 1.1.4fix1 is international on Win32!

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

Regards
Claus

Reply via email to