← Commit list

379526684

Denys Vlasenko
Denys Vlasenko
2014-02-27
SUCCESS Duration: 149s

Subject

xargs: fix compilation breakage

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

findutils/xargs.c+1 -1
@@ -373,7 +373,7 @@ static char* FAST_FUNC process_stdin_with_replace(int n_max_chars, int n_max_arg
char *arg = G.argv[i];
int count = count_strstr(arg, G.repl_str);
if (count != 0)
- arg = xmalloc_substitute_string(arg, count, G.repl_str, s);
+ arg = xmalloc_substitute_string(arg, count, G.repl_str, buf);
store_param(arg);
dbg_msg("args[]:'%s'", arg);
i++;