unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 65ce259b75c3ec5f5fc46d79aa3735720d27654a 625 bytes (raw)
name: gnu/packages/patches/kobodeluxe-midicon-segmentation-fault.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
19
20
21
22
23
24
 
From: Emile CARRY <emile.carry@sequanux.org>
Date: Wed, 6 Apr 2016 00:27:17 +0200
Subject: midicon segmentation fault

Debian-Bug: https://bugs.debian.org/819897
Forwarded: no
---
 sound/a_midicon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/a_midicon.c b/sound/a_midicon.c
index 57de3cf..ded2988 100644
--- a/sound/a_midicon.c
+++ b/sound/a_midicon.c
@@ -120,8 +120,8 @@ static inline void __press(unsigned ch, unsigned key)
 {
 	m[ch].next[key] = -1;
 	m[ch].prev[key] = m[ch].last;
-	m[ch].next[m[ch].last] = (char)key;
 	m[ch].last = (char)key;
+	m[ch].next[m[ch].last] = (char)key;
 }
 
 

debug log:

solving 65ce259 ...
found 65ce259 in https://yhetil.org/guix-devel/87h98bag8p.fsf@dustycloud.org/ ||
	https://yhetil.org/guix-devel/CANR+FbvbJG6csn0Lbs1wnNwtPydPty6i5yvW1g0iKsViTC612g@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-devel/87h98bag8p.fsf@dustycloud.org/
diff --git a/gnu/packages/patches/kobodeluxe-midicon-segmentation-fault.patch b/gnu/packages/patches/kobodeluxe-midicon-segmentation-fault.patch
new file mode 100644
index 0000000..65ce259

1:23: space before tab in indent.
 	m[ch].next[key] = -1;
1:24: space before tab in indent.
 	m[ch].prev[key] = m[ch].last;
1:26: space before tab in indent.
 	m[ch].last = (char)key;
1:29: trailing whitespace.
 
1:30: trailing whitespace.
 
Checking patch gnu/packages/patches/kobodeluxe-midicon-segmentation-fault.patch...
Applied patch gnu/packages/patches/kobodeluxe-midicon-segmentation-fault.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/CANR+FbvbJG6csn0Lbs1wnNwtPydPty6i5yvW1g0iKsViTC612g@mail.gmail.com/ for 65ce259
index at:
100644 65ce259b75c3ec5f5fc46d79aa3735720d27654a	gnu/packages/patches/kobodeluxe-midicon-segmentation-fault.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).