| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-01-20 | locate.updatedb: Add -- to the invocation of locate.code | uwe | |
| A bigram can start with a dash/minus, don't let getopt misinterpret it as an option. From Hakan Engvall in PR misc/57191 | |||
| 2020-04-25 | Little clean up: use getopts and don't use ``. Suggested by kre@. | simonb | |
| 2020-02-06 | Add support for specifying an alternate locate.updatedb config file. | simonb | |
| 2019-10-13 | fool gcc with strncpy. | christos | |
| 2018-05-14 | locate: fix support for multiple databases | lukem | |
| Ensure that the first database is correctly added when more than one database is provided. Fixes problem I introduced in rev 1.17 on 2009-04-12, and noticed recently by Simon. | |||
| 2017-07-03 | Remove workaround for ancient HTML generation code. | wiz | |
| 2016-09-05 | Drop main() prototype. | sevan | |
| 2014-08-04 | Synchronise several shell_quote implementations, and: | apb | |
| * Elide some unnecessary pairs of quotation marks, to improve readability. For example, shell_quote "''" is now \'\' instead of ''\'''\'''. * Don't add quotes around words that contain only safe characters, to improve readability. * LC_COLLATE=C to prevent [a-zA-Z] from matching non-ASCII characters. * Use ${SED} if defined. | |||
| 2011-09-04 | ANSIfy + static + __dead | joerg | |
| 2011-07-13 | Comments and white space changes, inspired by Greg Woods' remarks | apb | |
| in PR 45130, but not directly copied from the patch in the PR. | |||
| 2011-07-13 | Fix error in previous: The first character of $i should be removed | apb | |
| only if it is '!', but it was removed in the wrong case branch. | |||
| 2011-07-10 | Allow quoting of embedded shell metacharacters in locate.conf(5). | apb | |
| The shell_quote function here is identical to that in postinstall and etcupdate. This should fix PR 45130 from Greg Woods. | |||
| 2010-05-14 | Reorder sections to canonical order. | joerg | |
| 2009-11-17 | ANSIfy, sprinkle "const" in some obvious cases | drochner | |
| 2009-04-12 | Fix WARNS=4 issues | lukem | |
| 2008-09-22 | sign over my copyright to TNF | hubertf | |
| 2008-07-21 | Remove the \n and tabs from the __COPYRIGHT() strings. | lukem | |
| Tweak to use a consistent format. | |||
| 2007-04-29 | fix typos | msaitoh | |
| 2006-04-23 | Redo the previous change so that we can ignore access errors from find, | christos | |
| but also tell when writing to the output file failed, by using a pipeline to cat. While here change `` to $(). Otherwise this would always fail since it is ran as nobody and therefore it cannot access some files. Reported by smb. | |||
| 2006-02-26 | This patch removes one possible cause for a prolonged "out of disk" | dyoung | |
| condition on /tmp/: if creating the file list ($FILELIST) fails, immediately exit with a non-zero result code. This fixes a bug where, if the file list filled /tmp/, updatedb.sh would nevertheless run for several minutes before it removed the file list as it quit. | |||
| 2006-02-12 | PR/32799: David H. Gutteridge: Apparent off-by-one error in locate(1) causes | christos | |
| incorrect behaviour when entries with the maximum path length are encountered | |||
| 2005-10-05 | Make it clear where this program can be found. | hubertf | |
| Requested by wiz. | |||
| 2005-10-05 | Add locate.updatedb(8). | hubertf | |
| Discovered missing while sorting things out for BSDcertification.org. Ran through wizd(8). | |||
| 2004-04-19 | Rework "ignorefs" behaviour: | lukem | |
| * types are added to (rather than overriding) the default list * Still use "ignorefs none" to clear the list (including the default list) * Fix argument parsing when using "none" This makes "ignorefs" much more useful if you just want to add another fstype to the default list. Simplify variable assignment. | |||
| 2004-04-19 | xref locate.conf(5) | lukem | |
| 2004-02-06 | Use /etc/locate.conf for configuration, per discussion at tech-userlevel. | itohy | |
| 2003-08-07 | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | |
| Patches provided by Joel Baker in PR 22365, verified by myself. | |||
| 2003-04-07 | remove -g accidentally committed | christos | |
| 2003-04-07 | - stricter bad file format checks | christos | |
| - KNF - use LIST macros | |||
| 2003-04-05 | Replace > by \*[Gt] for HTML output. | wiz | |
| 2003-04-05 | Move exit status information to EXIT STATUS section, and note that we | perry | |
| exit >0 if errors such as missing or corrupted database files are encountered. | |||
| 2003-04-05 | 1) print an error and exit if fed a directory as a database | perry | |
| Patch submitted by Soren Jacobsen in PR bin/21016, but heavily edited by me. 2) error and exit out if you can't open a database instead of just warning and going on. | |||
| 2003-04-03 | PR/13629: Rick Byers: Don't trust data from the database file. | christos | |
| 2002-09-18 | makefile delint. use NETBSDSRCDIR as appropriate | lukem | |
| 2002-05-05 | Quote $FILELIST and $BIGRAMS consistently. Especially the latter | kim | |
| can elicit "usage" from locate.code at runtime. | |||
| 2001-12-12 | MKfoo=no -> NOfoo | tv | |
| 2001-12-01 | Empty line -> .Pp. | wiz | |
| 2001-12-01 | Whitespace cleanup. | wiz | |
| 2001-11-07 | exclude cd9660 and procfs as well. fixes PRs [bin/8454] and [bin/14006] | lukem | |
| 2001-06-18 | use mktemp(1) to safely create the temporary file. | lukem | |
| fixes [security/12915] from David Sainty. | |||
| 2001-05-14 | Trap also SIGHUP and SIGQUIT. Suggested by Jim Bernard & Christos | jdolecek | |
| some time ago. | |||
| 2001-03-12 | Don't exit with status 1 for successfull (non-interrupted) run. | jdolecek | |
| Reported and patch provided in bin/12372 by Jim Bernard. | |||
| 2000-05-06 | Do not count the end of a line in the bigram table. Newlines are stripped | mycroft | |
| before coding anyway, and the bigram output was screwing up (and often pessimising) the table. | |||
| 2000-05-06 | Adjust the previous change to not generate garbage databases. | mycroft | |
| 2000-04-29 | Always wrap the bigram string in double quotes, in case it contains spaces. | mycroft | |
| Some other trivial cleanup. | |||
| 2000-04-20 | Convert updatedb script from C-shell to bourne shell. | jdolecek | |
| 2000-03-22 | Include <string.h> to get a prototype for memset(). Fixes build | simonb | |
| problems on alpha noted by Tim Rightnour on current-users. | |||
| 2000-03-20 | locate.bigram does all the bigram processing itself now; store it's result | jdolecek | |
| in local variable and pass the value to locate.code directly instead of using temporary file always remove $filelist, even if an error is encountered | |||
| 2000-03-20 | the first args is expected to be the bigrams array, instead of name of | jdolecek | |
| file holding it | |||
| 2000-03-20 | Do all bigram processing here, instead of in updatedb.csh; saves | jdolecek | |
| a few cycles (it's runs like 2 seconds instead of 16) and the algorithm is hopefully a bit more clear | |||
