SkUaTeR c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
..
2011-09-10 01:30:03 +02:00
2011-09-10 01:30:03 +02:00
2011-10-18 09:38:20 +02:00
2017-05-09 23:53:20 +02:00
2017-06-28 22:54:40 +02:00
2011-09-10 01:30:03 +02:00
2011-09-10 01:30:03 +02:00
2011-09-12 01:47:28 +02:00
2016-12-19 17:23:30 +01:00
2011-09-12 01:47:28 +02:00

This implementation of file(1) has been taken from OpenBSD,
I have removed the elf part which reduces more than 1KLOC.
I have also cleaned up the code in order to fix some warnings
and integrate with r2 syntax. magic_ api is now r_magic_

   --pancake

$ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/usr.bin/file

* understand and document how conditional works