shithub: mc

Download patch

ref: e2d1fada5b927cfe25f879271f4c8172a07b102e
parent: 1a00720e1fc60ce82d95763a031efac9b71340ce
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Feb 20 18:21:20 EST 2015

We no longer do zero length unchecked arrays. Fix OSX.

--- a/libstd/sys+osx-x64.myr
+++ b/libstd/sys+osx-x64.myr
@@ -103,7 +103,7 @@
 		reclen	: uint16	/* length of this record */
 		namlen	: uint16	/* length of string in d_name */
 		typeid  : uint8		/* file type, see below */
-		name	: byte[0]
+		name	: byte[...]
 	;;
 
 	type kevent = struct