emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: emacsclient horribly broken


From: Tim Van Holder
Subject: Re: emacsclient horribly broken
Date: Wed, 1 Nov 2006 12:27:01 +0100

On 11/1/06, Juanma Barranquero <address@hidden> wrote:
On 10/31/06, Tim Van Holder <address@hidden> wrote:

> Unless I forget, I'll rework my patch tomorrow morning when
> I get in to work and do my daily build.

Bank holiday today, so I'm at home.  I haven't installed debian-amd64 yet on
my new machine, and I didn't want to try and get a Windows build set up,
so this patch is completely untested (not even compiled).  I will test it
at work tomorrow, unless someone else verifies it in the meantime.

Changes:
- configure.in: also check for sys/filio.h (alternate source for FIONBIO)
- lib-src/emacsclient.c:
 + conditionally include netinet/in.h (HAVE_INET_SOCKETS),
sys/ioctl.h (HAVE_SYS_IOCTL_H) and sys/filio.h (HAVE_SYS_FILIO_H)
 + disable emacsclient if !HAVE_INET_SOCKETS too (not quite sure if
HAVE_SOCKETS is still relevant, but I imagine HAVE_INET_SOCKETS is a
superset of HAVE_SOCKETS anyway)
 + use fcntl, not ioctl, for O_NONBLOCK/O_NDELAY (as done in src/process.c)

Attachment: socket-stuff.diff
Description: Binary data


reply via email to

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