summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/diff/diff.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1999-09-10 05:06:01 +0000
committertholo <tholo@openbsd.org>1999-09-10 05:06:01 +0000
commit892c0aade1f7c0f3a217301a37d1119c4a91f3cd (patch)
tree809aebd5e2b11f30b38743a60d59aab9341f407e /gnu/usr.bin/cvs/diff/diff.c
parentDescribe the fact that a separate clock is wanted for statistics and (diff)
downloadwireguard-openbsd-892c0aade1f7c0f3a217301a37d1119c4a91f3cd.tar.xz
wireguard-openbsd-892c0aade1f7c0f3a217301a37d1119c4a91f3cd.zip
Latest version from Cyclic
Diffstat (limited to 'gnu/usr.bin/cvs/diff/diff.c')
-rw-r--r--gnu/usr.bin/cvs/diff/diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/diff/diff.c b/gnu/usr.bin/cvs/diff/diff.c
index bc951c4105f..e5f7e42bfcd 100644
--- a/gnu/usr.bin/cvs/diff/diff.c
+++ b/gnu/usr.bin/cvs/diff/diff.c
@@ -688,7 +688,8 @@ diff_run (argc, argv, out, callbacks_arg)
/* Set the jump buffer, so that diff may abort execution without
terminating the process. */
- if ((val = setjmp (diff_abort_buf)) != 0)
+ val = setjmp (diff_abort_buf);
+ if (val != 0)
{
optind = optind_old;
if (opened_file)