Re: [head tinderbox] failure on amd64/amd64

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Sun, 6 Aug 2006 16:42:25 +0400 (MSD)
On Sun, 6 Aug 2006, Wolfram Fenske wrote:

WF> >> Index: optr.c
WF> >> ===================================================================
WF> >> RCS file: /home/ncvs/src/sbin/dump/optr.c,v
WF> >> retrieving revision 1.33
WF> >> diff -u -r1.33 optr.c
WF> >> --- optr.c      5 Aug 2006 12:50:38 -0000       1.33
WF> >> +++ optr.c      5 Aug 2006 18:38:21 -0000
WF> >> _at__at_ -209,14 +209,15 _at__at_
WF> >>                 mins = (deltat % 3600) / 60;
WF> >>
WF> >>                 tdone_str = ctime(&tdone);
WF> >> +               tdone_str[(strlen(tdone_str) - 1)] = '\0';
WF> 
WF> Shouldn't this be
WF> 
WF>                    tdone_str[strlen(tdone_str)] = '\0';
WF> 
WF> or did you mean to truncate the last character?

The latter - and this was the original rse_at_'s intention AFAICS.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru ***
------------------------------------------------------------------------
Received on Sun Aug 06 2006 - 10:42:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC