Mercurial > gnulib
view modules/fopen-safer @ 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 | 6a09a3caddef |
children |
line wrap: on
line source
Description: fopen function that avoids clobbering std{in,out,err}. Files: lib/stdio--.h lib/stdio-safer.h lib/fopen-safer.c Depends-on: fopen unistd-safer configure.ac: gl_MODULE_INDICATOR([fopen-safer]) Makefile.am: lib_SOURCES += fopen-safer.c Include: "stdio-safer.h" License: GPL Maintainer: Paul Eggert, Jim Meyering