Mercurial > gnulib
view modules/readutmp @ 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 | 19b4041d8566 |
children |
line wrap: on
line source
Description: Read entire utmp file into memory. Files: lib/readutmp.h lib/readutmp.c m4/readutmp.m4 Depends-on: extensions xalloc stdbool stdint configure.ac: gl_READUTMP if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then AC_LIBOBJ([readutmp]) fi Makefile.am: Include: "readutmp.h" License: GPL Maintainer: Jim Meyering & Paul Eggert