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

connect.c and errno

From
MWMorten Welinder <mwelinder@gmail.com>
Date
Jun 28, 2006, 16:56 UTC
Message-ID
<118833cc0606280956s4081029ci5b3cd1fdf4b10c97@mail.gmail.com>

It looks like connect.c waits too long before it uses errno in both copies of git_tcp_connect_sock. Both close and freeaddrinfo can poke any non-zero value in there.

M.
Next: Petr Baudis
Message 1 of 3 in “connect.c and errno”
  1. Morten WelinderJun 28, 2006
  2. Fix errno usage in connect.cPetr Baudis, Jul 1, 2006
  3. Junio C HamanoJul 2, 2006

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.