delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/10/21:19:31

Message-ID: <3AD3B125.6E673777@lps.u-psud.fr>
Date: Tue, 10 Apr 2001 18:19:33 -0700
From: Daniel Taupin <taupin AT lps DOT u-psud DOT fr>
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp AT delorie DOT com
Subject: Problems with locate.exe
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)
------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019