shithub: mc

Download patch

ref: 565592b47ee1b6877dc8788c10f134913e1e067a
parent: f247b6c460cb00e149434174dbd2b8be32a771e9
author: Ori Bernstein <ori@markovcorp.com>
date: Mon May 22 08:18:44 EDT 2017

Linux was missing poll events.

--- a/lib/sys/sys+linux-x64.myr
+++ b/lib/sys/sys+linux-x64.myr
@@ -317,6 +317,9 @@
 	const Pollin	: pollevt = 0x001	/* There is data to read.  */
 	const Pollpri	: pollevt = 0x002	/* There is urgent data to read.  */
 	const Pollout	: pollevt = 0x004	/* Writing now will not block.  */
+	const Pollerr	: pollevt = 0x008           /* Error condition.  */
+	const Pollhup	: pollevt = 0x010           /* Hung up.  */
+	const Pollnval	: pollevt = 0x020           /* Invalid polling request.  */
 
 	/* poll events: xopen */
 	const Pollrdnorm	: pollevt = 0x040	/* Normal data may be read.  */