← Commit list

70685bd02

Denis Vlasenko
Denis Vlasenko
2008-06-24
FAILED Duration: 24s

Subject

vi: fix yet another vda's thinko

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 -0
@@ -1894,6 +1894,7 @@ static char *text_hole_make(char *p, int size) // at "p", make a 'size' byte hol
p = new_text + (p - text);
text = new_text;
}
+ memmove(p + size, p, end - p);
memset(p, ' ', size); // clear new hole
file_modified++;
return p;