Mercurial > gnulib
view modules/getnline @ 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 | 781dec53e193 |
children |
line wrap: on
line source
Description: Read a line from a stream, with bounded memory allocation. Files: lib/getnline.h lib/getnline.c m4/getnline.m4 Depends-on: getndelim2 ssize_t configure.ac: gl_GETNLINE Makefile.am: lib_SOURCES += getnline.h getnline.c Include: "getnline.h" License: GPL Maintainer: all