summaryrefslogtreecommitdiff
path: root/usr.bin/locate
AgeCommit message (Expand)Author
2022-08-04change some 4.4BSD references to earlier releasesJonathan Gray
2022-06-12Document ext2fs traversal by locate.updatedb(8)Greg Steuck
2021-08-08document the defaults for the locate.updatedb(8) command line optionsIngo Schwarze
2021-08-07fix the totally wrong markup in the SYNOPSISIngo Schwarze
2021-08-07document the configuration file - as usual, after the options list;Ingo Schwarze
2021-07-30document locate.mklocatedb as wellMarc Espie
2021-06-22reduce verbosity in usage and make it match SYNOPSIS;Jason McIntyre
2020-01-07Clarify that zero matches are not an error.Vadim Zhukov
2019-09-10Skip fcodes parent dir permission check if writing to stdout.Todd C. Miller
2019-08-31Previous change prevented non-root uses of locate by users.kmos
2019-08-30locate.updatedb can't update the database unless it is run as root.kmos
2019-01-17delete some historic $Id that have been chewed on by cvsTed Unangst
2019-01-14Various tweaks:Ingo Schwarze
2019-01-14Untimely spring cleaning:Ingo Schwarze
2018-05-30calling err after fgets assumes we're not at EOF.Marc Espie
2017-12-08Add missing length checks to make sure we don't dereference a pointerTodd C. Miller
2017-06-20Remove locate.concatdb, it never worked.Michal Mazurek
2016-09-01keep the code that endian swaps, but remove the explanation that it'sTed Unangst
2015-12-09include unistd.h for pledge() and err.h for err.h for err()Jonathan Gray
2015-11-21remove mlinks for aliases: ntalkd, mfs, updatedbJason McIntyre
2015-11-19Sort and simplify includes, remove a couple needless extern decls.mmcc
2015-11-15very simple pledges, stdio and rpath, very boringTheo de Raadt
2015-11-15pretty simple. pledge "stdio rpath" at startup, and pledge "stdio" afterTheo de Raadt
2015-10-23don't need MMAP to compile nowTed Unangst
2015-10-23correct spelling of statistic in function name, from Pablo HernandezTed Unangst
2015-10-23undent includes, from michael reedTed Unangst
2015-10-23mmap is the default. it's effectively the only tested codepath. so burn downTed Unangst
2015-08-14Move locate(1) database build directory back to /tmp and kill non-existentRafael Zalamena
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