git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK

From
EWEric Wong <e@80x24.org>
Date
Jul 22, 2016, 19:31 UTC
Message-ID
<20160722193156.GA30158@dcvr>
In-Reply-To
<28dbe3b0-7a16-1b87-3d59-b8c981fead7c@kdbg.org>
Johannes Sixt <j6t@kdbg.org> wrote:
> The previous commit introduced the first use of ENOTSOCK. This macro is
> not available on Windows. Define it as WSAENOTSOCK because that is the
> corresponding error value reported by the Windows versions of socket
> functions.

Thanks. I thought compat/poll/poll.c already used ENOTSOCK but I was mislead by the #ifdefs :x

Previous: Johannes Sixt
Message 6 of 6 in “Windows: add missing definition of ENOTSOCK”
  1. Windows: add missing definition of ENOTSOCKJohannes Sixt, Jul 21, 2016
  2. Johannes SchindelinJul 22, 2016
  3. Junio C HamanoJul 22, 2016
  4. Johannes SchindelinJul 23, 2016
  5. Windows: add missing definition of ENOTSOCKJohannes Sixt, Jul 23, 2016
  6. Eric WongJul 22, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.