From d0c85965ba85142231ce2c0096b5031afa34006a Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 26 Jun 2003 21:03:08 +0000 Subject: Fix -r flag that was broken during getopt() conversion--whoops. --- usr.bin/diff/diff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/diff/diff.c') diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c index 59605ced06e..8448b7ee8a0 100644 --- a/usr.bin/diff/diff.c +++ b/usr.bin/diff/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.15 2003/06/26 18:19:29 millert Exp $ */ +/* $OpenBSD: diff.c,v 1.16 2003/06/26 21:03:08 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -146,7 +146,7 @@ main(int argc, char **argv) opt = D_NREVERSE; break; case 'r': - opt = D_REVERSE; + rflag++; break; case 'S': start = optarg; -- cgit v1.2.3-59-g8ed1b