On Mon, 29 Aug 2011 09:27:52 +0200 Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com> wrote:
> I am a bit surprised about this. I removed MAP_FILE because it does not work > in Solaris and the POSIX specifications says it is not needed: MAP_SHARED > should make the changes available for other processes immediately. Moreover, > the Linux man page and the OpenBSD one both state that MAP_FILE is default > and just a compatibility leftover... I will investigate, though, but I am a > bit confused. Oh: pa = mmap(0, len, c_prot, c_flags | MAP_PRIVATE, fd, So that means MAP_SHARED | MAP_PRIVATE, which is confusing and might be the reason for the EINVAL... -- Matt ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list