22 Commits

Author SHA1 Message Date
mckay
3671fbcc9a Correct a regression introduced during the import of file(1) 5.11.
Magic tests containing "search" or "regex" directives were incorrectly
compiled by "mkmagic" and were effectively ignored.  This caused troff
files (for example) to be detected as simply "ASCII text" instead of
as "troff or preprocessor input, ASCII text".

PR:		bin/170415
Approved by:	consensus on developers@
MFC after:	3 days
2012-08-17 02:27:17 +00:00
obrien
248502d7f0 Update file(1) to version 5.11. 2012-04-19 03:20:13 +00:00
rpaulo
e4ed2cb10c Properly warp around more code under COMPILE_ONLY to recover from build
errors.
2010-08-02 13:05:12 +00:00
delphij
94241912dc Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT.
Security:	CVE-2009-1515
2009-05-18 22:34:33 +00:00
obrien
a8abfd3eba Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT. 2009-05-04 00:37:44 +00:00
obrien
69f0422a25 Add an additional COMPILE_ONLY check. 2009-01-02 03:31:45 +00:00
obrien
729acffa05 Record that base/vendor/file/dist@186675 was merged.
Merge base/vendor/file/dist@186675@186690, bringing FILE 4.26 to 8-CURRENT.
2009-01-02 03:10:55 +00:00
obrien
87d6fde760 Flatten the file vendor area.
Remove the svn:keywords property from the vendor files.
2009-01-01 05:39:43 +00:00
obrien
6678cf7c2a Import file version 4.23 onto the vendor branch 2008-01-13 20:35:16 +00:00
obrien
240c77918b Virgin import of Christos Zoulas's FILE 4.21. 2007-05-24 21:59:38 +00:00
obrien
09615277da Virgin import of Christos Zoulas's FILE 4.19. 2007-05-24 16:12:23 +00:00
obrien
0af3611cb6 Fix segfault when '/etc/malloc.conf@ -> AJ' due to differnce between
calloc & malloc as agreed by vendor.  Also remove an unused variable.
2006-06-21 09:28:00 +00:00
obrien
5c5b299c7d Virgin import of Christos Zoulas's FILE 4.17. 2006-06-19 07:52:15 +00:00
obrien
df11c7b63d Virgin import of Christos Zoulas's FILE 4.12. 2004-12-28 04:31:47 +00:00
obrien
bda6cdf589 Virgin import of Christos Zoulas's FILE 4.10.
*- file is now broken into a library containing and processing the magic
   and a consumer binary.
2004-08-09 08:45:41 +00:00
obrien
f35360c372 Virgin import of Christos Zoulas's FILE 3.41.
* - fix memory allocation problem (Jeff Johnson)
	* - fix stack overflow corruption (David Endler)
2003-02-28 05:19:36 +00:00
obrien
2ef757c3c6 Virgin import of Christos Zoulas's FILE 3.39. 2002-09-16 05:54:26 +00:00
obrien
7860fd7670 Virgin import of Christos Zoulas's FILE 3.37. 2001-10-08 22:50:54 +00:00
obrien
0bc19fe086 Virgin import of Christos Zoulas's FILE 3.36. 2001-07-30 03:09:46 +00:00
obrien
30980cd72d Virgin import of Christos Zoulas's FILE 3.35. 2001-04-25 07:41:21 +00:00
obrien
fd87285c4e Virgin import of Christos Zoulas's FILE 3.34. 2001-03-25 18:37:04 +00:00
obrien
73a570e26c Virgin import of FILE 3.32 2000-11-05 08:33:55 +00:00