Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85929 Details for
Bug 131903
[bump] net-p2p/ctorrent-1.3.4-r3 (using dnh2 patchset)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/ctorrent-1.3.4-dnh2-vfat.patch
ctorrent-1.3.4-dnh2-vfat.patch (text/plain), 442 bytes, created by
TGL
on 2006-05-01 06:58:28 UTC
(
hide
)
Description:
files/ctorrent-1.3.4-dnh2-vfat.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2006-05-01 06:58:28 UTC
Size:
442 bytes
patch
obsolete
>--- btfiles.cpp.orig Sun Jan 1 18:41:21 2006 >+++ btfiles.cpp Sun Mar 19 19:54:53 2006 >@@ -170,11 +170,13 @@ > return write(fd, &c, 1); > #else > // ftruncate() not allowed on [v]fat under linux >- if( ftruncate(fd,length) < 0 ) { >+ int retval = ftruncate(fd,length); >+ if( retval < 0 ) { > char c = (char)0; > if(lseek(fd,length - 1, SEEK_SET) < 0 ) return -1; > return write(fd, &c, 1); > } >+ else return retval; > #endif > } >
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 131903
:
85928
| 85929 |
85930