This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XWin.exe crashes


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

If it still fails, please test the patched XWin.exe too
http://www-user.tu-chemnitz.de/~goal/xfree/XWin-binmode.exe.bz2

bye
    ago

NP: Blutengel - Schmerz 2 - Lust
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723

Attachment: xkbLoad.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]