Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 698253 Details for
Bug 729910
dev-libs/mimetic fails to compile (mmfile.cxx:60:14: error: ordered comparison between pointer and zero)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for mmap compile-time issue
001-mmap-fix.patch (text/plain), 424 bytes, created by
Daniel Sunnerer
on 2021-04-07 15:44:20 UTC
(
hide
)
Description:
Patch for mmap compile-time issue
Filename:
MIME Type:
Creator:
Daniel Sunnerer
Created:
2021-04-07 15:44:20 UTC
Size:
424 bytes
patch
obsolete
>--- mimetic-0.9.8/mimetic/os/mmfile.cxx 2014-06-17 10:12:00.000000000 +0200 >+++ mimetic-0.9.8/mimetic/os/mmfile.cxx-mmap-fix 2021-04-07 17:37:45.692635246 +0200 >@@ -57,7 +57,7 @@ bool MMFile::open(int mode) > bool MMFile::map() > { > m_beg = (char*) mmap(0, m_st.st_size, PROT_READ, MAP_SHARED,m_fd,0); >- if(m_beg > 0) >+ if(m_beg != MAP_FAILED) > { > m_end = m_beg + m_st.st_size; > #if HAVE_MADVISE
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 729910
:
646820
|
646822
| 698253