From owner-freebsd-current@FreeBSD.ORG Sun Aug 6 12:40:20 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 6C4DC16A4DA for ; Sun, 6 Aug 2006 12:40:20 +0000 (UTC) (envelope-from Wolfram.Fenske@Student.Uni-Magdeburg.DE) Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 889A543D49 for ; Sun, 6 Aug 2006 12:40:17 +0000 (GMT) (envelope-from Wolfram.Fenske@Student.Uni-Magdeburg.DE) Received: from sunny.urz.uni-magdeburg.de ([141.44.8.7]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.62) for id 1G9hvS-0003ue-NN; Sun, 06 Aug 2006 14:40:16 +0200 Received: from hondo. (pD95169AF.dip0.t-ipconnect.de [217.81.105.175]) (authenticated bits=0) by sunny.urz.uni-magdeburg.de (8.12.10/8.12.10) with ESMTP id k76CeDSX003306 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 6 Aug 2006 14:40:14 +0200 To: freebsd-current@freebsd.org References: <20060805155548.EBE837302F@freebsd-current.sentex.ca> <20060805220746.U9314@woozle.rinet.ru> <20060805223658.X9314@woozle.rinet.ru> <20060806082927.GA17297@engelschall.com> From: Wolfram Fenske Date: Sun, 06 Aug 2006 14:38:39 +0200 In-Reply-To: <20060806082927.GA17297@engelschall.com> (Ralf S. Engelschall's message of "Sun, 6 Aug 2006 10:29:27 +0200") Message-ID: <864pwqf38w.fsf@student.uni-magdeburg.de> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Spam-Report: ---- Start SpamAssassin results -2.6 points, 5.0 required; -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list ---- End of SpamAssassin results X-Scan-Signature: 878ea66800a85e4403ab137cadaa637c Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org 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:40:20 -0000 "Ralf S. Engelschall" writes: > On Sat, Aug 05, 2006, Dmitry Morozovsky wrote: > >> Or, maybe, the following would be less ugly: >> >> Index: optr.c >> =================================================================== >> RCS file: /home/ncvs/src/sbin/dump/optr.c,v >> retrieving revision 1.33 >> diff -u -r1.33 optr.c >> --- optr.c 5 Aug 2006 12:50:38 -0000 1.33 >> +++ optr.c 5 Aug 2006 18:38:21 -0000 >> @@ -209,14 +209,15 @@ >> mins = (deltat % 3600) / 60; >> >> tdone_str = ctime(&tdone); >> + tdone_str[(strlen(tdone_str) - 1)] = '\0'; Shouldn't this be tdone_str[strlen(tdone_str)] = '\0'; or did you mean to truncate the last character? Wolfram Fenske -- A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?