reassign 313028 pbuilder,findutils # temporarily co-assigned to push it on my radar thanks On 2005-06-12 Junichi Uekawa <[EMAIL PROTECTED]> wrote:
> Hmm... This is a question to findutils maintainer. > I know I can fix the problem with the following patch, > > - find "$1" \( \! -type d \) -a -xdev -print0 |xargs -0 rm -f > > + find "$1" -xdev \( \! -type d \) -a -print0 | xargs -0 -n 10 rm -f > But why does xargs bail out with this without it? : > > xargs: rm: Argument list too long > Is this intentional? [...] No, it is not. I am not yet awake enough to decipher whether a) xargs passes more than ARG_MAX - (size of environment) arguments to rm or b) whether rm fails to run with ARG_MAX arguments. Either would be an rc-bug in the respective programs. I guess this was triggered by: - xargs now uses 128Kb instead of 20Kb of command line by default, as ARG_MAX is 131072 on linux this Closes: #261598. I'll look at this later, after breakfast. cu andreas -- "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/
signature.asc
Description: Digital signature