[Top][All Lists]
[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
- Re: [Groff] still exploring the last version: what is gremlin ?, (continued)
- Re: [Groff] still exploring the last version: what is gremlin ?, Daniel Senderowicz, 2000/10/06
- Re: [Groff] still exploring the last version: what is gremlin ?,
Daniel Senderowicz <=
- Re: [Groff] still exploring the last version: what is gremlin ?, Daniel Senderowicz, 2000/10/07
- Re: [Groff] still exploring the last version: what is gremlin ?, Daniel Senderowicz, 2000/10/17
- Re: [Groff] still exploring the last version: what is gremlin ?, Daniel Senderowicz, 2000/10/18