On Sun, Nov 03, 2002 at 04:10:28PM +0100, Alexander Gottwald wrote: >Alexander Gottwald wrote: > >> Sven K?hler wrote: >> >> > good hint, now it works >> > why? what's the problem using text-mounts with XWin? >> >> either xkbcomp or XWin opens the file in the wrong mode (they do not >> specify if the data is binary or text) so it get's opened in the mode >> which was specified with mount. I've just fixed the line in XWin but >> have not tested if it fails too. But I guess it's xkbcomp which is the >> problem. > >xkbcomp was not aware of binary or text files. I've changed it and xkbcomp >now produces files with same length for binary and text mounts. Attached is >a patch for this. It also patches the Xserver to open the files in binmode. > >A test binary is available: >http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 >replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or >/etc/X11/xkb
Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? cgf