Re: [head tinderbox] failure on amd64/amd64

From: Wolfram Fenske <Wolfram.Fenske_at_Student.Uni-Magdeburg.DE>
Date: Sun, 06 Aug 2006 14:38:39 +0200
"Ralf S. Engelschall" <rse_at_FreeBSD.org> 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
>> _at__at_ -209,14 +209,15 _at__at_
>>                 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?
Received on Sun Aug 06 2006 - 10:40:20 UTC

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