[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] scan - Funky output with utf-8
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] scan - Funky output with utf-8 |
Date: |
Thu, 23 Mar 2017 11:34:56 +0000 |
Hi,
> I can re-create the `-width 137' spew with git, but not with 1.6.
> That suggests a bisect might help
So git-bisect(1) blames
commit e537b780f7aea8df01ddca1976f8c128d9c1fb55
Date: Fri Aug 29 08:50:51 2014 -0500
fmt_scan() no longer subtracts 1 from the width. This has the effect
of no longer counting the trailing newline in the output of scan(1),
inc(1), and the other programs that rely on it.
But I suspect it's wrong and that just pushes the 137 to trigger the
error off by one. :-) I'll have another go testing a run of widths
each time and saying it's bad if any fail.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy