file-4.16 is now available

Christos Zoulas christos at zoulas.com
Mon Oct 31 15:52:58 EET 2005


On Oct 31,  8:38am, rvokal at redhat.com (Radek =?ISO-8859-1?Q?Vok=E1l?=) wrote:
-- Subject: Re: file-4.16 is now available

Thanks a lot!

christos

| The problem seems to be in readelf.c with the FLAGS_DID_CORE patch, I
| guess it shouldn't return unless the flag is set, eg. the last return
| statement is useless. Quick patching fixes it...=20
| 
| --- file-4.16/src/readelf.c.old	2005-10-17 20:41:44.000000000 +0200
| +++ file-4.16/src/readelf.c	2005-10-31 08:34:35.000000000 +0100
| @@ -546,11 +546,11 @@ donote(struct magic_set *ms, unsigned ch
|  				return size;
|  			*flags |=3D FLAGS_DID_CORE;
| -		} else
| -			return size;
| +		} /* else
| +			return size;*/
|  	}
| =20
|  	switch (os_style) {
| 



More information about the File mailing list