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" To: "Mark E." Cc: , "Charles Sandmann" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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