FreeBSD Bugzilla – Attachment 41847 Details for
Bug 65358
[Maintainer] devel/libowfat: correct sendfile(2) problems on CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.12 KB, created by
Thomas-Martin Seck
on 2004-04-09 13:40:20 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Thomas-Martin Seck
Created:
2004-04-09 13:40:20 UTC
Size:
1.12 KB
patch
obsolete
>Index: files/patch-io-iob_addfile.c >=================================================================== >--- files/patch-io-iob_addfile.c (revision 0) >+++ files/patch-io-iob_addfile.c (revision 14) >@@ -0,0 +1,19 @@ >+Index: io/iob_addfile.c >+=================================================================== >+RCS file: /cvs/libowfat/io/iob_addfile.c,v >+retrieving revision 1.2 >+retrieving revision 1.3 >+diff -u -r1.2 -r1.3 >+--- io/iob_addfile.c 26 Sep 2003 15:55:44 -0000 1.2 >++++ io/iob_addfile.c 7 Apr 2004 08:38:41 -0000 1.3 >+@@ -1,7 +1,9 @@ >+ #include "iob_internal.h" >+ >+ int iob_addfile(io_batch* b,int64 fd,uint64 off,uint64 n) { >+- iob_entry* e=array_allocate(&b->b,sizeof(iob_entry), >++ iob_entry* e; >++ if (n==0) return 1; >++ e=array_allocate(&b->b,sizeof(iob_entry), >+ array_length(&b->b,sizeof(iob_entry))); >+ if (!e) return 0; >+ e->type=FROMFILE; >Index: Makefile >=================================================================== >--- Makefile (revision 7) >+++ Makefile (working copy) >@@ -7,6 +7,7 @@ > > PORTNAME= libowfat > PORTVERSION= 0.19.2 >+PORTREVISION= 1 > CATEGORIES= devel ipv6 > MASTER_SITES= http://dl.fefe.de/
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 65358
: 41847