[Top][All Lists]
[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)
socket-stuff.diff
Description: Binary data
- Re: emacsclient horribly broken,
Tim Van Holder <=
- Re: emacsclient horribly broken, Juanma Barranquero, 2006/11/01
- Re: emacsclient horribly broken, Tim Van Holder, 2006/11/02
- Re: emacsclient horribly broken, Juanma Barranquero, 2006/11/02
- Re: emacsclient horribly broken, Tim Van Holder, 2006/11/02
- Re: emacsclient horribly broken, Juanma Barranquero, 2006/11/02
- Re: emacsclient horribly broken, Tim Van Holder, 2006/11/02
- Re: emacsclient horribly broken, Stefan Monnier, 2006/11/02
- Re: emacsclient horribly broken, Juanma Barranquero, 2006/11/02