Message-ID: <3AD3CA93.4DA31C76@lps.u-psud.fr> Date: Tue, 10 Apr 2001 20:08:03 -0700 From: Daniel Taupin X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii , djgpp AT delorie DOT com Subject: locate.exe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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. Anyway, the *char value read_pos is incremented WITHOUT any check in getline.c, so that if for some reason ia line is huge, the crash is very likely. -- ------------------------------------------------------------------------- Daniel Taupin, 841 Seale, Palo Alto, Calif. 94301, USA 001.650.3257703 (jusqu'au 22 avril 2001) ------------------------------------------------------------------------