Fixed mmap.d, which used a Linux-only flag, MAP_FILE.

This commit is contained in:
Juan Jose Garcia Ripoll 2011-08-28 17:32:26 +02:00
parent 5a22fc4b36
commit e4d9d008e7

View file

@ -50,7 +50,7 @@
len = ecl_to_unsigned_integer(length);
stream = Cnil;
} else {
c_flags = MAP_FILE;
c_flags = MAP_SHARED;
stream = cl_open(13, filename,
@':direction', direction,
@':element-type', element_type,