shithub: mc

Download patch

ref: 74355dfc48d3a142918d894ece67ecf7cde9d13d
parent: aa40fda4e41feafd05bf777a969aa2b4b6c7f070
author: Ori Bernstein <[email protected]>
date: Wed Jun 6 10:39:26 EDT 2018

OpenBSD 6.1 doesn't recognize MAP_STACK.

--- a/lib/sys/sys+openbsd:6.1-x64.myr
+++ b/lib/sys/sys+openbsd:6.1-x64.myr
@@ -272,7 +272,7 @@
 	const Mfixed	: mopt = 0x10
 	const Mfile	: mopt = 0x0
 	const Manon	: mopt = 0x1000
-	const Mstack	: mopt = 0x4000
+	const Mstack	: mopt = 0
 	const Mnoreplace	: mopt = 0x0800
 	
 	/* file types */