--- Begin Message ---
Subject: |
emacsclient crashes on 64-bit linux |
Date: |
Fri, 11 Feb 2011 17:00:01 -0800 |
Emacsclient crashes with a segmentation fault on x86-64 linux. I
don't recall the exact circumstances under which it occurs [has
something to do with using a TCP connection]. Anyway, I fixed it a
while back but never reported it directly to this mailing list.
*** emacs-22.3/lib-src/emacsclient.c~ 2007-02-16 09:12:59.000000000 -0800
--- emacs-22.3/lib-src/emacsclient.c 2009-03-05 15:42:53.000000000 -0800
***************
*** 48,53 ****
--- 48,54 ----
# ifdef HAVE_INET_SOCKETS
# include <netinet/in.h>
+ # include <arpa/inet.h>
# endif
# define INVALID_SOCKET -1
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#8018: emacsclient crashes on 64-bit linux |
Date: |
Fri, 11 Feb 2011 20:10:47 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 23.1
Ahmon Dancy wrote:
> *** emacs-22.3/lib-src/emacsclient.c~ 2007-02-16 09:12:59.000000000 -0800
> --- emacs-22.3/lib-src/emacsclient.c 2009-03-05 15:42:53.000000000 -0800
> ***************
> *** 48,53 ****
> --- 48,54 ----
>
> # ifdef HAVE_INET_SOCKETS
> # include <netinet/in.h>
> + # include <arpa/inet.h>
> # endif
>
> # define INVALID_SOCKET -1
emacsclient.c has unconditionally included arpa/inet.h for the past 2
years, so I think there is nothing to be done here.
--- End Message ---