summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate (follow)
Commit message (Expand)AuthorAgeFilesLines
* Clarify that zero matches are not an error.zhuk2020-01-071-2/+5
* Skip fcodes parent dir permission check if writing to stdout.millert2019-09-101-5/+7
* Previous change prevented non-root uses of locate by users.kmos2019-08-311-6/+7
* locate.updatedb can't update the database unless it is run as root.kmos2019-08-301-1/+6
* delete some historic $Id that have been chewed on by cvstedu2019-01-179-24/+10
* Various tweaks:schwarze2019-01-141-15/+19
* Untimely spring cleaning:schwarze2019-01-144-92/+30
* calling err after fgets assumes we're not at EOF.espie2018-05-301-4/+9
* Add missing length checks to make sure we don't dereference a pointermillert2017-12-081-4/+6
* Remove locate.concatdb, it never worked.akfaew2017-06-202-76/+3
* keep the code that endian swaps, but remove the explanation that it'stedu2016-09-011-5/+3
* include unistd.h for pledge() and err.h for err.h for err()jsg2015-12-091-2/+4
* remove mlinks for aliases: ntalkd, mfs, updatedbjmc2015-11-211-3/+2
* Sort and simplify includes, remove a couple needless extern decls.mmcc2015-11-191-16/+8
* very simple pledges, stdio and rpath, very boringderaadt2015-11-152-4/+10
* pretty simple. pledge "stdio rpath" at startup, and pledge "stdio" afterderaadt2015-11-151-2/+8
* don't need MMAP to compile nowtedu2015-10-231-3/+3
* correct spelling of statistic in function name, from Pablo Hernandeztedu2015-10-231-5/+5
* undent includes, from michael reedtedu2015-10-231-6/+6
* mmap is the default. it's effectively the only tested codepath. so burn downtedu2015-10-233-160/+16
* Move locate(1) database build directory back to /tmp and kill non-existentrzalamena2015-08-141-3/+3
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-165-30/+29
* correct type in sizeof by switching to sizeof(*ptr). (harmless)tedu2014-11-161-6/+6
* userland reallocarray audit.doug2014-10-081-4/+4
* Include unistd.h as it is the standard location for getopt().okan2013-11-171-3/+6
* Don't try to mmap a 0-length file.ajacoutot2012-04-131-2/+4
* Add missing FNM_CASEFOLD flag to fnmatch() when locate is run in casemillert2010-10-251-2/+7
* More delimiters that need quoting inside macros, hunted down by jmc@,schwarze2010-07-151-4/+4
* Eliminate the confusing term "find codes database" which is used nowhere else.schwarze2009-12-101-5/+7
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-273-49/+6
* error out if count gets out of bounds. Happens with corrupted databases,espie2009-06-042-5/+15
* in getrusage(), use RUSAGE_SELF for the current process rather than 0kevlo2008-10-011-4/+4
* add -b to SYNOPSIS and usage();jmc2008-07-262-7/+7
* Add -b switch for matching on the last part of the path only.pyr2008-07-263-10/+27
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-3/+3
* some wording improvements for -d and -m; from Jacek Masiulaniecjmc2007-06-251-5/+5
* convert to new .Dd format;jmc2007-05-312-5/+5
* the ellipsis in the synopsis of this command is not an optionalsobrado2007-04-131-7/+5
* It's not smart to use a space as a field separator when a space canotto2007-03-183-10/+13
* simplify synopsis/usage() and sort options. also fixes documentation/5411jmc2007-03-152-18/+16
* - Check for fgets failure.ray2007-02-191-5/+6
* Remove "with with" typos.ray2006-08-051-4/+4
* sort options and sync usage();jmc2004-04-082-11/+11
* Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>otto2003-11-091-4/+4
* typos from Jonathon Gray;jmc2003-11-081-4/+4
* knfderaadt2003-09-296-139/+133
* realloc fix; ok henning cloderderaadt2003-09-291-27/+31
* - indent and literal for examplesjmc2003-09-252-21/+22
* escape punctuation;jmc2003-09-021-3/+3
* add missing includesdavid2003-07-101-3/+4