summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2003-07-27 07:39:52 +0000
committerotto <otto@openbsd.org>2003-07-27 07:39:52 +0000
commit6e18f850405e4ce784c344ca4202e782f4f51254 (patch)
tree0a9657e58aed7bde0dcf38af134c273f993546fd /usr.bin/diff/diff.h
parentinstall ed tutorial papers; (diff)
downloadwireguard-openbsd-6e18f850405e4ce784c344ca4202e782f4f51254.tar.xz
wireguard-openbsd-6e18f850405e4ce784c344ca4202e782f4f51254.zip
- Use a heuristic to bound memory and cpu usage, at the cost of
producing suboptimal diffs for large file containing lots of changes. Switch heuristic off with -d/--minimal (GNU compatible). Some hints from millert@. - Improve performance by reducing the number of realloc(3) calls. ok millert@ tedu@
Diffstat (limited to 'usr.bin/diff/diff.h')
-rw-r--r--usr.bin/diff/diff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h
index 4ac9d45c62e..fd60b13da2d 100644
--- a/usr.bin/diff/diff.h
+++ b/usr.bin/diff/diff.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.h,v 1.21 2003/07/22 01:16:01 millert Exp $ */
+/* $OpenBSD: diff.h,v 1.22 2003/07/27 07:39:52 otto Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -68,7 +68,7 @@ struct excludes {
struct excludes *next;
};
-extern int aflag, bflag, iflag, lflag, Nflag, Pflag, rflag, sflag,
+extern int aflag, bflag, dflag, iflag, lflag, Nflag, Pflag, rflag, sflag,
tflag, Tflag, wflag;
extern int format, context, status, anychange;
extern char *start, *ifdefname, *diffargs, *label;