unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 70a4ec2a96f9b13373b9a7c7334a2dd62537fb86 390 bytes (raw)
name: gnu/packages/patches/xinetd-fix-fd-leak.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
Reported 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


debug log:

solving 70a4ec2 ...
found 70a4ec2 in https://yhetil.org/guix-devel/20170131.084916.1061110240342484370.post@thomasdanckaert.be/

applying [1/1] https://yhetil.org/guix-devel/20170131.084916.1061110240342484370.post@thomasdanckaert.be/
diff --git a/gnu/packages/patches/xinetd-fix-fd-leak.patch b/gnu/packages/patches/xinetd-fix-fd-leak.patch
new file mode 100644
index 0000000..70a4ec2

1:14: trailing whitespace.
 
1:20: trailing whitespace.
 
1:22: trailing whitespace.
-- 
Checking patch gnu/packages/patches/xinetd-fix-fd-leak.patch...
1:24: new blank line at EOF.
+
Applied patch gnu/packages/patches/xinetd-fix-fd-leak.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 70a4ec2a96f9b13373b9a7c7334a2dd62537fb86	gnu/packages/patches/xinetd-fix-fd-leak.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).