| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 11 Apr 2001 12:23:18 +0300 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | Daniel Taupin <taupin AT lps DOT u-psud DOT fr> |
| Message-Id: | <2561-Wed11Apr2001122318+0300-eliz@is.elta.co.il> |
| X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 |
| CC: | djgpp AT delorie DOT com |
| In-reply-to: | <3AD3B125.6E673777@lps.u-psud.fr> (message from Daniel Taupin on |
| Tue, 10 Apr 2001 18:19:33 -0700) | |
| Subject: | Re: Problems with locate.exe |
| References: | <3AD3B125 DOT 6E673777 AT lps DOT u-psud DOT fr> |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Tue, 10 Apr 2001 18:19:33 -0700
> From: Daniel Taupin <taupin AT lps DOT u-psud DOT fr>
>
> 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?
How about: ``please give more details''?
For example: what is the values of read_pos and *lineptr when it
crashes? What is nchars_avail? What is the value of *n?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |