summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate/bigram
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+17
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Merge headsjg2014-04-281-1/+1
| |\ | |/ |/|
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+18
| | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-131-1/+1
|/ | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* Various changes to make locate compilable with WARNS=6. Note that theregavin2010-06-281-3/+5
| | | | | | | | is still one issue on FreeBSD/arm (signed vs unsigned char) which prevents actually bumping this to WARNS=6 - I'm still considering the correct solution to this issue. Tested by: make universe
* Include missing headers.stefanf2005-02-091-0/+1
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* <bsd.prog.mk> has always included ../Makefile.inc, and there are nobde1997-12-171-1/+1
| | | | complications involving .PATH or dependencies, so don't include it here.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* 8-Bit character support.wosch1996-10-131-3/+4
| | | | | | | | | | 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
* remove unnecessary boundary check, 2x fasterwosch1996-09-141-18/+13
| | | | code cleanup
* NULL -> '\0'wosch1996-08-311-5/+5
| | | | Submitted by: Bruce, see also c-faq 5.6 and 5.9
* delete unused #include <string.h>peter1996-08-301-2/+1
|
* code cleanupwosch1996-08-221-26/+23
|
* bigramwosch1996-08-142-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bigram does not remove newline at end of filename. This break particulary the bigram algorithm and /var/db/locate.database grow up 15 %. Bigram does not check for characters outside 32-127. The bigram output is silly and need ~1/2 CPU time of database rebuilding. old: locate.bigram < $filelist | sort | uniq -c | sort -nr ^^^^^^^^^^^^^^ this can easy made bigram new: bigram < $filelist | sort -nr code Code does not check for char 31. Use a lookup array instead a function. 3 x faster. updatedb rewritten sync with bigram changes read config file /etc/locate.rc if exists submitted by: guido@gvr.win.tue.nl (Guido van Rooij) concatdb - concatenate locate databases mklocatedb - build locate database
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-272-0/+91
OpenPOWER on IntegriCloud