summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
Commit message (Collapse)AuthorAgeFilesLines
* Remove more single-space hard sentence breaks.sheldonh2000-03-061-1/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-5/+10
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* underline "pattern" in the synopsis.gsutter2000-02-281-1/+1
| | | | | PR: 17042 Submitted by: Edwin Groothuis <mavetju@chello.nl>
* Fix typo's.asmodai2000-01-281-2/+2
| | | | | PR: 16430 Submitted by: Adam.Kranzel@teru.dyndns.org (shade@dnai.com)
* Use mktemp(1) for tempfiles (concatdb.sh), and increase the number of X's.kris2000-01-123-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-2817-17/+17
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+2
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Fix a width.ru1999-06-051-1/+1
|
* Delete debug line.wosch1999-05-141-2/+1
| | | | | PR: bin/9793 Submitted by: Andy Farkas <andyf@speednet.com.au>
* Don't overwrite the variable LOCATE_CONFIGwosch1999-05-142-3/+9
| | | | | | | | This is useful for people who want index their home directory: $ env LOCATE_CONFIG=$HOME/.locate.rc /usr/libexec/locate.updatedb Submitted by: Dmitry Morozovsky <marck@rinet.ru>
* fix PRUNEPATHS assignmentache1999-02-281-2/+2
|
* Added myself as maintainer.wosch1999-02-091-1/+4
|
* Set TMPDIR to /tmpwosch1998-11-291-9/+7
| | | | | Use the new find option -s for sorted output. Remove the temp directory in trap.
* Set TMPDIR to /tmpwosch1998-11-291-14/+35
| | | | | | | | | Remove the temp directory in trap. Replace the buggy awk script with a correct perl script. Don't make a copy of the input data anymore if the input is already sorted (option -presort). This scheme avoid large temporary files in /tmp.
* Recommended TMPDIR is now /tmp (undo rev 1.6)wosch1998-11-291-2/+2
|
* Create a save TMPDIR using `mktemp -d'.wosch1998-06-181-2/+7
|
* Add cross references for find(1), locate(1), whereis(1) and which(1).jkoshy1998-05-151-1/+3
| | | | | Submitted by: Josh Gillam <josh@quick.net> PR: docs/6642
* Change default temporary directory (TMPDIR) from /tmp to /var/tmp.wosch1998-03-084-11/+11
| | | | | Mosts users seems to have a larger /var/tmp partition than /tmp - IMHO silly but who cares?
* Improve shell variable substitution.wosch1998-03-083-30/+24
|
* locate(1) is no longer started by /etc/weekly.alex1998-02-071-5/+5
|
* Typo fix.alex1998-01-011-2/+2
|
* <bsd.prog.mk> has always included ../Makefile.inc, and there are nobde1997-12-173-4/+3
| | | | complications involving .PATH or dependencies, so don't include it here.
* Allow TMPDIR to be set and actually *used*; if it not set, it defaultssef1997-12-133-6/+9
| | | | to /tmp.
* Float overflow in statistic function for large databaseswosch1997-09-231-4/+4
| | | | (>100MB characters).
* Use err(3). Use .Pa macro for filenames in man page.charnier1997-07-214-42/+32
|
* fix up this man pagejmg1997-04-181-20/+47
| | | | | | one typo was: Submitted by: Josh Gilliam PR#3319
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-292-4/+4
| | | | posix standard on the topic.
* fix a couple misspellings, one of 'em closes pr 2892.jmg1997-03-061-3/+3
|
* Revert $FreeBSD$ to $Id$peter1997-02-2214-14/+14
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1414-14/+14
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix uninitialized memory read for case insensitive search. Harmless.wosch1996-12-131-1/+4
| | | | submitted by: purify
* add forgotten variable $locatewosch1996-10-311-1/+2
|
* Typo: to --> too. Fixes PR#1907.alex1996-10-271-2/+2
| | | | Pointed out by: Pat Lashley <patl@Phoenix.Volant.ORG>
* Do not store character 30. I made a test at my CS departmentwosch1996-10-271-1/+8
| | | | | and at least one user use this char in a file name. Older locate implementions core'd.
* Rename FNM_ICASE to FNM_CASEFOLDache1996-10-231-2/+2
|
* Better case insensitve search support for pattern with meta chars.wosch1996-10-201-2/+9
| | | | | In some rare cases this does not work proper before flag FNM_ICASE was added to fnmatch(3).
* 8-Bit character support.wosch1996-10-136-67/+147
| | | | | | | | | | Old locate(1) programs still works with the new database format, print some garbage for 8 bit characters, but don't core (maybe except char 30). 7-Bit Puritan should not notice any difference. Same speed, Same database size if the database contain only ASCII characters. Reviewed by: ache
* export variable TMPDIR (which maybe set, but not exported in /etc/locate.rc)wosch1996-10-121-2/+3
|
* Fix searching for shell quoting characters. I guess it waswosch1996-10-093-21/+43
| | | | | | | | | | broken since locate exists. This works now $ locate '*\[' $ locate '*i386-\**' $ locate '*[C\[]'
* #include <fastfind.c> -> #include "fastfind.c"wosch1996-09-161-5/+5
|
* remove unnecessary boundary check, 2x fasterwosch1996-09-141-18/+13
| | | | code cleanup
* Document the existance of a configuration file for updatedb.guido1996-09-052-4/+13
| | | | | Fix a typo in the default rc file and add a comment about default values.
* Fix to work with obj directories: -I. -> -I${.CURDIR}wosch1996-09-011-2/+2
| | | | Submitted by: Bruce
* optimized search algorithmwosch1996-08-315-121/+957
| | | | | | | | | | | | | faster IO due mmap(2) [-m | -s] better error check for damaged databases support for databases in network byte order (SunOS/sparc) optional case insensitve search [-i] optional multiple databases optional multiple pattern new enviroment variable LOCATE_PATH for database(s) [-S] print some statistic about the database [-l number] limit output to number file names [-c] suppress normal output; instead print a count of matching file names
* NULL -> '\0'wosch1996-08-312-12/+12
| | | | Submitted by: Bruce, see also c-faq 5.6 and 5.9
* fix prototypes/forward declarations/return typepeter1996-08-302-78/+5
| | | | kill obsolete updatedb.csh, it's been rewritten in sh now.
* delete unused #include <string.h>peter1996-08-301-2/+1
|
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightwosch1996-08-273-6/+72
|
* code cleanupwosch1996-08-222-33/+35
|
OpenPOWER on IntegriCloud