Mercurial > gnulib
view modules/c-strtod @ 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 | b716418da8b9 |
children |
line wrap: on
line source
Description: Convert string to double in C locale. Files: lib/c-strtod.c lib/c-strtod.h m4/c-strtod.m4 m4/intl-thread-locale.m4 Depends-on: extensions locale strdup-posix strtod configure.ac: gl_C_STRTOD Makefile.am: lib_SOURCES += c-strtod.c Include: "c-strtod.h" License: GPL Maintainer: Paul Eggert, Jim Meyering