Closed
Bug 963023
Opened 12 years ago
Closed 12 years ago
libevent: Check does arch have the epoll_create and __NR_epoll_wait syscalls.
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: marcin, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
3.87 KB,
patch
|
marcin
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140122030521
Steps to reproduce:
Some architectures (like AArch64) does not support deprecated syscalls. This change makes libevent check and use proper ones.
Merged upstream: https://github.com/nmathewson/Libevent/commit/dfe1e526f5bb9db3c0b28d848170f35521ebd314
Reporter | ||
Updated•12 years ago
|
Attachment #8364269 -
Flags: review?(nfroyd)
![]() |
||
Comment 1•12 years ago
|
||
Comment on attachment 8364269 [details] [diff] [review]
Patch with backport from upstream
Review of attachment 8364269 [details] [diff] [review]:
-----------------------------------------------------------------
I don't have a problem with backporting the patch, but I'm not sure I completely understand how we patch libevent. I see patches in ipc/chromium/src/third_party/libevent/, but I also see patches in ipc/chromium/src/third_party/. Josh, what's our policy for patches for libevent?
To be clear: please don't flag this for checkin-needed until we sort out whether the patch as-is is sufficient or whether you also need a separate .patch file to be added somewhere.
Attachment #8364269 -
Flags: review?(nfroyd)
Attachment #8364269 -
Flags: review+
Attachment #8364269 -
Flags: feedback?(joshmoz)
Add another step in the README.mozilla file in the libevent directory. Put the patch in the libevent dir along with the other patches discussed in README.mozilla, with a nice name. Commit the edit to README.mozilla, the patch file itself, and the application of the patch all at the same time.
Thanks for checking.
Attachment #8364269 -
Flags: feedback?(joshmoz)
Reporter | ||
Comment 3•12 years ago
|
||
Attachment #8364269 -
Attachment is obsolete: true
Attachment #8367844 -
Flags: review?(joshmoz)
Comment on attachment 8367844 [details] [diff] [review]
libevent.patch
Review of attachment 8367844 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good except the patch is missing the patch itself as an added file. Perhaps you just forgot "hg add".
Attachment #8367844 -
Flags: review?(joshmoz) → review+
Reporter | ||
Comment 5•12 years ago
|
||
added patch itself into patch
Attachment #8367844 -
Attachment is obsolete: true
Attachment #8374782 -
Flags: review+
Reporter | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•