summaryrefslogtreecommitdiff
path: root/lib/immutable.c
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* Put LGPLv2+ notices in source files where appropriate.Bruno Haible2021-06-041-7/+7
| | | | | * lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description says so.
* immutable: Fix crash when immmalloc() fails.Bruno Haible2021-05-011-0/+2
| | | | | | Found by GCC 11 '-fanalyzer'. * lib/immutable.c (immstrdup): Don't crash when immmalloc() fails.
* immutable: Implement on native Windows.Bruno Haible2021-01-181-10/+91
| | | | | | | | * lib/immutable.h (IMMUTABLE_EFFECTIVE): Set to 1 on native Windows. * lib/immutable.c: Include <windows.h>. (CreateFileMapping): New macro. (init_pagesize, init_mmap_file, alloc_pages, free_pages): Add implementation for native Windows.
* immutable: New module.Bruno Haible2021-01-101-0/+254
* lib/immutable.h: New file. * lib/immutable.c: New file. * m4/immutable.m4: New file. * m4/mprotect.m4: New file, based on libffcall/m4/codeexec.m4. * modules/immutable: New file.