Subject: Re: Optimizer bug in NetBSD/SPARC64 1.5?
To: None <port-sparc@netbsd.org>
From: Herb Peyerl <hpeyerl@beer.org>
List: port-sparc
Date: 02/15/2001 08:35:17
Greg Earle <earle@isolar.DynDNS.ORG>  wrote:
 > The NMH "scan" program just reads the headers of each mail message in an NMH
 > folder.  So all the first column numbers should have been consecutively
 > numbered file names.  But instead of "1", etc. it was coming up with "?4128"
 > which to me shows some kind of massive overflow problem with "-O2" in that
 > particular instance.


errrrr,  allow me to send you a baked masonry item....

You need to modify your 'scan' form in ~/.mh/whatever.  It just means you've
overflowed the print-width.

Here's mine, works for 5 digit numbers:

	%5(msg)%<(cur)+%| %>%<{replied}-%|%<{encrypted}E%| %>%>\
	%(void(rclock{date}))\
	%<(gt 15768000)%03(month{date})%02(year{date})%|\
	%<(gt 604800)%02(mday{date})%03(month{date})%|\
	%<(gt 86400) %(day{date}) %|\
	%02(hour{date}):%02(min{date})%>%>%>\
	%<{date} %|*%>\
	%<(mymbox{from})To:%14(friendly{to})%|%17(friendly{from})%>  \
	%{subject}%<{body}<<%{body}%>

the '5' on the first line is the operative change.

If I change that to "2" and do scan, I get:

?7  11:52 Tim Rightnour      RE: http://mail-index.netbsd.org/2/<<On 14-Feb-01 Yuji Yaman
?8   Wed  Marc Roessler      Security hole in kicq<<Hi all, there is some security relate