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

Re: [Bug] wrapper.c uses unportable unsetenv

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 29, 2021, 21:57 UTC
Message-ID
<xmqqfssjijdr.fsf@gitster.g>
In-Reply-To
<nycvar.QRO.7.76.6.2110292348530.56@tvgsbejvaqbjf.bet>
Johannes Schindelin <johannes.schindelin@gmail.com> writes:
Show 6 quoted lines
> @@ -24,4 +24,5 @@ void gitunsetenv (const char *name)
>  	  ++dst;
>       }
>       environ[dst] = NULL;
> +     return 0;
>  }

Yup, that hunk (with a blank before the "return") is already in my "real" version. Thanks for spotting.

Previous: Johannes Schindelin
Message 7 of 7 in “[Bug] wrapper.c uses unportable unsetenv”
  1. rsbecker@nexbridge.comOct 29, 2021
  2. Junio C HamanoOct 29, 2021
  3. rsbecker@nexbridge.comOct 29, 2021
  4. rsbecker@nexbridge.comOct 29, 2021
  5. Junio C HamanoOct 29, 2021
  6. Johannes SchindelinOct 29, 2021
  7. Junio C HamanoOct 29, 2021

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.