[Top][All Lists]

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

bug#8277: Emacs should use socklen_t for socket lengths

From: Paul Eggert
Subject: bug#8277: Emacs should use socklen_t for socket lengths
Date: Sun, 20 Mar 2011 09:38:48 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110223 Thunderbird/3.1.8

On 03/17/2011 09:40 PM, Paul Eggert wrote:

> I plan to install the following patch, which uses the gnulib
> socklen module to provide a definition of socklen_t
> on platforms that do not already define it, and then
> substitutes 'socklen_t' for the relevant occurrences of 'int' in
> src/process.c.  MS-DOS and MS-Windows ports may be affected by
> this, since it adds an "#undef socklen_t" to src/config.in.

Comments by Bruno Haible on the gnulib mailing list
showed the need for an update to that patch, for the
benefit of Cygwin and MingW ports.  I've attached it; it
consists entirely of autogenerated files from Emacs's point
of view.  This adds a symbol HAVE_WS2TCPIP_H to src/config.in,
which may need to be configured for MS-DOS and MS-Windows.
I haven't committed any of this socklen_t stuff to the trunk yet,
but plan to do so after a bit more testing.

Attachment: patch.txt.gz
Description: GNU Zip compressed data

reply via email to

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