[Ecls-list] Sequence streams

Matthew Mondor mm_lists at pulsar-zone.net
Mon Aug 29 07:53:57 UTC 2011


On Mon, 29 Aug 2011 09:27:52 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at 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




More information about the ecl-devel mailing list