Re: immutable: Implement on native Windows

2021-01-18 Thread Gisle Vanem
Bruno Haible wrote: The 'immutable' module, so far, worked only on platforms with mmap() and mprotect(). With this patch, it also works on native Windows. ... + if (!CloseHandle (h)) +{ + UnmapViewOfFile (mem_w); + UnmapViewOfFile (mem_r); + CloseHandle (h); + return

immutable: Implement on native Windows

2021-01-17 Thread Bruno Haible
The 'immutable' module, so far, worked only on platforms with mmap() and mprotect(). With this patch, it also works on native Windows. 2021-01-17 Bruno Haible immutable: Implement on native Windows. * lib/immutable.h (IMMUTABLE_EFFECTIVE): Set to 1 on nati