summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/print.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New implementation of the file(1) utility. This is a simplified,nicm2015-04-241-233/+0
| | | | | | | | 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
* variety of fixes to correct large time_t code. it is quite broken upstream.deraadt2013-04-171-4/+4
| | | | ok chl
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* file update to 4.24chl2009-04-241-7/+19
| | | | | | | | | | | 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@
* Update file to 4.21.chl2008-05-081-37/+76
| | | | | | tested by ian@ sthen@ OK ian@, "move ahead with it" deraadt@
* remove some warnings:chl2007-09-141-3/+3
| | | | | | | unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
* use strcspn to properly overwrite '\n' in fgets returned buffergilles2007-09-111-4/+3
| | | | ok pyr@, ray@, millert@, moritz@, chl@
* big update to file 4.09. ok ian@tedu2004-05-191-83/+124
|
* ian gives permission for 3/4 removalderaadt2003-06-131-7/+2
|
* Replace TPUM license with standard BSD-style licenseian2003-03-111-24/+32
|
* Bring in readelf.c from Christos' version 3.41 to head off a localian2003-03-031-2/+13
| | | | | | | stack attack noted by iDefense, and for more complete 64-bit ELF support. Add hand-made config.h to avoid running configure but still be able to use Christos' code. In print.c add error(...)-->err(1,...) wrapper. Tested on i386, sparc64, macppc.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-20/+4
|
* err/warnmickey1998-07-101-62/+5
|
* 64bit fix: don't mix long & int.millert1997-08-241-3/+3
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-9/+9
|
* Updates file(1) to version 3.22 by way to NetBSD.millert1997-02-091-5/+6
|
* rcsidderaadt1996-06-261-2/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+204