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

RE: [ANNOUNCE] Git v2.17.0

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Apr 2, 2018, 19:57 UTC
Message-ID
<014501d3cabc$e5f22370$b1d66a50$@nexbridge.com>
In-Reply-To
<xmqq6059z9kz.fsf@gitster-ct.c.googlers.com>
On April 2, 2018 3:34 PM, Junio C Hamano wrote:
> The latest feature release Git v2.17.0 is now available at the usual places.  It is
> comprised of 516 non-merge commits since v2.16.0, contributed by 71
> people, 20 of which are new faces.
Just a heads up. I think this one might have gotten missed at some point a few months back. I think it was submitted back in January. Not sure where it fell off or whether it was just dropped.
diff --git a/transport-helper.c b/transport-helper.c
index 3f380d87d..5ee7007f6 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -1212,7 +1212,7 @@ static int udt_do_read(struct unidirectional_transfer *t)
                return 0;       /* No space for more. */

        transfer_debug("%s is readable", t->src_name);
-       bytes = read(t->src, t->buf + t->bufuse, BUFFERSIZE - t->bufuse);
+       bytes = xread(t->src, t->buf + t->bufuse, BUFFERSIZE - t->bufuse);
        if (bytes < 0 && errno != EWOULDBLOCK && errno != EAGAIN &&
                errno != EINTR) {
                error_errno("read(%s) failed", t->src_name);

Cheers,
Randall
Previous: Junio C HamanoNext: Stefan Beller
Message 2 of 7 in “[ANNOUNCE] Git v2.17.0”
  1. Junio C HamanoApr 2, 2018
  2. Randall S. BeckerApr 2, 2018
  3. Stefan BellerApr 2, 2018
  4. Randall S. BeckerApr 2, 2018
  5. Junio C HamanoApr 2, 2018
  6. Randall S. BeckerApr 2, 2018
  7. Randall S. BeckerApr 4, 2018

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.