diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-04-24 18:54:35 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-04-24 18:54:35 +0000 |
commit | 8dcb5d1d2940d843dabdcef31bc8cb2dba817119 (patch) | |
tree | 7458bf3b9120705a836b9e56b7925dce2cf42159 /usr.bin/file/magdir/erlang | |
parent | a75d7de4707e3d43e0e869059021172cadecca54 (diff) |
file update to 4.24
The '-i' switch is now enabled so file(1) can output mime type strings.
ok ian@
builk ports build test on amd64 by jasper@
ok ray@ gilles@ on a almost identical diff
builk ports build test on sparc64 on this almost identical diff by ajacoutot@
also tested by landry@
Diffstat (limited to 'usr.bin/file/magdir/erlang')
-rw-r--r-- | usr.bin/file/magdir/erlang | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/erlang b/usr.bin/file/magdir/erlang new file mode 100644 index 00000000000..59f55ecb31b --- /dev/null +++ b/usr.bin/file/magdir/erlang @@ -0,0 +1,18 @@ + +#------------------------------------------------------------------------------ +# erlang: file(1) magic for Erlang JAM and BEAM files +# URL: http://www.erlang.org/faq/x779.html#AEN812 + +# OTP R3-R4 +0 string \0177BEAM! Old Erlang BEAM file +>6 short >0 - version %d + +# OTP R5 and onwards +0 string FOR1 +>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 1.0 Fri Feb 3 09:55:56 MET 1995 Erlang JAM file - version 4.3 |