]> Savannah Git Hosting - gnulib.git/commit
getloadavg: fix double-increment bug
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jun 2020 00:57:27 +0000 (17:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jun 2020 00:57:40 +0000 (17:57 -0700)
commitc0f267c9308e3bbaec040d2b1f4e0ff0fe39e5dd
tree5b9e62b6afd4568338210e5a8e022a1ac8e479e4
parenta6ca54ccd9565b73ad998826f6791581a86b4607
getloadavg: fix double-increment bug

* lib/getloadavg.c (getloadavg): Fix double-increment typo on
Linux without glibc, Android, Cygwin.  This fixes a bug I
introduced in 2011-02-08T20:23:29Z!eggert@cs.ucla.edu.
Problem and fix reported by Semen Verchenko in:
https://lists.gnu.org/r/bug-gnulib/2020-06/msg00007.html
ChangeLog
lib/getloadavg.c