Gentoo Archives: gentoo-dev

From: Ayelet Goldin <un_creative@×××××.com>
To: gentoo-dev@××××××××××.org
Subject: [gentoo-dev] locate/updatedb
Date: Tue, 31 Jul 2001 23:28:49
Message-Id: 20010801052851.74730.qmail@web14404.mail.yahoo.com
1 Hi,
2
3 at least on my computer locate used to segfault every
4 time i would try to locate something..
5 i searched among different distributions for patches..
6 (because i don't feel like trying to trace their C
7 code) and slackware's patch works.
8
9 in case anyone is interested,
10 what i did is:
11 in the src_unpack i have:
12 unpack ${A}
13 echo "Applying Patch..."
14 cd ${S}
15 zcat
16 /usr/portage/sys-apps/findutils/findutils-4.1.diff.gz
17 | patch -p1 -E #Slackware patch
18
19 findutils-4.1.diff.gz is attached to this email.
20 (and can also be found in the slackware source tree
21 ftp://ftp.slackware.com/pub/slackware/slackware-8.0/source/a/find/
22 )
23 (and locate doesn't segfault :-)
24
25 __________________________________________________
26 Do You Yahoo!?
27 Make international calls for as low as $.04/minute with Yahoo! Messenger
28 http://phonecard.yahoo.com/

Attachments

File name MIME type
findutils-4.1.diff.gz application/x-unknown

Replies

Subject Author
Re: [gentoo-dev] locate/updatedb Dan Armak <ermak@×××××××××××××.il>