unofficial mirror of guix-patches@gnu.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 858d2266976 ...
found 858d2266976 in https://yhetil.org/guix-patches/cc87b692472570311e155b361d01975fb1bae193.1734369314.git.efraim@flashner.co.il/ ||
	https://yhetil.org/guix-patches/2Zx39DgdkCBWdzQR1QSV4eAxPs98sBBj43GTHCUKL3lvKNunS5hQwqkEpvrKSg1W-hlzxdx5RNwlrn5_ILHPHYidzwx_8oCkmzzXxyk6y8M=@proton.me/

applying [1/1] https://yhetil.org/guix-patches/cc87b692472570311e155b361d01975fb1bae193.1734369314.git.efraim@flashner.co.il/
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 00000000000..858d2266976

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.

skipping https://yhetil.org/guix-patches/2Zx39DgdkCBWdzQR1QSV4eAxPs98sBBj43GTHCUKL3lvKNunS5hQwqkEpvrKSg1W-hlzxdx5RNwlrn5_ILHPHYidzwx_8oCkmzzXxyk6y8M=@proton.me/ for 858d2266976
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 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).