Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dumping COMPLETE slocate (updatedb) database?
Date: Sun, 10 Jul 2005 06:38:45
Message-Id: 42D0C10A.2060703@mid.alexander.skwar.name
In Reply to: [gentoo-user] Dumping COMPLETE slocate (updatedb) database? by Alexander Skwar
1 Alexander Skwar schrieb:
2
3 > Or to modify the
4 > "locate" binary, so that this check is not done?
5
6
7 [08:30:16 alexander@server:~/tmp/muell/slocate/slocate-2.7] $ diff -u main.c~ main.c
8 --- main.c~ 2005-07-10 08:26:21.469624512 +0200
9 +++ main.c 2005-07-10 08:29:28.936310365 +0200
10 @@ -1117,6 +1117,8 @@
11 int res;
12 char *str_ptr;
13
14 + return 1;
15 +
16 if (access(codedpath, R_OK) != 0) {
17 free(codedpath);
18 return 0;
19
20 Alexander Skwar
21 --
22 4 Out of memory, 0:1
23 --
24 gentoo-user@g.o mailing list