Xwin stackdump while logging into RH8 with KDE as window manager
Harold L Hunt II
huntharo@msu.edu
Tue Oct 7 17:08:00 GMT 2003
Alexander,
Egbert Eich has scheduled your patch to xkbcomp to be committed to CVS HEAD.
Harold
Harold L Hunt II wrote:
> Alexander,
>
> I have submitted this to XFree86 to get it in before the XFree86 4.4.0
> feature deadline in about two weeks:
>
> http://bugs.xfree86.org/show_bug.cgi?id=768
>
> Harold
>
> Alexander Gottwald wrote:
>
>> Missing attachment :)
>>
>> NP: Lacrimosa - Schakal
>>
>>
>> ------------------------------------------------------------------------
>>
>> Index: xkbcomp.c
>> ===================================================================
>> RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v
>> retrieving revision 3.19
>> diff -u -u -r3.19 xkbcomp.c
>> --- xkbcomp.c 27 May 2003 22:27:07 -0000 3.19
>> +++ xkbcomp.c 7 Sep 2003 18:56:18 -0000
>> @@ -871,16 +871,30 @@
>> * -- Branden Robinson
>> */
>> int outputFileFd;
>> + int binMode = 0;
>> + const char *openMode = "w";
>> unlink(outputFile);
>> +#ifdef O_BINARY
>> + switch (outputFormat) {
>> + case WANT_XKM_FILE:
>> + binMode = O_BINARY;
>> + openMode = "wb";
>> + break;
>> + default:
>> + binMode = 0;
>> + break;
>> + }
>> +#endif
>> outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL,
>> - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
>> +
>> S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode);
>> if (outputFileFd<0) {
>> ERROR1("Cannot open \"%s\" to write keyboard description\n",
>> outputFile);
>> ACTION("Exiting\n");
>> exit(1);
>> }
>> - out= fdopen(outputFileFd, "w");
>> + + out= fdopen(outputFileFd, openMode);
>> /* end BR */
>> if (out==NULL) {
>> ERROR1("Cannot open \"%s\" to write keyboard description\n",
>
>
More information about the Cygwin-xfree
mailing list