We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ find ~ -print0 | ./target/debug/xargs -0 echo >/dev/null Error: Command could not be run: Argument list too long (os error 7)
From a quick look, there's at least an issue here:
findutils/src/xargs/mod.rs
Lines 141 to 146 in 36e3229
This needs to count not only the length of the string, but also the size of the pointer that ends up in argv/envp.
argv
envp
It might be worth using the https://crates.io/crates/argmax crate to do this accounting for us. It could also help for #6.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From a quick look, there's at least an issue here:
findutils/src/xargs/mod.rs
Lines 141 to 146 in 36e3229
This needs to count not only the length of the string, but also the size of the pointer that ends up in
argv
/envp
.It might be worth using the https://crates.io/crates/argmax crate to do this accounting for us. It could also help for #6.
The text was updated successfully, but these errors were encountered: