summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffdir.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-06-25 22:14:43 +0000
committermillert <millert@openbsd.org>2003-06-25 22:14:43 +0000
commit9de32c1b16a474659d7d2e1ce129916fb601409c (patch)
tree7e06aa98ae98d0b74f21faf94eebc4730be12d11 /usr.bin/diff/diffdir.c
parentadd topic97b support; from netbsd and tested by Pedro la Peu <pedro@am-gen.org> (diff)
downloadwireguard-openbsd-9de32c1b16a474659d7d2e1ce129916fb601409c.tar.xz
wireguard-openbsd-9de32c1b16a474659d7d2e1ce129916fb601409c.zip
Add unidiff support and try to pretty up usage() a bit
Diffstat (limited to 'usr.bin/diff/diffdir.c')
-rw-r--r--usr.bin/diff/diffdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c
index 8c524b98bb4..d34638f1853 100644
--- a/usr.bin/diff/diffdir.c
+++ b/usr.bin/diff/diffdir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diffdir.c,v 1.12 2003/06/25 21:43:49 millert Exp $ */
+/* $OpenBSD: diffdir.c,v 1.13 2003/06/25 22:14:43 millert Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -338,7 +338,7 @@ notsame:
if (!ascii(f1) || !ascii(f2)) {
if (lflag)
dp->d_flags |= DIFFER;
- else if (opt == D_NORMAL || opt == D_CONTEXT)
+ else if (opt == D_NORMAL || opt == D_CONTEXT || opt == D_UNIFIED)
printf("Binary files %s and %s differ\n",
file1, file2);
goto closem;