[Top][All Lists]

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


From: Paul Eggert
Date: Fri, 27 Mar 2015 10:58:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/27/2015 02:59 AM, Eli Zaretskii wrote:
Are there any other platforms that might
need it and the related SELECT_CAN_DO_WRITE_MASK and
NON_BLOCKING_CONNECT?  Or can these be deleted now?
No platforms should need BROKEN_NON_BLOCKING_CONNECT or SELECT_CAN_DO_WRITE_MASK, so I removed them by applying the attached patch. Platforms that predate POSIX.1-2001 might need NON_BLOCKING_CONNECT, though, since that feature wasn't standardized by POSIX until POSIX.1-2001, so I left that part alone for now.

This raises the topic of how far back in history Emacs should go, when trying to support older platforms. Currently Emacs is quite conservative and relies only on POSIX.1-1988 or later. I don't know of any currently-supported GNUish or Unixish platform that doesn't largely conform to POSIX.1-2001 or later, so as far as I know the Emacs code that runs only on hosts predating POSIX-2001 isn't being tested and quite possibly no longer works. So it would make sense for Emacs to start assuming POSIX.1-2001 or later, if there's consensus for doing that.

Attachment: 0001-Assume-BROKEN_NON_BLOCKING_CONNECT.patch
Description: Text Data

reply via email to

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