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

Re: [PATCH] Handle the errors from chdir in set_work_tree

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 2, 2007, 22:07 UTC
Message-ID
<Pine.LNX.4.64.0708022306530.14781@racer.site>
In-Reply-To
<7v8x8ttx7y.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 2 Aug 2007, Junio C Hamano wrote:
Show 8 quoted lines
> Fix work-tree related breakages
> 
> In set_work_tree(), variable rel needs to be reinitialized to
> NULL on every call (it should not be static).
> 
> Make sure the incoming dir variable is not too long before
> copying to the temporary buffer, and make sure chdir to the
> resulting directory succeeds.
ACK.
(Forget my patch, please)

Ciao, Dscho

Previous: Junio C HamanoNext: Alex Riesen
Message 4 of 6 in “Handle the errors from chdir in set_work_tree”
  1. Handle the errors from chdir in set_work_treeAlex Riesen, Aug 2, 2007
  2. Johannes SchindelinAug 2, 2007
  3. Junio C HamanoAug 2, 2007
  4. Johannes SchindelinAug 2, 2007
  5. Alex RiesenAug 2, 2007
  6. Junio C HamanoAug 2, 2007

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.