summaryrefslogtreecommitdiff
path: root/usr.bin/locate
AgeCommit message (Expand)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-16correct type in sizeof by switching to sizeof(*ptr). (harmless)Ted Unangst
2014-10-08userland reallocarray audit.Doug Hogan
2013-11-17Include unistd.h as it is the standard location for getopt().Okan Demirmen
2012-04-13Don't try to mmap a 0-length file.Antoine Jacoutot
2010-10-25Add missing FNM_CASEFOLD flag to fnmatch() when locate is run in caseTodd C. Miller
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,Ingo Schwarze
2009-12-10Eliminate the confusing term "find codes database" which is used nowhere else.Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-04error out if count gets out of bounds. Happens with corrupted databases,Marc Espie
2008-10-01in getrusage(), use RUSAGE_SELF for the current process rather than 0Kevin Lo
2008-07-26add -b to SYNOPSIS and usage();Jason McIntyre
2008-07-26Add -b switch for matching on the last part of the path only.Pierre-Yves Ritschard
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-25some wording improvements for -d and -m; from Jacek MasiulaniecJason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-13the ellipsis in the synopsis of this command is not an optionalIgor Sobrado
2007-03-18It's not smart to use a space as a field separator when a space canOtto Moerbeek
2007-03-15simplify synopsis/usage() and sort options. also fixes documentation/5411Jason McIntyre
2007-02-19- Check for fgets failure.Ray Lai
2006-08-05Remove "with with" typos.Ray Lai
2004-04-08sort options and sync usage();Jason McIntyre
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-09-29knfTheo de Raadt
2003-09-29realloc fix; ok henning cloderTheo de Raadt
2003-09-25- indent and literal for examplesJason McIntyre
2003-09-02escape punctuation;Jason McIntyre
2003-07-10add missing includesDavid Krause
2003-07-07protosTheo de Raadt
2003-06-29Previous commit resulted in a zero-length locate db which I didn'tTodd C. Miller
2003-06-28Fix previous commit that broke locate. Unlike printf, print writes aTodd C. Miller
2003-06-24use print, not printf in awk; from ak at freeshellTodd C. Miller
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-08When creating > 1 files with mktemp(1), make sure that if the creationPeter Valchev
2003-02-03typos;Jason McIntyre
2003-01-02typo; jmc at prioris.mini.pw.edu.plHenning Brauer
2002-10-04Move the -H to the sort variable declaration itself since the -HTodd C. Miller
2002-10-04sort -H for modern large filesystems; from McikyeBSD; millert@ ok and multipl...Michael Shalayeff
2002-07-07enviroment -> environmentJan-Uwe Finck
2002-06-24prevent potential unaligned access error; ok espie@, pval@Christian Weisgerber
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).Aaron Campbell
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
2000-04-18Missed a few.Aaron Campbell