• Neal Norwitz's avatar
    Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the same · 0e6bc8c2
    Neal Norwitz yazdı
    on both Unix (SVR4 and BSD) and Windows.  Restores behaviour of passing -1
    for anonymous memory on Unix.  Use MAP_ANONYMOUS instead of _ANON since
    the latter is deprecated according to Linux (gentoo) man pages.
    
    Should we continue to allow mmap.mmap(0, length) to work on Windows?
    0 is a valid fd.
    
    Will backport bugfix portions.
    0e6bc8c2
libmmap.tex 7.64 KB