Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202041 - [patch] net-p2p/ctorrent-3.2 - false incomplete torrent
Summary: [patch] net-p2p/ctorrent-3.2 - false incomplete torrent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 15:33 UTC by niogic
Modified: 2007-12-17 20:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The suggested workaround. It's just one line. (ctorrent-completed-incomplete.patch,359 bytes, patch)
2007-12-12 15:34 UTC, niogic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description niogic 2007-12-12 15:33:33 UTC
"There is a bug in dnh3.2 that can cause a completed torrent to be reported as incomplete when restarting. An easy correction is to delete the "setvbuf" line in btfiles.cpp and recompile. This is recommended even if you have not observed the problem."
From: http://www.rahul.net/dholmes/ctorrent/#news

So, I've made a patch. It should be used only for this version (3.2). May you add it to the tree?
Comment 1 niogic 2007-12-12 15:34:33 UTC
Created attachment 138319 [details, diff]
The suggested workaround. It's just one line.

This simple patch solves the problem.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-12-17 20:01:49 UTC
In CVS, thanks