summaryrefslogtreecommitdiff
path: root/usr.bin/file/print.c
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2009-04-24file update to 4.24Charles Longeau
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@
2008-05-08Update file to 4.21.Charles Longeau
tested by ian@ sthen@ OK ian@, "move ahead with it" deraadt@
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2004-05-19big update to file 4.09. ok ian@Ted Unangst
2003-06-13ian gives permission for 3/4 removalTheo de Raadt
2003-03-11Replace TPUM license with standard BSD-style licenseIan Darwin
2003-03-03Bring in readelf.c from Christos' version 3.41 to head off a localIan Darwin
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.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
1998-07-10err/warnMichael Shalayeff
1997-08-2464bit fix: don't mix long & int.Todd C. Miller
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-02-09Updates file(1) to version 3.22 by way to NetBSD.Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt