Fix a file descriptor leak: https://github.com/xinetd-org/xinetd/issues/23 Patch copied from Debian: https://anonscm.debian.org/cgit/collab-maint/xinetd.git/tree/debian/patches/000012-fix_fd_leak Patch sent upstream at https://github.com/xinetd-org/xinetd/pull/26. diff --git a/xinetd/xgetloadavg.c b/xinetd/xgetloadavg.c index 5a26214..fe0f872 100644 --- a/xinetd/xgetloadavg.c +++ b/xinetd/xgetloadavg.c @@ -34,7 +34,7 @@ double xgetloadavg(void) if( fscanf(fd, "%lf", &ret) != 1 ) { perror("fscanf"); - return -1; + ret = -1; } fclose(fd); -- 2.7.4 'hidden' name='id' value='69efbb87edad4bf25b15cbd649c0c9978ff3f078'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Expand)Author
2024-04-19maint: Generate doc/version[-LANG].texi using `mdate-from-git.scm'....This replaces Automake's `build-aux/mdate-sh' with our own `build-aux/mdate-from-git.scm' to use reproducible timestamps from Git instead. * build-aux/mdate-from-git.scm: New script. * bootstrap: Use it to replace build-aux/mdate-sh. * Makefile.am (EXTRA_DIST): Add it. Change-Id: I17d0a7de9ffea397129c0db1728f86e28a4e245f Janneke Nieuwenhuizen