mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 15:41:38 +00:00
0f97fdd228
* Modifications like adding @SSL_CFLAGS@ to .pc.acr files that would be overwritten by `make pkgcfg` have been moved to Makefiles proper. * Missing .pc.acr files for libraries r_egg and r_crypto were added to the tree as well as the configure script. * Instead of explicitly listing every -lr_* library in every .pc file in the Libs: section, r_* libraries are now listed in the Requires: section, which ensures that flags get transitively propagated. This gets rid of the MAGICSED hack. |
||
---|---|---|
.. | ||
d | ||
apprentice.c | ||
ascmagic.c | ||
file_opts.h | ||
file.1 | ||
file.h | ||
fsmagic.c | ||
funcs.c | ||
is_tar.c | ||
magic.c | ||
Makefile | ||
mconfig.h | ||
meson.build | ||
names.h | ||
patchlevel.h | ||
print.c | ||
README | ||
softmagic.c | ||
tar.h |
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