Mercurial > gnulib
view modules/gettime @ 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 | 41c2fed9d7a1 |
children |
line wrap: on
line source
Description: Return current time, with nanosecond resolution. Files: lib/gettime.c m4/gettime.m4 Depends-on: clock-time gettimeofday sys_time timespec extensions configure.ac: gl_GETTIME Makefile.am: lib_SOURCES += gettime.c Include: "timespec.h" Link: $(LIB_CLOCK_GETTIME) License: LGPL Maintainer: Paul Eggert, Jim Meyering