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

Re: [PATCH] Use setenv(), fix warnings

From
Junio C Hamano <junkio@cox.net>
Date
Feb 26, 2006, 20:29 UTC
Message-ID
<7vd5h96eyg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060226203756.05dcfb26.tihirvon@gmail.com>
Timo Hirvonen <tihirvon@gmail.com> writes:
Show 7 quoted lines
> putenv(3):
>     "If the argument `string` is of the form `name`, and does not
>     contain an `=' character, then the variable `name` is removed from
>     the environment."
>
> So the variable is emptied, not removed.  But usually empty environment
> variables are treated as if they didn't exist...
Yes we were aware of that when we did it.
Previous: Jason Riedy
Message 5 of 5 in “Use setenv(), fix warnings”
  1. Use setenv(), fix warningsTimo Hirvonen, Feb 26, 2006
  2. Junio C HamanoFeb 26, 2006
  3. Timo HirvonenFeb 26, 2006
  4. Jason RiedyFeb 26, 2006
  5. Junio C HamanoFeb 26, 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.