Mercurial > gnulib
view modules/isnanl @ 40218:e92cc6824b7f
getloadavg: Write NULL for the null pointer.
Reported by Michal Privoznik <mprivozn@redhat.com>.
* lib/getloadavg.c (getloadavg): Write NULL instead of 0.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 03 Mar 2019 19:36:14 +0100 |
parents | 1f14c6dd175d |
children |
line wrap: on
line source
Description: isnanl() function: test for NaN. Files: lib/isnanl.c lib/isnan.c lib/float+.h m4/exponentl.m4 m4/isnanl.m4 Depends-on: math float fpieee memcmp configure.ac: gl_FUNC_ISNANL m4_ifdef([gl_ISNAN], [ AC_REQUIRE([gl_ISNAN]) ]) if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then AC_LIBOBJ([isnanl]) gl_PREREQ_ISNANL fi gl_MATH_MODULE_INDICATOR([isnanl]) Makefile.am: Include: <math.h> Link: $(ISNANL_LIBM) License: LGPL Maintainer: all