NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: newsyslog always compress?
On Thu, Aug 20, 2009 at 07:20:36PM -0400, Greg Troxel wrote:
> I have been seeing this bug as well.
And here is the fix:
Index: newsyslog.c
===================================================================
RCS file: /cvsroot/src/usr.bin/newsyslog/newsyslog.c,v
retrieving revision 1.58
diff -U 4 -r1.58 newsyslog.c
--- newsyslog.c 20 Jun 2009 19:34:19 -0000 1.58
+++ newsyslog.c 21 Aug 2009 08:17:15 -0000
@@ -243,8 +243,9 @@
int nf, lineno, i, rv;
rv = -1;
line = NULL;
+ ziptype = 0;
/* Place the white-space separated fields into an array. */
do {
if (line != NULL)
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index