ed

simple ed
git clone git://git.2f30.org/ed.git
Log | Files | Refs | LICENSE

commit b650b37d083f2db4efe9bb5e2b3ea53530ba04d4
parent de8be38be7f9111fc80f747c519037f5a18e7b29
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 13 Dec 2015 20:57:47 +0100

Remove the debug information about undo

Diffstat:
ed.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/ed.c b/ed.c @@ -257,7 +257,6 @@ relink(int to1, int from1, int from2, int to2) zero[from1].next = to1; zero[from2].prev = to2; modflag = 1; - fprintf(stderr, "linking %d <- %d, %d -> %d\n", to2, from2, from1, to1); } static void @@ -271,9 +270,6 @@ undo(void) for (p = &udata.vec[udata.nr-1]; udata.nr--; --p) { zero[p->from1].next = p->to1; zero[p->from2].prev = p->to2; - fprintf(stderr, - "linking %d <- %d, %d -> %d\n", - p->to2, p->from2, p->from1, p->to1); } free(udata.vec); udata.vec = NULL;