shithub: mc

Download patch

ref: aee3a905c030959ffcf3b2cc9e2b1b9ba83e1f7d
parent: 37382a5df854971f64bf07f9c6a7c94f2e7d058e
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Aug 29 02:07:32 EDT 2015

Fix epoll constants.

--- a/lib/std/sys+linux-x64.myr
+++ b/lib/std/sys+linux-x64.myr
@@ -225,9 +225,9 @@
 	const Epollcloexec	: epollflags	= 0o2000000
 
 	/* epoll ops */
-	const Epollctladd	: epollop	= 0
-	const Epollctlmod	: epollop	= 1
-	const Epollctldel	: epollop	= 1
+	const Epollctladd	: epollop	= 1
+	const Epollctlmod	: epollop	= 2
+	const Epollctldel	: epollop	= 3
 
 	/* epoll events */
 	const Epollin	: epollevttype = 0x001