Mail Archives: djgpp/2001/04/10/21:19:31
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)
------------------------------------------------------------------------
- Raw text -