Gentoo's file program is reporting uu-encoded files as HTML files. This appears, based on the output, to be an error in the seek of the magic file. The output when doing test1.uue is:
test1.uue: \<head HTML document text
now if I run the file command from the RedHat box next door on the same gentoo box, where the only change is symlinking the magic file to /usr/share/magic where the file program from RedHat expects it, I get this:
test1.uue: uuencoded or xxencoded text
Steps to Reproduce:
1. uuencode a file
2. file <your new uuencoded file>
3. See outut indicating html
should report same as the RedHat file command.
what version of file are you using ?
what version is the redhat one ?
could you try file-4.07 please
Results are identical. I emerged file 4.07 and ran it against a uuencoded file. It reported it as HTML
Works fine here:
azarah@nosferatu glibc $ uuencode glibc-2.3.3_pre20040117.ebuild > foo
azarah@nosferatu glibc $ uuencode glibc-2.3.3_pre20040117.ebuild glibc-2.3.3_pre20040117.ebuild > foo
azarah@nosferatu glibc $ less foo
azarah@nosferatu glibc $ file foo
foo: uuencoded or xxencoded text
azarah@nosferatu glibc $ file --version
magic file from /usr/share/misc/file/magic
azarah@nosferatu glibc $
Please attach the file it miss reports.
Ok. I grabbed 4.07 and manually compiled it because emerge was going back to 4.02 (where's the ebuild file for 4.07?) and after doing the make and make install manually it identified uuencoded files correctly.
Cleaning up bugs. This seems to work ok now.