lukem
|
22fed3d22d
|
exclude cd9660 and procfs as well. fixes PRs [bin/8454] and [bin/14006]
|
2001-11-07 15:31:41 +00:00 |
lukem
|
c72849267d
|
use mktemp(1) to safely create the temporary file.
fixes [security/12915] from David Sainty.
|
2001-06-18 11:10:25 +00:00 |
jdolecek
|
ef163d60fa
|
Trap also SIGHUP and SIGQUIT. Suggested by Jim Bernard & Christos
some time ago.
|
2001-05-14 14:58:59 +00:00 |
jdolecek
|
5cf4138b21
|
Don't exit with status 1 for successfull (non-interrupted) run.
Reported and patch provided in bin/12372 by Jim Bernard.
|
2001-03-12 13:29:26 +00:00 |
mycroft
|
73816a58f3
|
Do not count the end of a line in the bigram table. Newlines are stripped
before coding anyway, and the bigram output was screwing up (and often
pessimising) the table.
|
2000-05-06 10:26:45 +00:00 |
mycroft
|
e8509e9145
|
Adjust the previous change to not generate garbage databases.
|
2000-05-06 10:02:06 +00:00 |
mycroft
|
e29ea15050
|
Always wrap the bigram string in double quotes, in case it contains spaces.
Some other trivial cleanup.
|
2000-04-29 21:41:19 +00:00 |
jdolecek
|
5ab45b31f7
|
Convert updatedb script from C-shell to bourne shell.
|
2000-04-20 15:40:28 +00:00 |
simonb
|
a04e169a80
|
Include <string.h> to get a prototype for memset(). Fixes build
problems on alpha noted by Tim Rightnour on current-users.
|
2000-03-22 21:45:02 +00:00 |
jdolecek
|
79176095e8
|
locate.bigram does all the bigram processing itself now; store it's result
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 19:22:55 +00:00 |
jdolecek
|
e3f9e89eb9
|
the first args is expected to be the bigrams array, instead of name of
file holding it
|
2000-03-20 19:18:34 +00:00 |
jdolecek
|
a46f4702f8
|
Do all bigram processing here, instead of in updatedb.csh; saves
a few cycles (it's runs like 2 seconds instead of 16) and the algorithm
is hopefully a bit more clear
|
2000-03-20 19:17:35 +00:00 |
jdolecek
|
c3678e83f5
|
s/appears/appeared/
|
2000-03-10 15:15:32 +00:00 |
itohy
|
34d0aa38df
|
Use -s (sort) option of find(1) to reduce usage of temprary storage by sort(1).
|
2000-03-10 11:51:25 +00:00 |
tron
|
842860915e
|
Use "/tmp" and not "/var/tmp" as default temporary directory as suggested
by Thilo Manske in PR bin/9535.
|
2000-03-06 11:24:55 +00:00 |
sjg
|
84a0eb9650
|
Add support for multiple locate databases via $LOCATE_PATH and/or
command line switch.
Also exit(0) only if a match is found.
|
1999-08-16 01:41:16 +00:00 |
garbled
|
9e44e9b578
|
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
|
1999-03-22 18:16:34 +00:00 |
lukem
|
dcab0210a0
|
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
|
1999-02-13 02:54:17 +00:00 |
hubertf
|
586b407bf5
|
Mention /usr/libexec/locate.updatedb, weekly.conf(5)
as per PR 5929 by Patrick Welche <prlw1@cam.ac.uk>
|
1998-08-08 14:49:23 +00:00 |
lukem
|
8ba07ab0b3
|
use CPPFLAGS instead of CFLAGS
|
1997-10-24 09:00:17 +00:00 |
lukem
|
2f6bf4134d
|
WARNSify, fix .Nm usage, deprecate register
|
1997-10-19 04:11:51 +00:00 |
pk
|
f890b048ac
|
NULL => 0 (Arne Juul; PR#3629)
|
1997-05-17 19:47:50 +00:00 |
christos
|
3917c3179d
|
- Makefile cleanups
|
1997-03-24 21:57:01 +00:00 |
thorpej
|
150c33e60b
|
Use ${INSTALL}.
|
1996-10-18 05:55:26 +00:00 |
thorpej
|
81ed704e77
|
Fix tiny goof left over from the merge.
|
1995-09-01 23:48:13 +00:00 |
jtc
|
4d85334f0f
|
Sync with 4.4lite2
|
1995-08-31 22:36:32 +00:00 |
jtc
|
ba2cb090ad
|
Fix typo, noted by Masanobu Saitoh in PR #1270
|
1995-07-25 18:20:25 +00:00 |
jtc
|
535f5e4053
|
Small change to allow 8 bit characters in file names. Inspired by
patch enclosed in PR #987.
|
1995-05-06 06:39:33 +00:00 |
jtc
|
4d5a739bb7
|
Fix typo --- setenv doesn't use = (PR #798).
|
1995-02-15 15:37:56 +00:00 |
jtc
|
7f8ee3fcb6
|
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
|
1994-12-22 06:17:28 +00:00 |
mycroft
|
e9d867ef50
|
Add RCS identifiers.
|
1993-08-01 17:54:45 +00:00 |
mycroft
|
c3e42d1c64
|
Add RCS indentifiers.
|
1993-08-01 07:22:47 +00:00 |
mycroft
|
690cae8181
|
Add RCS indentifiers.
|
1993-07-31 15:17:49 +00:00 |
jtc
|
5108aaad56
|
Update source to use posix fnmatch
|
1993-06-16 17:19:05 +00:00 |
cgd
|
72a9f93759
|
undo the last change; our sort has -T...
|
1993-05-07 05:08:59 +00:00 |
mycroft
|
f8134092d8
|
Don't use -T option to sort(1) (from 386BSD patch 132).
|
1993-04-22 03:35:56 +00:00 |
mycroft
|
a441553d4b
|
Cleanup for GCC 2.
|
1993-04-19 06:59:19 +00:00 |
mycroft
|
0152106f20
|
Reverse sense of fnmatch() to match POSIX.
|
1993-04-10 01:32:25 +00:00 |
cgd
|
9b4135471a
|
no longer searches through kernfs and fdesc filesystems...
it was looking through /kern/root/kern/....
|
1993-03-24 23:15:52 +00:00 |
cgd
|
61f282557f
|
initial import of 386bsd-0.1 sources
|
1993-03-21 09:45:37 +00:00 |