[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r28495 - branches/reintegrate/subversion/libsvn_fs_fs

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-12-15 02:40:55 CET

Blair Zajac wrote:
> glasser@tigris.org wrote:
>> Author: glasser
>> Date: Fri Dec 14 16:50:14 2007
>> New Revision: 28495
>>
>> Log:
>> Followup to r28489.
>
>> Modified: branches/reintegrate/subversion/libsvn_fs_fs/fs_fs.c
>> URL:
>> http://svn.collab.net/viewvc/svn/branches/reintegrate/subversion/libsvn_fs_fs/fs_fs.c?pathrev=28495&r1=28494&r2=28495
>>
>> ==============================================================================
>>
>> --- branches/reintegrate/subversion/libsvn_fs_fs/fs_fs.c (original)
>> +++ branches/reintegrate/subversion/libsvn_fs_fs/fs_fs.c Fri Dec 14
>> 16:50:14 2007
>> @@ -1660,8 +1660,7 @@
>> SVN_ERR(svn_stream_printf(outfile, pool, HEADER_FRESHTXNRT ":
>> y\n"));
>>
>> if (noderev->mergeinfo_count > 0)
>> - SVN_ERR(svn_stream_printf(outfile, pool, HEADER_MINFO_CNT ": "
>> - APR_UINT64_T_FMT "\n",
>> + SVN_ERR(svn_stream_printf(outfile, pool, HEADER_MINFO_CNT ":
>> %lld\n", noderev->mergeinfo_count));
>
> I'm pretty sure that needs to use APR_INT64_T_FMT otherwise it'll fail
> on x86_64 with gcc and end up having %ld in the output string.
>
> Regards,
> Blair
>

Just tested this, you get the same problem with a apr-1 build using gcc -m64 on
Mac OS X 10.4.

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 15 02:41:06 2007

This is an archived mail posted to the Subversion Dev mailing list.