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

BUG: wrong number of bytes transferred shown in update dialog

From: Dietmar Suoch <dietmar.suoch_at_gameloft.com>
Date: Wed, 09 Feb 2011 15:34:27 +0100

hello tortoisesvn community,

i just encountered a bug. i made a huge update on repository.
after a while the number for "bytes transferred" got negative.
it is possible a numerical overflow or just wrong calculation ...

maybe i am completely wrong here, but i just had a short moment to try
to narrow this down.

coming from CSVNProgressDlg::OnSVNProgress()

struct SVNProgress
    {
        apr_off_t progress; ///< operation progress
        apr_off_t total; ///< operation progress
        apr_off_t overall_total; ///< total bytes transferred, use
SetAndClearProgressInfo() to reset this

"apr_off_t used as a byte counter rolls over fairly quickly on i386."
http://www.mail-archive.com/dev@httpd.apache.org/msg22011.html

maybe some dev could check/confirm/fix this?

keep up the good work and thanks for your effort!
best regards,

DI(FH) Dietmar Suoch
Developer @ Gameloft Iberica, Barcelona

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2703018

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-09 16:56:42 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.