File fixes-rpmlint.patch of Package ooRexx

--- extensions/hostemu/cmdparse.ypp-orig	2012-10-16 19:27:36.189511851 -0300
+++ extensions/hostemu/cmdparse.ypp	2012-10-16 19:28:21.868515032 -0300
@@ -286,6 +286,7 @@
       ulNumSym++;
       return kwsearch (token);
       }
+	return 0;
    }
 
 
--- interpreter/platform/unix/SysFileSystem.cpp-orig	2012-10-16 19:18:52.148476270 -0300
+++ interpreter/platform/unix/SysFileSystem.cpp	2012-10-16 19:19:27.348478683 -0300
@@ -413,7 +413,7 @@
     strncpy(tempName, name, sizeof(tempName));
     if (extension != NULL)
     {
-        strncat(tempName, extension, sizeof(tempName));
+        strncat(tempName, extension, sizeof(tempName)-strlen(tempName)-1);
     }
 
     // only do the direct search if this is qualified enough that
openSUSE Build Service is sponsored by