delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/27/08:19:16

X-Authentication-Warning: new-smtp2.ihug.com.au: Host p32-max15.syd.ihug.com.au [203.173.154.96] claimed to be acceleron
Message-ID: <001d01c12ef1$ca2a4b50$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Mark E." <snowball3 AT bigfoot DOT com>
Cc: <djgpp-workers AT delorie DOT com>, "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Subject: Re: Bash 2.05 beta 23-Aug-2001 with Win 2K
Date: Mon, 27 Aug 2001 21:53:00 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Reply-To: djgpp-workers AT delorie DOT com

Mark,

Sorry, looks like I was a bit premature in indicatign that Bash did not
crash. I rebuilt Bash and re-installed Grep sources and tried again and this
time it crashed again. I need to do some more testing and try to figure out
what is going on!!!!

Andrew

> > > Just got a few minutes to rebuild Bash from the updated sources and
this
> is
> > > what I found:
> >
> > Thanks. Try replacing the current version of array_putc with this one:
> >
> > static void
> > array_putc(struct dynamic_array *array, const char ch)
> > {
> >   if (array->ptr >= array->end)
> >     array_resize(array);
> >   *(array->ptr) = ch;
> >   ++(array->ptr);
> >   *(array->ptr) = '\0';
> > }
>
> Thanks for this try. Bash now works with an array_size of 64, which
> perviously crashed without the change and Bash now does not crash.
Tomorrow
> night I can start to look at the configuration issue.
>
> Thanks for this. One less problem to worry about.
>
> Andrew


- Raw text -


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