Mercurial > gnulib
view modules/select @ 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 | e71d6495bb31 |
children |
line wrap: on
line source
Description: select() function: synchronous I/O multiplexing. Files: lib/select.c m4/select.m4 Depends-on: sys_select alloca [test $REPLACE_SELECT = 1] dup2 [test $REPLACE_SELECT = 1] sockets [test $REPLACE_SELECT = 1] sys_time [test $REPLACE_SELECT = 1] msvc-nothrow [test $REPLACE_SELECT = 1] configure.ac: gl_FUNC_SELECT if test $REPLACE_SELECT = 1; then AC_LIBOBJ([select]) fi gl_SYS_SELECT_MODULE_INDICATOR([select]) Makefile.am: Include: <sys/select.h> Link: $(LIB_SELECT) License: LGPLv2+ Maintainer: Simon Josefsson