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?