Mercurial > gnulib
view modules/getpagesize @ 40211:5f58d2ac35ea
unistr/u8-cmp: Fix undefined behaviour.
Reported by Jeffrey Walton <noloader@gmail.com>.
* lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 08 Mar 2019 20:38:22 +0100 |
parents | 3c854f4a4670 |
children |
line wrap: on
line source
Description: getpagesize() function: Return memory page size. Files: lib/getpagesize.c m4/getpagesize.m4 Depends-on: unistd configure.ac: gl_FUNC_GETPAGESIZE if test $REPLACE_GETPAGESIZE = 1; then AC_LIBOBJ([getpagesize]) fi gl_UNISTD_MODULE_INDICATOR([getpagesize]) Makefile.am: Include: <unistd.h> License: LGPLv2+ Maintainer: Jim Meyering