File file-4.24-elf.dif of Package file.openSUSE_Evergreen_11.4

--- src/readelf.c
+++ src/readelf.c	2008-04-14 16:43:48.082574211 +0200
@@ -663,7 +663,7 @@ core:
 
 	default:
 		if (xnh_type == NT_PRPSINFO) {
-			size_t i, j;
+			size_t i, j, m = 0;
 			unsigned char c;
 			/*
 			 * Extract the program name.  We assume
@@ -675,7 +675,9 @@ core:
 			 * If the characters aren't all printable,
 			 * reject it.
 			 */
-			for (i = 0; i < NOFFSETS; i++) {
+			if (os_style == OS_STYLE_SVR4)
+				m = 1;
+			for (i = m; i < NOFFSETS; i++) {
 				unsigned char *cname, *cp;
 				size_t reloffset = prpsoffsets(i);
 				size_t noffset = doff + reloffset;