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

Re: [PATCH] stgit: allow spaces in filenames

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
Jul 13, 2005, 16:54 UTC
Message-ID
<pan.2005.07.13.16.54.18.709929@smurf.noris.de>
In-Reply-To
<20050713083805.18461.87079.sendpatchset@bryan-larsens-ibook-g4.local>
Hi, Bryan Larsen wrote:
> +	r=os.spawnvp(os.P_WAIT, args_l[0], args_l + args[i:min(i+1000, len(args))])

The max length for argv is 32k IIRC, so 1000 is 28-byte file names. That's probably not enough. I't suggest using chunks of 100.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Don't you feel more like you do now than you did when you came in?
Previous: Bryan LarsenNext: Linus Torvalds
Message 10 of 11 in “stgit: allow spaces in filenames”
  1. stgit: allow spaces in filenamesBryan Larsen, Jul 13, 2005
  2. stgit: new --message does not workBryan Larsen, Jul 13, 2005
  3. Catalin MarinasJul 13, 2005
  4. Bryan LarsenJul 13, 2005
  5. Jerry SeutterJul 13, 2005
  6. Catalin MarinasJul 13, 2005
  7. Junio C HamanoJul 13, 2005
  8. Catalin MarinasJul 14, 2005
  9. Bryan LarsenJul 14, 2005
  10. Matthias UrlichsJul 13, 2005
  11. Linus TorvaldsJul 13, 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.