Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 1509 → Rev 1510

/uspace/trunk/libc/generic/mmap.c
38,10 → 38,10
prot |= AS_AREA_CACHEABLE;
if (! ((flags & MAP_SHARED) ^ (flags & MAP_FIXED)))
return NULL;
if (! (flags & MAP_ANONYMOUS))
return NULL;
// if (! ((flags & MAP_SHARED) ^ (flags & MAP_PRIVATE)))
// return NULL;
// if (! (flags & MAP_ANONYMOUS))
// return NULL;
 
return as_area_create(start, length, prot);
}