Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119018 Details for
Bug 176668
beagle fails to compile on FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove support for posix_fadvise
beagle-patch-Util_FileAdvise.cs (text/plain), 728 bytes, created by
Roy Marples (RETIRED)
on 2007-05-12 15:01:18 UTC
(
hide
)
Description:
Remove support for posix_fadvise
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2007-05-12 15:01:18 UTC
Size:
728 bytes
patch
obsolete
>--- Util/FileAdvise.cs.orig Thu Mar 15 18:31:16 2007 >+++ Util/FileAdvise.cs Thu Mar 15 18:35:14 2007 >@@ -39,8 +39,6 @@ > > // FIXME: On 64-bit architectures, we need to use "long" not "int" here for > // "offset" and "len" >- [DllImport ("libc", SetLastError=true)] >- static extern int posix_fadvise (int fd, int offset, int len, int advice); > > // The following are from /usr/include/linux/fadvise.h and will not change > private const int AdviseNormal = 0; // POSIX_FADV_NORMAL >@@ -52,8 +50,7 @@ > > static private int GiveAdvice (FileStream file, int advice) > { >- int fd = file.Handle.ToInt32 (); >- return posix_fadvise (fd, 0, 0, advice); >+ return 0; > } > > static public void FlushCache (FileStream file)
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 176668
:
117835
| 119018