File unrarsrc-3.8-variablesize.patch of Package unrar

--- match.cpp
+++ match.cpp
@@ -51,7 +51,7 @@
     }
     char Path1[NM],Path2[NM];
     GetFilePath(Wildcard,Path1,ASIZE(Path1));
-    GetFilePath(Name,Path2,ASIZE(Path1));
+    GetFilePath(Name,Path2,ASIZE(Path2));
     if (mstricompc(Wildcard,Path2,ForceCase)==0)
       return(true);
     if ((CmpPath==MATCH_PATH || CmpPath==MATCH_EXACTPATH) && mstricompc(Path1,Path2,ForceCase)!=0)
openSUSE Build Service is sponsored by