Mercurial > gnulib
view modules/fwriting @ 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 | 632892f73130 |
children |
line wrap: on
line source
Description: fwriting() function: Determine whether a FILE stream is currently doing writing. Files: lib/fwriting.h lib/fwriting.c lib/stdio-impl.h m4/fwriting.m4 Depends-on: stdbool configure.ac: gl_FUNC_FWRITING if test $ac_cv_func___fwriting = no; then AC_LIBOBJ([fwriting]) fi Makefile.am: Include: "fwriting.h" License: LGPL Maintainer: Eric Blake