FreeBSD Bugzilla – Attachment 125648 Details for
Bug 169283
[PATCH] net-p2p/ctorrent bugfix initial meta info failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.08 KB, created by
dirk.meyer
on 2012-06-21 06:40:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dirk.meyer
Created:
2012-06-21 06:40:03 UTC
Size:
1.08 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/net-p2p/ctorrent/Makefile,v >retrieving revision 1.24 >diff -u -r1.24 Makefile >--- Makefile 22 Feb 2010 19:02:37 -0000 1.24 >+++ Makefile 21 Jun 2012 05:16:12 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= ctorrent > PORTVERSION= 3.3.2 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= net-p2p > MASTER_SITES= http://www.rahul.net/dholmes/ctorrent/ > DISTNAME= ${PORTNAME}-dnh${PORTVERSION} >Index: files/patch-negative-ints >=================================================================== >RCS file: files/patch-negative-ints >diff -N files/patch-negative-ints >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-negative-ints 21 Jun 2012 05:16:12 -0000 >@@ -0,0 +1,15 @@ >+allow negative integers ... should fix random "error, initial meta info failed" >+ >+--- bencode.cpp.orig >++++ bencode.cpp >+@@ -44,6 +44,10 @@ >+ p++; len--; >+ } >+ >++ if( *p == '-'){ >++ p++; len--; >++ } >++ >+ for(psave = p; len && isdigit(*p); p++,len--) ; >+ >+ if(!len || MAX_INT_SIZ < (p - psave) || *p != endchar) return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169283
: 125648