Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] stgit: allow spaces in filenames

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:02


On Wed, 13 Jul 2005, Matthias Urlichs wrote:
Hi, Bryan Larsen wrote:
quoted
+	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.
I think 32k may be the posix-mandated minimum. Linux does 128kB, so 1000 
should likely be ok for most projects.

That said, xargs should do things like that right.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help