History log of /openbsd-current/usr.bin/file/magic.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 01-May-2016 nicm

Tidy up some #include lines.


# 1.14 01-May-2016 nicm

Add support for 'name' and 'use' which allows more of the latest magic
files to work unchanged. (We are still missing 'indirect' and a few
other bits.)


# 1.13 01-May-2016 nicm

Add support for 'clear' test, and fix 'default' to expand the result
string if any (used by, for example, rtf).


# 1.12 30-Apr-2016 nicm

Fix the default type to work properly, that is to only match if no
previous test at the same level has matched.


Revision tags: OPENBSD_5_9_BASE
# 1.11 05-Oct-2015 nicm

Add support for !:strength modifier to adjust strength of a test.


# 1.10 05-Oct-2015 nicm

Offset into the file can be size_t and add some casts to remove warnings.


# 1.9 02-Oct-2015 deraadt

use limits.h instead of sys/param.h to get PATH_MAX


# 1.8 11-Aug-2015 nicm

Support = test for floats and doubles.


# 1.7 11-Aug-2015 nicm

Add another function for printing warnings before the magic_line is
created so all warnings go through the same fprintf.


Revision tags: OPENBSD_5_8_BASE
# 1.6 29-May-2015 nicm

I got confused and made the strength multiplier 20, it should be 10.


# 1.5 24-Apr-2015 nicm

New implementation of the file(1) utility. This is a simplified,
modernised version with a nearly complete magic(5) parser but omits some
of the complex builtin tests (notably ELF) and has a reduced set of
options.

ok deraadt


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.4 24-Apr-2009 chl

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@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.3 08-May-2008 chl

Update file to 4.21.

tested by ian@ sthen@

OK ian@, "move ahead with it" deraadt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.2 19-May-2004 tedu

remove old file, rcsids


# 1.1 19-May-2004 tedu

file 4.09