all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 858d2266976c94f07b70a42d2e2477fd48e600df 504 bytes (raw)
name: gnu/packages/patches/pnet-fix-off-by-one.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
diff --git a/codegen/cg_genattr.c b/codegen/cg_genattr.c
index 535852da..c3acc0dc 100644
--- a/codegen/cg_genattr.c
+++ b/codegen/cg_genattr.c
@@ -1532,7 +1532,7 @@ static int MarshalAsAttribute(ILGenInfo *info,
 			else
 			{
 				sizeParamIndex = attributeInfo->namedArgs[currentNamedArg].evalValue.un.i4Value;
-				if(sizeParamIndex <= 0)
+				if(sizeParamIndex < 0)
 				{
 					CGErrorForNode(info, attributeInfo->namedArgs[currentNamedArg].node,
 						_("The size parameter index must be >= 0"));

debug log:

solving 858d226697 ...
found 858d226697 in https://yhetil.org/guix/iMoekcfwEfCp2uLTWzr-P2_OVyzTF-420AoXae5W6GK2kP5NvueOXBRzAIJBRN2U0c7Sl0HUzUy8eKWNuTs2uaiapCUkJUo5Ng9ahfsfGZ8=@proton.me/

applying [1/1] https://yhetil.org/guix/iMoekcfwEfCp2uLTWzr-P2_OVyzTF-420AoXae5W6GK2kP5NvueOXBRzAIJBRN2U0c7Sl0HUzUy8eKWNuTs2uaiapCUkJUo5Ng9ahfsfGZ8=@proton.me/
diff --git a/gnu/packages/patches/pnet-fix-off-by-one.patch b/gnu/packages/patches/pnet-fix-off-by-one.patch
new file mode 100644
index 0000000000..858d226697

1:12: space before tab in indent.
 			else
1:13: space before tab in indent.
 			{
1:14: space before tab in indent.
 				sizeParamIndex = attributeInfo->namedArgs[currentNamedArg].evalValue.un.i4Value;
1:17: space before tab in indent.
 				{
1:18: space before tab in indent.
 					CGErrorForNode(info, attributeInfo->namedArgs[currentNamedArg].node,
Checking patch gnu/packages/patches/pnet-fix-off-by-one.patch...
Applied patch gnu/packages/patches/pnet-fix-off-by-one.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 858d2266976c94f07b70a42d2e2477fd48e600df	gnu/packages/patches/pnet-fix-off-by-one.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.