emacs-devel
[Top][All Lists]
Advanced

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

Re: Reading D-Bus messages


From: Ken Brown
Subject: Re: Reading D-Bus messages
Date: Thu, 23 Sep 2010 10:26:41 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3

On 9/23/2010 9:42 AM, Michael Albinus wrote:
Ken Brown<address@hidden>  writes:

Grepping /usr/include, I see that SIGIO (and FIONREAD) seem to be
defined.  So I think the trouble must be that these get undefined in the
emacs build, perhaps because of the '#undef INTERRUPT_INPUT' in
src/s/cygwin.h.  I changed it to '#define INTERRUPT_INPUT' and rebuilt,
but dbus still didn't work.  I'm in the process of bootstrapping right
now so I can try again.  I don't understand the build process well
enough to know whether bootstrapping should be necessary after this change.

Same here, even after a bootstrap. For the time being I use

#if defined (SIGIO) || defined (CYGWIN)
       gobble_input (0);
#endif /* SIGIO */

But this is ugly, and it shouldn't be the final solution.

I was wrong about SIGIO being defined in Cygwin. (I was careless in my grepping and didn't look closely enough at the header files.) And an answer just appeared on the Cygwin list, saying that SIGIO is undefined because the functionality is not implemented.

So now the question is just finding the best way to deal with this. Do you understand why gobble_input is called only if SIGIO is defined?

Ken



reply via email to

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