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

Jon Noack noackjr at alumni.rice.edu
Mon Aug 2 05:59:54 PDT 2004

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:

I made a test program to compare the output.  Here's the way things 
would look with file 4.10:

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:

My version is highly accurate for every version we've had so far and 
I've even checked with re@ 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...

More information about the freebsd-current mailing list