Date: Fri, 07 Nov 2008 15:16:11 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: Alex Keda <admin@lissyara.su> Cc: current@freebsd.org Subject: Re: Cannot buildworld in CURRENT Message-ID: <87k5bfk76s.fsf@kobe.laptop> In-Reply-To: <49140904.6080002@lissyara.su> (Alex Keda's message of "Fri, 07 Nov 2008 12:23:16 %2B0300") References: <49135844.7010500@lissyara.su> <491358CD.4090601@lissyara.su> <87bpwsseof.fsf@kobe.laptop> <49140904.6080002@lissyara.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 07 Nov 2008 12:23:16 +0300, Alex Keda <admin@lissyara.su> wrote:
>> Can you try this patch?
>>
>> %%%
>> diff -r aa58af068624 usr.bin/du/du.c
>> --- a/usr.bin/du/du.c Thu Nov 06 23:29:46 2008 +0200
>> +++ b/usr.bin/du/du.c Thu Nov 06 23:51:48 2008 +0200
>> @@ -273,7 +273,8 @@
>> (void)printf("\t%s\n", p->fts_path);
>> } else {
>> (void)printf("%jd\t%s\n",
>> - howmany(p->fts_bignum * cblocksize,
>> + (intmax_t)howmany(
>> + p->fts_bignum * cblocksize,
>> blocksize), p->fts_path);
>> }
>> }
>> %%%
>
> another machine. Build success. Updated 2 hour ago...
Thanks :)
> You commit this patch? =)
Max committed a fix in Subversion change 184742:
: r184742 | mlaier | 2008-11-07 01:55:28 +0200 (Fri, 07 Nov 2008) | 2 lines
: Changed paths:
: M /head/usr.bin/du/du.c
:
: Restore (intmax_t) casts I lost during the last change & unbreak the build.
:
If you resync your source tree you will get the fix too :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87k5bfk76s.fsf>
