From owner-freebsd-current@FreeBSD.ORG Sun Aug 6 12:42:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9DA316A4DA for ; Sun, 6 Aug 2006 12:42:26 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FC9943D46 for ; Sun, 6 Aug 2006 12:42:25 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k76CgPtZ045722 for ; Sun, 6 Aug 2006 16:42:25 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 6 Aug 2006 16:42:25 +0400 (MSD) From: Dmitry Morozovsky To: freebsd-current@freebsd.org In-Reply-To: <864pwqf38w.fsf@student.uni-magdeburg.de> Message-ID: <20060806164147.P45264@woozle.rinet.ru> References: <20060805155548.EBE837302F@freebsd-current.sentex.ca> <20060805220746.U9314@woozle.rinet.ru> <20060805223658.X9314@woozle.rinet.ru> <20060806082927.GA17297@engelschall.com> <864pwqf38w.fsf@student.uni-magdeburg.de> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sun, 06 Aug 2006 16:42:25 +0400 (MSD) Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2006 12:42:26 -0000 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> >> @@ -209,14 +209,15 @@ 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@'s intention AFAICS. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------