Module Name: src
Committed By: rin
Date: Wed Aug 14 05:02:19 UTC 2024
Modified Files:
src/usr.bin/grep: file.c
Log Message:
grep: grep_refill: Fix previous; WITHOUT_BZ2 not WITHOUT_GZIP
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/grep/file.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/grep/file.c
diff -u src/usr.bin/grep/file.c:1.12 src/usr.bin/grep/file.c:1.13
--- src/usr.bin/grep/file.c:1.12 Wed Aug 14 04:59:51 2024
+++ src/usr.bin/grep/file.c Wed Aug 14 05:02:19 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.12 2024/08/14 04:59:51 rin Exp $ */
+/* $NetBSD: file.c,v 1.13 2024/08/14 05:02:19 rin Exp $ */
/* $FreeBSD: head/usr.bin/grep/file.c 211496 2010-08-19 09:28:59Z des $ */
/* $OpenBSD: file.c,v 1.11 2010/07/02 20:48:48 nicm Exp $ */
@@ -35,7 +35,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: file.c,v 1.12 2024/08/14 04:59:51 rin Exp $");
+__RCSID("$NetBSD: file.c,v 1.13 2024/08/14 05:02:19 rin Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -74,7 +74,7 @@ static inline int
grep_refill(struct file *f)
{
ssize_t nr = -1;
-#ifndef WITHOUT_GZIP
+#ifndef WITHOUT_BZ2
int bzerr;
#endif