Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: missing quotes in /usr/share/magic for Erlang JAM file definition Version-Release number of selected component (if applicable): $ file --version file-4.26 How reproducible: $ echo '1234Tue Mar 3 19:47:42 2009' |file - Actual results: /dev/stdin: Jan 22 14:32:44 MET 1991\011Erlang JAM file - version 4.2 Expected results: /dev/stdin: ASCII text Additional info: this bug is mentioned in https://bugs.launchpad.net/ubuntu/+source/file/+bug/248619 where it prevents printing of openoffice documents, that were created on tuesdays. please just add the missing quotes. --- magic 2009-04-28 17:18:25.000000000 +0200 +++ magic.erlangfix 2009-04-28 17:19:15.000000000 +0200 @@ -4855,10 +4855,10 @@ >8 string BEAM Erlang BEAM file # 4.2 version may have a copyright notice! -4 string Tue Jan 22 14:32:44 MET 1991 Erlang JAM file - version 4.2 -79 string Tue Jan 22 14:32:44 MET 1991 Erlang JAM file - version 4.2 +4 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2 +79 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2 -4 string 1.0 Fri Feb 3 09:55:56 MET 1995 Erlang JAM file - version 4.3 +4 string 1.0\ Fri\ Feb\ 3\ 09:55:56\ MET\ 1995 Erlang JAM file - version 4.3 #------------------------------------------------------------------------------ # ESRI Shapefile format (.shp .shx .dbf=DBaseIII)
file-4.26-5.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/file-4.26-5.fc10
hello Sven, Thanks for your bug report and patch. I fixed this in rawhide and F10; due to F11 development freeze, I'm unable to fix this in F11 now, will do it as soon as possible.
Hello Daniel, $ rpm -q file file-4.26-5.fc10.i386 $ echo '1234Tue Mar 3 19:47:42 2009' |file - /dev/stdin: ASCII text $ file WillNotPrintOnTuesday.ps WillNotPrintOnTuesday.ps: PostScript document text conforming DSC level 3.0, Level 3 Thank you very much. Good luck for F11.
file-4.26-5.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.