summaryrefslogtreecommitdiff
path: root/usr.bin/file/apprentice.c
AgeCommit message (Collapse)Author
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1999-12-06oflowTheo de Raadt
1999-09-26Increase MAXMAGIS again, and change the reallocation - don't need toIan Darwin
skimp on memory as much as when this code was written! (Thanks Theo).
1998-08-21oopsTheo de Raadt
1998-08-19realloc fixTheo de Raadt
1998-07-10err/warnMichael Shalayeff
1997-02-09Updates file(1) to version 3.22 by way to NetBSD.Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-12-14update from netbsdTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt