Mercurial > gnulib
view modules/sendto @ 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 | b86e9061a6d0 |
children |
line wrap: on
line source
Description: sendto() function: send (write) data to a potentially unconnected socket. Files: lib/sendto.c lib/w32sock.h Depends-on: sys_socket socketlib errno [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([sendto]) fi gl_SYS_SOCKET_MODULE_INDICATOR([sendto]) Makefile.am: Include: <sys/socket.h> Link: $(LIBSOCKET) License: LGPLv2+ Maintainer: Paolo Bonzini, Simon Josefsson