Module Name: src
Committed By: joerg
Date: Mon May 10 15:45:22 UTC 2010
Modified Files:
src/usr.bin/unzip: unzip.c
Log Message:
Kill a left-over break from the for-loop that vanished in 1.13.
Issue noticed by tnn.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/unzip/unzip.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/unzip/unzip.c
diff -u src/usr.bin/unzip/unzip.c:1.13 src/usr.bin/unzip/unzip.c:1.14
--- src/usr.bin/unzip/unzip.c:1.13 Thu Apr 29 06:32:19 2010
+++ src/usr.bin/unzip/unzip.c Mon May 10 15:45:22 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: unzip.c,v 1.13 2010/04/29 06:32:19 joerg Exp $ */
+/* $NetBSD: unzip.c,v 1.14 2010/05/10 15:45:22 joerg Exp $ */
/*-
* Copyright (c) 2009, 2010 Joerg Sonnenberger <[email protected]>
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: unzip.c,v 1.13 2010/04/29 06:32:19 joerg Exp $");
+__RCSID("$NetBSD: unzip.c,v 1.14 2010/05/10 15:45:22 joerg Exp $");
#include <sys/queue.h>
#include <sys/stat.h>
@@ -572,10 +572,8 @@
* guess wrong, we print a warning message later.
*/
if (a_opt && n == 0) {
- if (check_binary(buffer, len)) {
+ if (check_binary(buffer, len))
text = 0;
- break;
- }
}
/* simple case */