Blind update of wosch@FreeBSD's code:
authormichaels <michaels@openbsd.org>
Sun, 15 Sep 1996 16:50:33 +0000 (16:50 +0000)
committermichaels <michaels@openbsd.org>
Sun, 15 Sep 1996 16:50:33 +0000 (16:50 +0000)
commit5dc1102e32a93720a1663c962592bfdabe76b3ea
treebc3e9cf4b8b3da74792db337f7c65a19d90e40cb
parent0dee31f79dc0d65dcb487b8d0b478704295a667f
Blind update of wosch@FreeBSD's code:

optimized search algorithm
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
fix prototypes/forward declarations/return type
17 files changed:
usr.bin/locate/Makefile
usr.bin/locate/Makefile.inc
usr.bin/locate/bigram/Makefile
usr.bin/locate/bigram/locate.bigram.c
usr.bin/locate/code/Makefile
usr.bin/locate/code/locate.code.c
usr.bin/locate/locate/Makefile
usr.bin/locate/locate/concatdb.sh
usr.bin/locate/locate/fastfind.c [new file with mode: 0644]
usr.bin/locate/locate/locate.1
usr.bin/locate/locate/locate.c
usr.bin/locate/locate/locate.h
usr.bin/locate/locate/locate.updatedb.8
usr.bin/locate/locate/mklocatedb.sh
usr.bin/locate/locate/pathnames.h
usr.bin/locate/locate/updatedb.sh
usr.bin/locate/locate/util.c [new file with mode: 0644]