groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] still exploring the last version: what is gremlin ?


From: Daniel Senderowicz
Subject: Re: [Groff] still exploring the last version: what is gremlin ?
Date: Fri, 6 Oct 2000 12:35:46 -0700 (PDT)

>> I just discovered that a change made in main.c for xgremlin-2.0
>> in line 592:
>> 
>>   readmask = ConnectionNumber(display);/*1 << display->fd;*/ 
>> 
>> slows down the program VERY much, so I went back to the old line,
>> that is:
>> 
>>              readmask = 1 << display->fd;
>
>I just realized that the change is wrong -- it should be:
>
>       readmask = 1 << ConnectionNumber(display);

This one works fine.

>Actually, assuming that readmask is a mask for select, it should
>probably be more like:
>
>       FD_ZERO(&readmask);
>       FD_SET(ConnectionNumber(display), &readmask);

This couple of lines give the following error message:

main.c:595: request for member `fds_bits' in something not a structure or union
*** Error code 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]