Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5) fixes)

From: Jon Noack <noackjr_at_alumni.rice.edu>
Date: Mon, 02 Aug 2004 07:59:14 -0500
On 08/02/04 07:15, Oliver Eikemeier wrote:
> I've prepared an upgrade to file-4.10 at:
> 
>   <http://people.freebsd.org/~eik/patches/fileup.shar>
> 
> This fixes
> 
>   PR bin/63830: [patch] file(1) doesn't recognize FreeBSD 5.x 
> executables properly
> 
> and an MFC will fix the problems of FreeBSD 4.10 being identified as 
> 4.9.1. I'll do some more testing (GCC 3.4) and think we should commit 
> this before the 5.3 src freeze, especially since it has been discussed 
> over a month ago:
>   <http://lists.freebsd.org/pipermail/freebsd-current/2004-June/thread.html#30172>

*sigh*  Why does Christos Zoulas ignore me?  He keeps telling me he'll 
include my patch and then includes someone else's that doesn't fix the 
problems.  In any case, my patch (against file 4.09) to fix the versioning:
http://www.noacks.org/freebsd/readelf.c.diff

I made a test program to compare the output.  Here's the way things 
would look with file 4.10:
http://www.noacks.org/freebsd/output-4.10.txt

Note that 5.x is hardcoded as -CURRENT.  This is asking to be fixed in a 
few months when 5.x goes -STABLE and 6.x appears.  Better not to print 
branch names at all (for dev branches I just print the whole version 
value in parentheses).  There are other minor nits like 5.0.4 and 4.15.30...

Here's the output of my patch:
http://www.noacks.org/freebsd/output.txt

My version is highly accurate for every version we've had so far and 
I've even checked with re_at_ to ensure it'll be accurate in the future. 
It won't need to be fixed in a few months.

Here's to resubmitting for file 4.11...
Jon
Received on Mon Aug 02 2004 - 10:59:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC