diff options
author | 2003-06-25 22:38:11 +0000 | |
---|---|---|
committer | 2003-06-25 22:38:11 +0000 | |
commit | 0780a6ba210909dcf06cdeb0d77e529539b091de (patch) | |
tree | 9b0db14796b3bb8982e94075ed8ca66385237367 /usr.bin/diff/diffreg.c | |
parent | mimic delays pattern from i82365 on socket enable. actually pull the reset line before clearing it. this together makes some more cards work and unwedges my wedged wedgy on reboot alright; miod@ ok and testing (diff) | |
download | wireguard-openbsd-0780a6ba210909dcf06cdeb0d77e529539b091de.tar.xz wireguard-openbsd-0780a6ba210909dcf06cdeb0d77e529539b091de.zip |
fix unified diff output. ok millert@
Diffstat (limited to 'usr.bin/diff/diffreg.c')
-rw-r--r-- | usr.bin/diff/diffreg.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c index ec86dfd9643..e4c2123da31 100644 --- a/usr.bin/diff/diffreg.c +++ b/usr.bin/diff/diffreg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffreg.c,v 1.17 2003/06/25 22:14:43 millert Exp $ */ +/* $OpenBSD: diffreg.c,v 1.18 2003/06/25 22:38:11 tedu Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -1165,23 +1165,23 @@ dump_unified_vec(void) switch (ch) { case 'c': - fetch(ixold, lowa, a - 1, input[0], " ", 0); - fetch(ixold, a, b, input[0], "- ", 0); - fetch(ixnew, c, d, input[1], "+ ", 0); + fetch(ixold, lowa, a - 1, input[0], " ", 0); + fetch(ixold, a, b, input[0], "-", 0); + fetch(ixnew, c, d, input[1], "+", 0); break; case 'd': - fetch(ixold, lowa, a - 1, input[0], " ", 0); - fetch(ixold, a, b, input[0], "- ", 0); + fetch(ixold, lowa, a - 1, input[0], " ", 0); + fetch(ixold, a, b, input[0], "-", 0); break; case 'a': - fetch(ixnew, lowc, c - 1, input[1], " ", 0); - fetch(ixnew, c, d, input[1], "+ ", 0); + fetch(ixnew, lowc, c - 1, input[1], " ", 0); + fetch(ixnew, c, d, input[1], "+", 0); break; } lowa = b + 1; lowc = d + 1; } - fetch(ixnew, d + 1, upd, input[1], " ", 0); + fetch(ixnew, d + 1, upd, input[1], " ", 0); context_vec_ptr = context_vec_start - 1; } |