Message-ID: <3AD3B125.6E673777@lps.u-psud.fr> Date: Tue, 10 Apr 2001 18:19:33 -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: Problems with locate.exe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com In order to find out why the locate.exe I got 2 days ago from simtel crashes, I did recompile it, afeter getting the complete source ofr find41s.zip 1. I performed make in the "lib" subdirectory, in the "find" subdirectory and then in the "locate" subdirectory. 2. Then (inder bash) ./updatedb c:/ works OK 3. But locate still crashes, regardless I use tje new generated locatedb.dat or the previous one. 4. Since the source have the -g option, symify is meaningful and it says that the error occurs at line 104 of getline.c i.e. if (c == EOF || ferror (stream)) { /* Return partial line, if any. */ if (read_pos == *lineptr) return -1; else break; } *read_pos++ = c; <- here is the crash (page fault) nchars_avail--; if (c == terminator) /* Return the line. */ break; Question: what do you say now? Remember: I have Windows ME and \djgpp\bin is now the first item in my PATH. -- ------------------------------------------------------------------------- Daniel Taupin, 841 Seale, Palo Alto, Calif. 94301, USA 001.650.3257703 (jusqu'au 22 avril 2001) ------------------------------------------------------------------------