diff options
author | 2005-12-01 20:36:30 +0000 | |
---|---|---|
committer | 2005-12-01 20:36:30 +0000 | |
commit | 78de330428d4b39ae438762405e5191487cd44cf (patch) | |
tree | be3e09f959df2d77b5bebe6a2023597fb2d9a958 /usr.bin/cvs/diff.c | |
parent | Fix an int oflow bug in perl's parameter format string code. (diff) | |
download | wireguard-openbsd-78de330428d4b39ae438762405e5191487cd44cf.tar.xz wireguard-openbsd-78de330428d4b39ae438762405e5191487cd44cf.zip |
- fix unified and context diff output, finally!
this was a long standing bug, and the fix is hilarious.
ok joris@
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index e5c31d4f2d4..428855061de 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.67 2005/11/24 11:23:13 xsa Exp $ */ +/* $OpenBSD: diff.c,v 1.68 2005/12/01 20:36:30 niallo Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. @@ -217,7 +217,7 @@ static char *preadline(int, size_t, off_t); static int Nflag; #endif static int aflag, bflag, dflag, iflag, pflag, tflag, Tflag, wflag; -static int context; +static int context = 3; int diff_format = D_NORMAL; char *diff_file = NULL; char diffargs[128]; |