← Commit list

6ab4e2a0d

Denys Vlasenko
Denys Vlasenko
2026-08-31
SUCCESS Duration: 150s

Subject

vi: code shrink

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 →

editors/vi.c+1 -3
@@ -2697,9 +2697,7 @@ static char *expand_args(char *args)
replace = alt_filename;
} else {
if (*s == '\\' && s[1] != '\0') {
- char *t;
- for (t = s; *t; t++)
- *t = t[1];
+ overlapping_strcpy(s, s + 1);
s++;
}
continue;