Mail Archives: djgpp/2001/04/11/08:16:35
Daniel Taupin <taupin AT lps DOT u-psud DOT fr> wrote:
> Finally, I find out thet locate.exe works perfectly... when the
> database is not too big. In fact, when I run
> updatedb c:/ (where c: is a 34 Gigabyte disk with a lot of files)
> then locate crashes with a page fault. But, when I run updatedb on a
> limited number of files, it runs OK. I shall look whether I'm able to
> correct that.
From reading the gnu.utils.bug newsgroup, I seem to remember a bug in
locate having been noticed by others, too. It occurs with certain very
long paths, i.e. it's not the total size of the locatedb, but rather the
length of a single full pathname contained in it. To check, try
locate "*"
this output all files in the locatedb. It should crash right at the offending
file, then.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -