mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-02-02 06:38:57 +01:00
Correctly display the size of the argument buffer we really allocated.
This commit is contained in:
@@ -664,7 +664,18 @@ main (int argc, char **argv)
|
||||
(posix_arg_size_max - size_of_environment));
|
||||
fprintf(stderr,
|
||||
_("Size of command buffer we are actually using: %ld\n"),
|
||||
arg_size);
|
||||
bc_ctl.arg_max);
|
||||
|
||||
if (isatty(STDIN_FILENO))
|
||||
{
|
||||
fprintf(stderr,
|
||||
"\n"
|
||||
"Execution of xargs will continue now, and it will "
|
||||
"try to read its input and run commands; if this is "
|
||||
"not what you wanted to happen, please type the "
|
||||
"end-of-file keystroke.\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
linebuf = (char *) xmalloc (bc_ctl.arg_max + 1);
|
||||
|
||||
Reference in New Issue
Block a user