summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* Correct syntax error, remove the unescaped newline between "||" and thetjr2002-07-221-4/+2
| | | | | | | command it is intended to test. pdksh and bash caught this syntax error, sh(1) did not behave as intended. PR: 40386
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-1/+1
|
* The .Nm utilitycharnier2002-07-141-2/+3
|
* Fix grammar in 1 sentencetrhodes2002-07-021-3/+3
| | | | | | Reword 'Usually faster in most cases' to 'and is faster in most cases' PR: 40024 (partly)
* Fix unaligned access error.naddy2002-06-241-3/+6
| | | | Reviewed by: ticso
* Only got one of the Perl usages.obrien2002-06-231-2/+3
|
* Replace a perl usage with an AWK one.obrien2002-06-231-1/+1
| | | | Submitted by: Bob Willcox <bob@immure.com>
* Make locate.updatedb tell about the security risk when it is run as root.eivind2002-06-191-0/+5
|
* remove __Pimp2002-03-223-33/+26
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* A global is used even though the value iswosch2002-01-011-13/+13
| | | | | | passed through the function call. Submitted by: "Crist J . Clark" <cjc@freebsd.org>
* Print the path with the shortest absolute length, rather thanmikeh2001-12-121-2/+5
| | | | | | | | arbitrarily selecting one. PR: bin/14361 Approved by: wosch MFC after: 1 week
* mdoc(7) police:ru2001-08-071-4/+2
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-31/+31
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-102-2/+2
|
* Remove duplicate words.dd2001-06-241-1/+1
|
* beforeinstall -> SCRIPTS.ru2001-04-071-6/+4
|
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Off by one error in reading mmap data.wosch2001-01-061-1/+2
| | | | Submitted by: Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
* Prepare for mdoc(7)NG.ru2000-12-191-24/+29
|
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* getopt and friends are declared in <unistd.h>imp2000-09-042-6/+1
| | | | getopt returns -1 not EOF.
* /etc/weekly --> /etc/periodic/weekly/310.locatealex2000-06-141-1/+1
| | | | | | PR: 19268 Submitted by: Uwe Pierau <uwe.pierau@tu-clausthal.de> Reviewed by: asmodai
* 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
OpenPOWER on IntegriCloud