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

Re: [PATCH] Fix compilation of git.c

From
Junio C Hamano <junkio@cox.net>
Date
Nov 16, 2005, 03:01 UTC
Message-ID
<7v4q6de1oc.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0511160243360.14176@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Some systems do not define GLOB_ABORTED and GLOB_NOMATCH.

That's true, but the glob does not distinguish executables and others anyway, do wouldn't it be more portable and easier to do readdir, stat and list in the loop?

Previous: Johannes SchindelinNext: Andreas Ericsson
Message 2 of 3 in “Fix compilation of git.c”
  1. Fix compilation of git.cJohannes Schindelin, Nov 16, 2005
  2. Junio C HamanoNov 16, 2005
  3. Andreas EricssonNov 16, 2005

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.