Hash :
a5c79741
Author :
Date :
2025-07-06T10:07:35
pagealign_alloc: Don't assume pointers fit in 'unsigned long'. * modules/pagealign_alloc (Depends-on): Add stdint-h. * lib/pagealign_alloc.c: Include stdint.h. (pagealign_alloc): Cast pointers to 'uintptr_t' instead of 'unsigned long'.
Description:
Memory allocation aligned on page boundaries.
Files:
lib/pagealign_alloc.h
lib/pagealign_alloc.c
m4/mmap-anon.m4
m4/pagealign_alloc.m4
Depends-on:
error
extensions
getpagesize
gettext-h
gnulib-i18n
open
stdlib-h
xalloc
unistd-h
stdint-h
configure.ac:
gl_PAGEALIGN_ALLOC
Makefile.am:
lib_SOURCES += pagealign_alloc.c
Include:
"pagealign_alloc.h"
License:
GPL
Maintainer:
bug-gnulib@gnu.org