|
From: | James Youngman |
Subject: | Re: Limit the spew of error messages resulting from "wc /bin/sh" |
Date: | Tue, 22 May 2007 22:49:54 +0100 |
On 5/22/07, Paul Eggert <address@hidden> wrote:
"James Youngman" <address@hidden> writes: > 2007-05-22 James Youngman <address@hidden> > > * src/wc.c (wc): Limit the number of messages about invalid > multibyte sequences to error_limit (currently 5). Hmmm, why does "wc" output _any_ such messages? The standard doesn't require them and they seem like a waste of time. An invalid byte should not count as part of a character or a word, but should count as a byte and as part of a line.
I think I agree, but I was trying to be a little cautious. Unless I hear an objection in the next day or so, I'll rework the patch on the lines you suggest. James.
[Prev in Thread] | Current Thread | [Next in Thread] |